Feb 8 2010, 06:28 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 10 Joined: 1-December 09 Member No.: 2,555 |
Hi,
I have the following code to initialize an array to zero: CODE float my_array[MAX]; for (i = 0; i < MAX; i++){ my_array[i] = 0; } The vhdl inferred performs the loop as coded. However, I'd like to reset the array instantly, with a reset signal. Is there any way to do this? Thanks in advance, Kind Regards, Diego. |
|
|
|
Diego How to initialize a Block RAM Feb 8 2010, 06:28 AM
etrexel [posting for Rob until he gets access to the forum... Feb 15 2010, 01:56 PM![]() ![]() |
| Lo-Fi Version | Time is now: 10th September 2010 - 11:35 AM |