1
0
SEm-Labos/Libs/RiscV/HEIRV32/hdl/bufferUnsignedEnable_rtl.vhd
github-classroom[bot] d212040c30
Initial commit
2024-02-23 13:01:05 +00:00

17 lines
296 B
VHDL

ARCHITECTURE rtl OF bufferUnsignedEnable IS
BEGIN
buffering:process(rst, CLK)
begin
if rst = '1' then
out1 <= (others=>'0') after g_tPC;
elsif rising_edge(CLK) then
if EN = '1' then
out1 <= in1 after g_tPC;
end if;
end if;
end process buffering;
END ARCHITECTURE rtl;