Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi,
The Ethernet preamble is 14 instances of 0x5 (binary 0101), for which you'll need 7 bytes. This can be written many different ways in VHDL, but to write it as hex use: x"55555555555555" which is interpreted as an unsigned vector. You could also write it as: 16#55555555555555# which is interpreted as an integer literal. Mark.