Forum Discussion
2 Replies
- Altera_Forum
Honored Contributor
A for .. generate construct in the declarative part of the architecture or an initialisation function with a for loop iteration.
- Altera_Forum
Honored Contributor
you can also write literal values in hex (precede the literal with x):
my_long_slv <= x"123FFFAA"; another useful tip is you can put underscores in literals to separate groups of 4: my_slv <= "0001_0010_0011_1111_1111_1111_1010_1010"; my_slv <= x"123F_FFAA";