blob: ec59b5c80372f3e2ca48714d5f8dd7d8ff6f73d5 [file]
/*
* `input wire a` should be detected as a clock because it drives the flip
* flop. However, it has the attribute CLOCK set to 0 which should force it
* to be a regular input.
*/
module BLOCK(a, b, c);
(* CLOCK=0 *)
input wire a;
input wire b;
output wire c;
reg r;
always @ ( posedge a ) begin
r <= b;
end
assign c = r;
endmodule