1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2025-06-26 04:12:31 +00:00
Files
Cursor/Libs/Sequential/hdl/registerLogicVector_sim.vhd
Rémi Heredero c7ba678fbb Initial commit
2021-11-24 10:50:51 +01:00

17 lines
344 B
VHDL

ARCHITECTURE sim OF registerLogicVector IS
BEGIN
registerData: process(reset, clock)
begin
if reset = '1' then
dataOut <= (others => '0') after delay;
elsif rising_edge(clock) then
if enable = '1' then
dataOut <= dataIn after delay;
end if;
end if;
end process registerData;
END ARCHITECTURE sim;