diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-09-04 12:37:48 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-09-04 12:37:48 -0700 |
commit | 229e54568e12b6ec26dfae1e5bf8597fc30d27c4 (patch) | |
tree | ea805848da3314c09b32c49a4ddcd233f9a07f75 /tests | |
parent | 3732d421c569a600535734fe63b862b6bc852b82 (diff) | |
parent | 2b86055848c396591c6ec693a8abd8826b300b2b (diff) | |
download | yosys-229e54568e12b6ec26dfae1e5bf8597fc30d27c4.tar.gz yosys-229e54568e12b6ec26dfae1e5bf8597fc30d27c4.tar.bz2 yosys-229e54568e12b6ec26dfae1e5bf8597fc30d27c4.zip |
Merge remote-tracking branch 'origin/eddie/peepopt_dffmuxext' into xc7dsp
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple/peepopt.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/simple/peepopt.v b/tests/simple/peepopt.v index 1bf427897..b4d113dba 100644 --- a/tests/simple/peepopt.v +++ b/tests/simple/peepopt.v @@ -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 |