Sign in
foss-fpga-tools
/
python-symbiflow-v2x
/
037d50d09362cdcec5a109e8509a743f787f0e90
/
.
/
tests
/
clocks
/
dff_one_clock
/
dff_one_clock.sim.v
blob: d6e2c394660cfe2da3a0f45403f7958fd3bdebbe [
file
]
/*
* `input wire a` should be detected as a clock because it drives the flip
* flop.
*/
module
BLOCK
(
a
,
b
,
c
);
input wire a
;
input wire b
;
output wire c
;
reg r
;
always
@
(
posedge a
)
begin
r
<=
b
;
end
assign c
=
r
;
endmodule