Sign in
◑
Theme
foss-fpga-tools
/
python-symbiflow-v2x
/
88c3e320866a7f9a0fc94b3f454cb3af8cdb9b7c
/
.
/
tests
/
clocks
/
dff_comb_one_clock
/
dff_comb_one_clock.sim.v
blob: 52c7b083babaf10d377e972d5bd309b742c90fef [
file
]
/*
* `input wire a` should be detected as a clock because it drives the flip
* flop.
*/
module
block
(
a
,
b
,
c
,
d
);
input wire a
;
input wire b
;
input wire c
;
output wire d
;
reg r
;
always
@
(
posedge a
)
begin
r
<=
b
|
~
c
;
end
assign d
=
r
;
endmodule