- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello,
Can someone please tell me how I can reset the read & write address of an ALTSYNCRAM, Altera Megafunction?? I am simulating using ModelSim where I control the "aclr" using a register "reset_reg". I want the read/write address to be reset to '0' when the "reset_reg" goes high. Unfortunately, this doesn't seem to work at the moment and I don't know why. Any help would be very great!Link copiado
5 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Remember address is input to ram and it is up to your logic to reset it.
aclr, as I believe is the data reset of your ram.- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Kaz,
Yes, I understand your point. Initially, I tried to manually reset these addresses. But, I was not able to reset both "read address" & "write address" at the same time (clock). Only one of them reset. Again, I was not sure why? So, I saw an option in the Altera megafunction setup where I can mention which ports (read address, write address, read enable, etc) should be reset when "aclr" is triggered. This also has not worked.- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
post your reset code (process)
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Aha, I see your point. aclr can clear any register inside ram function. However you would not see that at input i.e. address going into ram. You better apply your own reset to the addresses since they are inputs to Ram
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks for the support Kaz, it worked now when I manually reset the addresses.
Cheers!
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora