Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #52 from duncangraham-Imperas/v20200330.0
Browse files Browse the repository at this point in the history
Interrupt handling for simulataneous interrupts at same priority level and vector extension update to generate exception when rounding mode invalid : v20200330.0
  • Loading branch information
duncangraham-Imperas authored Mar 31, 2020
2 parents eb164ea + 947ab04 commit 70f39d7
Show file tree
Hide file tree
Showing 40 changed files with 1,178 additions and 419 deletions.
12 changes: 12 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ NOTE: X-commit messages below refer to git commits in the following
I-commit: https://github.com/riscv/riscv-isa-manual
V-commit: https://github.com/riscv/riscv-v-spec

- The priority order for handling simultaneous interrupts destined for the
same privilege level has been corrected (previously, these were handled so
that higher interrupt numbers were higher priority).
- Some Vector Extension issues have been corrected:
- All vector floating point instructions now generate Illegal Instruction
exceptions if the current rounding mode is invalid, even if those
instructions do not use the rounding mode.

Date 2020-March-13
Release 20200312.0
===

- Support for Debug mode has been added; see RISCV processor documentation for
more details.
- The priv_version parameter now includes a choice of 'master', which specifies
Expand Down
Binary file modified LICENSE.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ A Complete, Fully Functional, Configurable RISC-V Simulator
===

Author: Imperas Software, Ltd., using OVP Open Standard APIs
Date : 12 Mar 2020
Version: 20200312.0
Date : 30 Mar 2020
Version: 20200330.0
License: Model source included under Apache 2.0 open source license
License: Simulator riscvOVPsim licensed under Open Virtual Platforms (OVP) Fixed Platform Kits license
RISC-V Specifications currently supported:
Expand Down
Binary file modified bin/Linux64/riscvOVPsim.exe
Binary file not shown.
Binary file modified bin/Windows64/riscvOVPsim.exe
Binary file not shown.
Binary file modified doc/OVP_Model_Specific_Information_riscv_RV64GCV.pdf
Binary file not shown.
Binary file modified doc/riscvOVPsim_User_Guide.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/CoreMark/RUN_RV32_CoreMark.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/bitmanip/RUN_RV64GC_BITMANIP_EXAMPLE.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/dhrystone/DEBUG_GDB_RV32_dhrystone.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)

Expand Down
2 changes: 1 addition & 1 deletion examples/dhrystone/RUN_RV32_dhrystone.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/dhrystone/RUN_RV64_dhrystone.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/fibonacci/RUN_RV32_fibonacci.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/fibonacci/RUN_RV64_fibonacci.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/fibonacci/RUN_RV64_fibonacci_signature_dump.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/linpack/RUN_RV32_linpack.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
2 changes: 1 addition & 1 deletion examples/vector/RUN_RV64GC_VECTOR_EXAMPLE.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)
bindir=$(dirname $(dirname $(pwd)))/bin/Linux64
Expand Down
1 change: 0 additions & 1 deletion source/riscvAttrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ const vmiIASAttr modelAttrs = {
.wrAbortExceptCB = riscvWrAbortExcept,
.ifetchExceptCB = riscvIFetchExcept,
.arithResultCB = riscvArithResult,
.icountExceptCB = riscvStepExcept,

////////////////////////////////////////////////////////////////////////
// PARAMETER SUPPORT ROUTINES
Expand Down
4 changes: 2 additions & 2 deletions source/riscvBus.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ void riscvNewRootBusPorts(riscvP riscv) {
riscvBusPortPP tail = &riscv->busPorts;
Uns32 xlen = riscvGetXlenArch(riscv);
Uns32 min = 32;
Uns32 max = (xlen==32) ? RISCV_PMP_BITS_32 : RISCV_PMP_BITS_64;
Uns32 unset = max;
Uns32 unset = (xlen==32) ? RISCV_PMP_BITS_32 : RISCV_PMP_BITS_64;
Uns32 max = (xlen==32) ? RISCV_PMP_BITS_32 : 64;

// instruction port
newBusPort(
Expand Down
Loading

0 comments on commit 70f39d7

Please sign in to comment.