mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixing paths in wally-setup.sh
This commit is contained in:
parent
193885c958
commit
001c39d8eb
@ -49,6 +49,5 @@ module privdec (
|
|||||||
assign IllegalPrivilegedInstrM = PrivilegedM & ~(uretM|sretM|mretM|ecallM|ebreakM|wfiM|sfencevmaM);
|
assign IllegalPrivilegedInstrM = PrivilegedM & ~(uretM|sretM|mretM|ecallM|ebreakM|wfiM|sfencevmaM);
|
||||||
assign IllegalInstrFaultM = (IllegalIEUInstrFaultM & IllegalFPUInstrM) | IllegalPrivilegedInstrM | IllegalCSRAccessM | TrappedSRETM; // *** generalize this for other instructions
|
assign IllegalInstrFaultM = (IllegalIEUInstrFaultM & IllegalFPUInstrM) | IllegalPrivilegedInstrM | IllegalCSRAccessM | TrappedSRETM; // *** generalize this for other instructions
|
||||||
|
|
||||||
// *** initially, wfi and sfencevma are nop
|
// *** initially, wfi is nop
|
||||||
// *** zfenci extension?
|
|
||||||
endmodule
|
endmodule
|
||||||
|
@ -144,11 +144,9 @@ module privileged (
|
|||||||
|
|
||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
// decode privileged instructions
|
// decode privileged instructions
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
//privdec pmd(.InstrM(InstrM[31:20]),.*);
|
|
||||||
privdec pmd(.InstrM(InstrM[31:20]),
|
privdec pmd(.InstrM(InstrM[31:20]),
|
||||||
.PrivilegedM, .IllegalIEUInstrFaultM, .IllegalCSRAccessM, .IllegalFPUInstrM, .TrappedSRETM,
|
.PrivilegedM, .IllegalIEUInstrFaultM, .IllegalCSRAccessM, .IllegalFPUInstrM, .TrappedSRETM,
|
||||||
.PrivilegeModeW, .STATUS_TSR, .IllegalInstrFaultM,
|
.PrivilegeModeW, .STATUS_TSR, .IllegalInstrFaultM,
|
||||||
.uretM, .sretM, .mretM, .ecallM, .ebreakM, .wfiM, .sfencevmaM);
|
.uretM, .sretM, .mretM, .ecallM, .ebreakM, .wfiM, .sfencevmaM);
|
||||||
|
@ -10,17 +10,23 @@ echo "Executing wally-setup.sh"
|
|||||||
export RISCV=/opt/riscv # change this if you installed the tools in a different location
|
export RISCV=/opt/riscv # change this if you installed the tools in a different location
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
export PATH=$RISCV/riscv-gnu-toolchain/bin:$RISCV/riscv-gnu-toolchain/riscv64-unknown-elf/bin:$PATH # GCC tools
|
# GCCZ
|
||||||
export PATH=~/riscv-wally/bin:$PATH # exe2memfile; change this if riscv-wally isn't at your home directory
|
|
||||||
export PATH=/cad/mentor/questa_sim-2021.2_1/questasim/bin:$PATH # Change this for your path to Modelsim
|
|
||||||
export PATH=/usr/local/bin/verilator:$PATH # Change this for your path to Verilator
|
|
||||||
export LD_LIBRARY_PATH=$RISCV/riscv-gnu-toolchain/lib:$RISCV/riscv-gnu-toolchain/riscv64-unknown-elf/lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$RISCV/riscv-gnu-toolchain/lib:$RISCV/riscv-gnu-toolchain/riscv64-unknown-elf/lib:$LD_LIBRARY_PATH
|
||||||
|
export PATH=$RISCV/riscv-gnu-toolchain/bin:$RISCV/riscv-gnu-toolchain/riscv64-unknown-elf/bin:$PATH # GCC tools
|
||||||
export MGLS_LICENSE_FILE=1717@solidworks.eng.hmc.edu # *** is this the right license server now
|
# Spike
|
||||||
|
export LD_LIBRARY_PATH=$RISCV/lib:$LD_LIBRARY_PATH
|
||||||
|
export PATH=$RISCV/bin:$LD_LIBRARY_PATH
|
||||||
|
# exe2memfile
|
||||||
|
export PATH=~/riscv-wally/bin:$PATH # exe2memfile; change this if riscv-wally isn't at your home directory
|
||||||
|
# Verilator
|
||||||
|
export PATH=/usr/local/bin/verilator:$PATH # Change this for your path to Verilator
|
||||||
|
# ModelSim/Questa (vsim)
|
||||||
|
export PATH=/cad/mentor/questa_sim-2021.2_1/questasim/bin:$PATH # Change this for your path to Modelsim
|
||||||
|
export MGLS_LICENSE_FILE=1717@solidworks.eng.hmc.edu # Change this to your Siemens license server
|
||||||
|
|
||||||
# Imperas; *** remove if not using
|
# Imperas; *** remove if not using
|
||||||
PATH=/cad/riscv/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64:/cad/riscv/imperas-riscv-tests/riscv-ovpsim/bin/Liux64:$PATH # *** maybe take this out based on Imperas
|
export PATH=/cad/riscv/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64:/cad/riscv/imperas-riscv-tests/riscv-ovpsim/bin/Liux64:$PATH # *** maybe take this out based on Imperas
|
||||||
export LD_LIBRARY_PATH=/cad/imperas/Imperas.20200630/bin/Linux64:$LD_LIBRARY_PATH # remove if no imperas
|
export LD_LIBRARY_PATH=/cad/imperas/Imperas.20200630/bin/Linux64:$LD_LIBRARY_PATH # remove if no imperas
|
||||||
IMPERAS_HOME=/cad/imperas/Imperas.20200630
|
export IMPERAS_HOME=/cad/imperas/Imperas.20200630
|
||||||
source $IMPERAS_HOME/bin/setup.sh
|
source $IMPERAS_HOME/bin/setup.sh
|
||||||
setupImperas $IMPERAS_HOME
|
setupImperas $IMPERAS_HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user