Skip to content

Commit

Permalink
Continued framework for B instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidharrishmc committed Jan 20, 2023
1 parent a968ae2 commit 3d13683
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions pipelined/testbench/testbench.sv
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ logic [3:0] dummy;
"wally32periph": tests = wally32periph;
"embench": tests = embench;
"coremark": tests = coremark;
"arch32ba": if (`ZBA_SUPPORTED) tests = arch32ba;
endcase
end
if (tests.size() == 0) begin
Expand Down
8 changes: 8 additions & 0 deletions pipelined/testbench/tests.vh
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,14 @@ string imperas32f[] = '{
"rv32i_m/Zifencei/src/Fencei.S"
};

string arch32ba[] = '{
`RISCVARCHTEST,
// *** unclear why add.uw isn't in the list
"rv64i_m/B/src/sh1add-01.S",
"rv64i_m/B/src/sh1add-02.S",
"rv64i_m/B/src/sh1add-013.S"
};

string arch64m[] = '{
`RISCVARCHTEST,
"rv64i_m/M/src/div-01.S",
Expand Down
2 changes: 1 addition & 1 deletion tests/riscof/spike/spike_rv32imc_isa.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hart_ids: [0]
hart0:
ISA: RV32IMAFDCZicsr_Zifencei
ISA: RV32IMAFDCZicsr_Zifencei_Zba_Zbb_Zbc_Zbs
physical_addr_sz: 32
User_Spec_Version: '2.3'
supported_xlen: [32]
Expand Down
2 changes: 1 addition & 1 deletion tests/riscof/spike/spike_rv64gc_isa.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hart_ids: [0]
hart0:
ISA: RV64IMAFDCSUZicsr_Zifencei
ISA: RV64IMAFDCSUZicsr_Zifencei_Zba_Zbb_Zbc_Zbs
physical_addr_sz: 56
User_Spec_Version: '2.3'
supported_xlen: [64]
Expand Down

0 comments on commit 3d13683

Please sign in to comment.