Sign in
◑
Theme
foss-fpga-tools
/
python-symbiflow-v2x
/
4d82d01a8360435cef0930bc938684563ec1b316
/
.
/
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