Sign in
◑
Theme
foss-fpga-tools
/
python-symbiflow-v2x
/
8a3507d681ba8f0d6dc50ac71fc8715b2f0a0a97
/
.
/
tests
/
clocks
/
dff_comb_one_clock
/
dff_comb_one_clock.sim.v
blob: a1e60c214fb279d8cd7e5207ff07a8ac76d4753e [
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