Updated ModelSim Files
This commit is contained in:
1 parent
900b544bc6
commit
00167dabc8
7 files changed
+31
-40
No files matched your search
+3
-3
@@ -1,8 +1,8 @@
|
||||
`ifndef SHIFTER_H_SV
|
||||
`define SHIFTER_H_SV
|
||||
module shifter #(width=8)(input logic [2:0] op,
|
||||
input logic[width-1:0] A, input logic[width-1:0] C, input logic[$clog2(width)-1:0] B,
|
||||
output logic[width-1:0] OUT_1);
|
||||
module shifter #(width=2)(input logic [2:0] op,
|
||||
input logic[2**width-1:0] A, input logic[2**width-1:0] B, input logic[width-1:0] C,
|
||||
output logic[2**width-1:0] OUT_1);
|
||||
|
||||
always_comb begin
|
||||
case (op)
|
||||
|
||||
Reference in new issue
Block a user