mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-29 18:52:30 +00:00
Merge remote-tracking branch 'origin/eddie/peepopt_dffmuxext' into xc7dsp
This commit is contained in:
commit
229e54568e
4 changed files with 68 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue