Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Hello In Verilog I got this code: cont <= 21'b0; oRST <= 1'b1; What does it mean in VHDL? --- Quote End --- In VHDL const would have to have 21 bits, eg., signal const : std_logic_vector(20 downto 0); and you'd assign all zeros to it using const <= (others => '0'); The signal oRST is a 1-bit signal, eg., signal oRST : std_logic; and you'd assign a 1 to it via oRST <= '1'; Cheers, Dave