mirror of https://github.com/YosysHQ/yosys.git
Add test
This commit is contained in:
parent
a576747483
commit
911a152b39
|
@ -268,7 +268,12 @@ assign o = { 1'b1, 1'bx };
|
||||||
assign p = { 1'b1, 1'bx, 1'b0 };
|
assign p = { 1'b1, 1'bx, 1'b0 };
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module abc9_test029(input clk1, clk2, input d, output reg q1, q2);
|
module abc9_test029(input clk1, clk2, d, output reg q1, q2);
|
||||||
always @(posedge clk1) q1 <= d;
|
always @(posedge clk1) q1 <= d;
|
||||||
always @(negedge clk2) q2 <= q1;
|
always @(negedge clk2) q2 <= q1;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
module abc9_test030(input clk, d, output reg q1, q2);
|
||||||
|
always @(posedge clk) q1 <= d;
|
||||||
|
always @(posedge clk) q2 <= q1;
|
||||||
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue