3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-28 17:08:46 +00:00

Improve simplec back-end

This commit is contained in:
Clifford Wolf 2017-05-14 13:14:49 +02:00
parent 628daab277
commit 9c397ea78b
3 changed files with 49 additions and 3 deletions

View file

@ -1,7 +1,7 @@
module test(input [31:0] a, b, c, output [31:0] x, y, z);
module test(input [31:0] a, b, c, output [31:0] x, y, z, w);
unit_x unit_x_inst (.a(a), .b(b), .c(c), .x(x));
unit_y unit_y_inst (.a(a), .b(b), .c(c), .y(y));
assign z = a ^ b ^ c;
assign z = a ^ b ^ c, w = z;
endmodule
module unit_x(input [31:0] a, b, c, output [31:0] x);