diff --git a/bin/lint-wally b/bin/lint-wally index cc658edc6..f88abbb0f 100755 --- a/bin/lint-wally +++ b/bin/lint-wally @@ -26,7 +26,10 @@ fi for config in ${configs[@]}; do # echo "$config linting..." - if !($verilator --lint-only --quiet --top-module wallywrapper "-I$basepath/config/shared" "-I$basepath/config/$config" "-I$basepath/config/deriv/$config" $basepath/src/cvw.sv $basepath/testbench/wallywrapper.sv $basepath/src/*/*.sv $basepath/src/*/*/*.sv --relative-includes ); then + if !($verilator --lint-only --quiet --top-module wallywrapper \ + "-I$basepath/config/shared" "-I$basepath/config/$config" "-I$basepath/config/deriv/$config" \ + $basepath/src/cvw.sv $basepath/testbench/wallywrapper.sv $basepath/src/*/*.sv $basepath/src/*/*/*.sv \ + -Wall -Wno-UNUSEDSIGNAL -Wno-UNUSEDPARAM -Wno-VARHIDDEN -Wno-GENUNNAMED -Wno-PINCONNECTEMPTY); then if [ "$1" == "-nightly" ]; then echo -e "${RED}$config failed lint${NC}" fails=$((fails+1)) diff --git a/src/ieu/kmu/packer.sv b/src/ieu/kmu/packer.sv index fcf2f9eef..ac44916d7 100644 --- a/src/ieu/kmu/packer.sv +++ b/src/ieu/kmu/packer.sv @@ -26,7 +26,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////// module packer #(parameter WIDTH=32) ( - input logic [WIDTH-1:0] A, B, + input logic [WIDTH/2-1:0] A, B, input logic [2:0] PackSelect, output logic [WIDTH-1:0] PackResult ); diff --git a/src/ieu/kmu/zbkb.sv b/src/ieu/kmu/zbkb.sv index bd0048526..fb2ac1a00 100644 --- a/src/ieu/kmu/zbkb.sv +++ b/src/ieu/kmu/zbkb.sv @@ -42,7 +42,7 @@ module zbkb #(parameter WIDTH=32) ( for (j=0; j<8; j=j+1) assign Brev8Result[i*8+j] = A[i*8+7-j]; - packer #(WIDTH) pack(.A, .B, .PackSelect({ZBKBSelect[2], Funct3[1:0]}), .PackResult); + packer #(WIDTH) pack(.A(A[WIDTH/2-1:0]), .B(B[WIDTH/2-1:0]), .PackSelect({ZBKBSelect[2], Funct3[1:0]}), .PackResult); zipper #(WIDTH) zipper(.A, .ZipSelect(Funct3[2]), .ZipResult); // ZBKB Result Select Mux