mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
added bitmanip 64 tests to updated regression script
+ alu structural mux changes
This commit is contained in:
parent
5056eb404c
commit
4ecfa1bad3
@ -126,7 +126,7 @@ for test in ahbTests:
|
|||||||
grepstr="All tests ran without failures")
|
grepstr="All tests ran without failures")
|
||||||
configs.append(tc)
|
configs.append(tc)
|
||||||
|
|
||||||
tests64gc = ["arch64f", "arch64d", "arch64i", "arch64priv", "arch64c", "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv"]
|
tests64gc = ["arch64f", "arch64d", "arch64i", "arch64zba", "arch64zbb", "arch64zbc", "arch64zbs", "arch64priv", "arch64c", "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv"]
|
||||||
if (coverage): # delete all but 64gc tests when running coverage
|
if (coverage): # delete all but 64gc tests when running coverage
|
||||||
configs = []
|
configs = []
|
||||||
coverStr = '-coverage'
|
coverStr = '-coverage'
|
||||||
|
@ -77,7 +77,7 @@ module alu #(parameter WIDTH=32) (
|
|||||||
|
|
||||||
if (`ZBS_SUPPORTED) begin: zbsdec
|
if (`ZBS_SUPPORTED) begin: zbsdec
|
||||||
decoder #($clog2(WIDTH)) maskgen (B[$clog2(WIDTH)-1:0], MaskB);
|
decoder #($clog2(WIDTH)) maskgen (B[$clog2(WIDTH)-1:0], MaskB);
|
||||||
assign CondMaskB = (Mask) ? MaskB : B;
|
mux2 #(WIDTH) maskmux(B, MaskB, Mask, CondMaskB);
|
||||||
end else assign CondMaskB = B;
|
end else assign CondMaskB = B;
|
||||||
|
|
||||||
if (WIDTH == 64) begin
|
if (WIDTH == 64) begin
|
||||||
@ -89,9 +89,8 @@ module alu #(parameter WIDTH=32) (
|
|||||||
end
|
end
|
||||||
|
|
||||||
// shifter rotate source select mux
|
// shifter rotate source select mux
|
||||||
if (`ZBB_SUPPORTED) begin
|
if (`ZBB_SUPPORTED & WIDTH == 64) begin
|
||||||
if (WIDTH == 64) assign rotA = (W64) ? {A[31:0], A[31:0]} : A;
|
mux2 #(WIDTH) rotmux(A, {A[31:0], A[31:0]}, W64, rotA);
|
||||||
else assign rotA = A;
|
|
||||||
end else assign rotA = A;
|
end else assign rotA = A;
|
||||||
|
|
||||||
if (`ZBA_SUPPORTED) begin: zbamuxes
|
if (`ZBA_SUPPORTED) begin: zbamuxes
|
||||||
|
Loading…
Reference in New Issue
Block a user