Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VHDL constant declaration

Status
Not open for further replies.

richardian

Technical User
Mar 30, 2009
1
US
Hi Everyone. I am new to VHDL and am having a difficult time initializing a 544 bit register. The data type is std_logic_vector. Currently it is set to all '1's using the statement:

constant One544 : std_logic_vector(543 downto 0) := (others => '1');

I need to set the upper 32 bits to a unique pattern and the rest of the bits to '1'. How do I do this?

Regards,
Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top