1
0
SEm-Labos/zz-solutions/04-Lissajous/Board/hdl/DFF_sim.vhd

15 lines
197 B
VHDL
Raw Permalink Normal View History

2024-03-15 14:03:34 +00:00
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;