Add peepopt_dffmuxext tests

This commit is contained in:
Eddie Hung 2019-09-04 12:34:44 -07:00
parent 3c462e5eeb
commit 0cee66e759
1 changed files with 8 additions and 0 deletions

View File

@ -11,3 +11,11 @@ wire [3:0] t;
assign t = i * 3;
assign o = t / 3;
endmodule
module peepopt_dffmuxext_signed(input clk, ce, input signed [1:0] i, output reg signed [3:0] o);
always @(posedge clk) if (ce) o <= i;
endmodule
module peepopt_dffmuxext_unsigned(input clk, ce, input [1:0] i, output reg [3:0] o);
always @(posedge clk) if (ce) o <= i;
endmodule