取消
顯示結果 
搜尋替代 
您的意思是: 

Does "IO Module\Reinitialize" FPGA I/O NODE reset my block memory to default (as set on project explorer)

已解決!
前往解決方案

I would like to reset my block memory to all zeros (only once) when the FPGA code is run. In my past experiences, this was not done by the "IO Module\Initialization Done"  FPGA I/O NODE.  To alleviate this, I used a SCTL which runs through each address of the block memory and stores a zero. The approach works great, but I would like to save some space since we will be quadrupling the size of the code in a couple of months.

 

FPGA: 7954r

IO Module: 5761r

 

Thanks for looking!

 

ReinitializePost.png

0 積分
1 條訊息(共 4 條)
5,500 檢視
解決方案
接受者 Denn_Mann

Hey Denn_Mann,

 

You should be able to set your memory to initialize to zero in the Memory Properties. Here is a link that should help you out:

 

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgadialog/fpga_define_memory_db/

 

Hope This Helps,

 

Doug B

Applications Engineer
National Instruments
2 條訊息(共 4 條)
5,488 檢視

Hi Doug,

 

I had tried that in the past and didn't get it to work.  I guess I must have forgot to press "Apply."  It is now working.

 

Thank you so much for your help!

 

-Denn

0 積分
3 條訊息(共 4 條)
5,475 檢視

No problem, glad everything is up and running for you.

Applications Engineer
National Instruments
0 積分
4 條訊息(共 4 條)
5,468 檢視