1
0
SEm-Labos/06-07-08-09-SystemOnChip/Board/hdl/DFF_sim.vhd

15 lines
197 B
VHDL
Raw Normal View History

2024-02-23 13:01:05 +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;