mirror of https://github.com/YosysHQ/yosys.git
Add testcase for signal used as part input part output
This commit is contained in:
parent
81548d1ef9
commit
74ea438136
|
@ -289,3 +289,8 @@ module abc9_test033(input clk, d, output reg q1, q2);
|
||||||
always @(posedge clk) q1 <= d;
|
always @(posedge clk) q1 <= d;
|
||||||
always @(posedge clk) q2 <= q1;
|
always @(posedge clk) q2 <= q1;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
module abc9_test034(input clk, d, output reg [1:0] q);
|
||||||
|
always @(posedge clk) q[0] <= d;
|
||||||
|
always @(negedge clk) q[1] <= q[0];
|
||||||
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue