mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-06-26 12:22:31 +00:00
Initial commit
This commit is contained in:
16
Libs/Sequential/hdl/registerULogicVectorTo_RTL.vhd
Normal file
16
Libs/Sequential/hdl/registerULogicVectorTo_RTL.vhd
Normal file
@ -0,0 +1,16 @@
|
||||
ARCHITECTURE sim OF registerULogicVectorTo 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;
|
||||
|
Reference in New Issue
Block a user