diff options
| author | Eddie Hung <eddie@fpgeh.com> | 2019-06-03 23:07:08 -0700 | 
|---|---|---|
| committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-03 23:07:08 -0700 | 
| commit | f81a0ed92e900604e77be01e92f1150c6c5cbde3 (patch) | |
| tree | ec4340838bfa3f53b3925cd15c861b6df56f1bf8 /tests | |
| parent | b6e59741ae6e4ec57affb9ab168a9d08cdb6d04f (diff) | |
| parent | 1217e47e83d099561fed933208621d0402cf0972 (diff) | |
| download | yosys-f81a0ed92e900604e77be01e92f1150c6c5cbde3.tar.gz yosys-f81a0ed92e900604e77be01e92f1150c6c5cbde3.tar.bz2 yosys-f81a0ed92e900604e77be01e92f1150c6c5cbde3.zip  | |
Merge remote-tracking branch 'origin/master' into xc7mux
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/simple/peepopt.v | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/simple/peepopt.v b/tests/simple/peepopt.v index b27b9fe57..1bf427897 100644 --- a/tests/simple/peepopt.v +++ b/tests/simple/peepopt.v @@ -2,6 +2,10 @@ module peepopt_shiftmul_0 #(parameter N=3, parameter W=3) (input [N*W-1:0] i, in  assign o = i[s*W+:W];  endmodule +module peepopt_shiftmul_1 (output y, input [2:0] w); +assign y = 1'b1 >> (w * (3'b110)); +endmodule +  module peepopt_muldiv_0(input [1:0] i, output [1:0] o);  wire [3:0] t;  assign t = i * 3;  | 
