mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-24 13:57:07 -04:00
Merge pull request #196 from kipmacsaigoren/zbc_optimize
bitmanip: simplify zbc input mux
This commit is contained in:
commit
4ca30a5435
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module zbc #(parameter WIDTH=32) (
|
|||
bitreverse #(WIDTH) brB(B, RevB);
|
||||
|
||||
mux3 #(WIDTH) xmux({RevA[WIDTH-2:0], {1'b0}}, RevA, A, ~Funct3[1:0], X);
|
||||
mux3 #(WIDTH) ymux({{1'b0}, RevB[WIDTH-2:0]}, RevB, B, ~Funct3[1:0], Y);
|
||||
mux2 #(WIDTH) ymux(RevB, B, ~Funct3[1], Y);
|
||||
|
||||
clmul #(WIDTH) clm(.X, .Y, .ClmulResult);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue