yosys/tests/hana/test_intermout_exprs_add_te...

11 lines
194 B
Coq
Raw Normal View History

2013-01-05 04:13:26 -06:00
module test(out, in1, in2, vin1, vin2, vout1);
output out;
input in1, in2;
input [1:0] vin1;
input [2:0] vin2;
output [3:0] vout1;
assign out = in1 + in2;
assign vout1 = vin1 + vin2;
endmodule