1
0
mirror of synced 2026-01-12 00:42:47 +00:00
2020-05-02 14:22:37 -07:00

13 lines
207 B
Plaintext

read_verilog <<EOT
module test (
input signed [1:0] n,
output [3:0] dout
);
assign dout = n + 4'sd 4;
endmodule
EOT
alumacc
select -assert-count 1 t:$alu
equiv_opt -assert opt -fine