mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-13 09:26:16 +00:00
Add peepopt_dffmuxext tests
This commit is contained in:
parent
3c462e5eeb
commit
0cee66e759
1 changed files with 8 additions and 0 deletions
|
@ -11,3 +11,11 @@ wire [3:0] t;
|
||||||
assign t = i * 3;
|
assign t = i * 3;
|
||||||
assign o = t / 3;
|
assign o = t / 3;
|
||||||
endmodule
|
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…
Add table
Add a link
Reference in a new issue