add solutions
This commit is contained in:
14
zz-solutions/04-Lissajous/Board/hdl/DFF_sim.vhd
Normal file
14
zz-solutions/04-Lissajous/Board/hdl/DFF_sim.vhd
Normal file
@@ -0,0 +1,14 @@
|
||||
ARCHITECTURE sim OF DFF IS
|
||||
BEGIN
|
||||
|
||||
process(clk, clr)
|
||||
begin
|
||||
if clr = '1' then
|
||||
q <= '0';
|
||||
elsif rising_edge(clk) then
|
||||
q <= d;
|
||||
end if;
|
||||
end process;
|
||||
|
||||
END ARCHITECTURE sim;
|
||||
|
||||
Reference in New Issue
Block a user