mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-06-26 04:12:31 +00:00
17 lines
344 B
VHDL
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;
|
|
|