Sign in
◑
Theme
foss-fpga-tools
/
python-symbiflow-v2x
/
b3d0fe3971c393a41e751e215ca24bf9130c03ac
/
.
/
tests
/
dff
/
sim.v
blob: bda1a493b64798c6e73338686510123652c3a6c8 [
file
]
(*
TYPE
=
"bel"
*)
(*
CLASS
=
"flipflop"
*)
module
dff
(
input clk
,
rst
,
d
,
output q
);
always
@(
posedge clk
)
if
(
rst
==
1
'b1)
q <= 1'
b0
;
else
q
<=
d
;
endmodule