mirror of https://github.com/YosysHQ/yosys.git
Add test
This commit is contained in:
parent
c27ab609fa
commit
c20adc5263
|
@ -148,3 +148,14 @@ generate
|
|||
endgenerate
|
||||
assign out = steps[WIDTH].outer[0].val;
|
||||
endmodule
|
||||
|
||||
// ------------------------------------------
|
||||
|
||||
module gen_test6(output [3:0] o);
|
||||
generate
|
||||
genvar i;
|
||||
for (i = 3; i >= 0; i = i-1) begin
|
||||
assign o[i] = 1'b0;
|
||||
end
|
||||
endgenerate
|
||||
endmodule
|
||||
|
|
Loading…
Reference in New Issue