mirror of https://github.com/YosysHQ/yosys.git
Add peepopt_dffmuxext tests
This commit is contained in:
parent
3c462e5eeb
commit
0cee66e759
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue