Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Hi experts - there must be an easy answer to this. For various reasons, in my code, and especially in my test bench, I have a lot (many dozens) of hard assignments (essentially gate-ROMs). If I just code them in-line, I have to scroll through lots and lots of line_xxxx when I browse for a signal in modelsim. But if I put all these hard assignments within a process(all), the simulator hangs(?). There's probably a better way to do this - what do you do? --- Quote End --- Since the contents of a ROM wouldn't change a single assignment to the signal would be all that is needed. I would code it like this...
process
begin
a <= '1';
b <= x0000";
... you get the point
wait; -- Unconditional wait. All of the signals have now been assigned
end process;
Kevin Jennings