Altera_Forum
Honored Contributor
15 years agoEfficient Firmware version control
Dear Gurus,
I've have two boards in my system using altera cyclone FPGAs and I want to be able to read the firmware version of each (from the PC controlling the system). The PC can read/write to 32 register addresses on each board. Currently I just use a VHDL entity version block entity VERSION_CONTROL is port ( VERSION : out STD_LOGIC_VECTOR(7 downto 0) ); end; architecture ARCH of VERSION_CONTROL is begin VERSION <= x"02"; end ARCH; output to a version register. Is there a more efficient way of storing constants (I'm relatively new to the VHDL/Altera world) rather than using valuable registers? I have seen TCL scripts to automate this process but this is currently above me. Yours Faithfully, H