Hi!
How can I fill large ROM memories in VHDL? Writing all values by hand seems quite a robust if large memory has to be intialized:
constant ROM: rom_array := (
"001010", "011010", "010111",
...
... --thousands of numbers
);
For example if values of a sin fuction needs to be initialized into a ROM, can I use some loop structure to calculate and initialize the values? Few tries has produced nothing but errors..
-Riika-
How can I fill large ROM memories in VHDL? Writing all values by hand seems quite a robust if large memory has to be intialized:
constant ROM: rom_array := (
"001010", "011010", "010111",
...
... --thousands of numbers
);
For example if values of a sin fuction needs to be initialized into a ROM, can I use some loop structure to calculate and initialize the values? Few tries has produced nothing but errors..
-Riika-