WIP: failed attempt to use many-input or gates

This commit is contained in:
2024-10-19 15:18:51 -07:00
parent 8dbdebb9ce
commit 7bb0331226
3 changed files with 11 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ reg LnR;
wire [31:0] Y;
integer reg_idx;
reg [`DATA_INDEX_LIMIT:0] result[0:63];
reg [`DATA_INDEX_LIMIT:0] result[0:123];
integer i, e;
integer no_of_test=0;
@@ -33,7 +33,7 @@ D=32'ha5a5a5a5;
S=32'h00000000;
LnR=1'b1; // left shift
for(i=1; i<33; i=i+1)
for(i=1; i<63; i=i+1)
begin
#5
no_of_test = no_of_test + 1;
@@ -51,7 +51,7 @@ end
#5 LnR=1'b0; // right shift
for(i=1; i<33; i=i+1)
for(i=1; i<63; i=i+1)
begin
#5
no_of_test = no_of_test + 1;