mirror of
https://github.com/SpinalHDL/VexRiscv.git
synced 2025-01-03 03:43:39 -05:00
remove DebugPlugin from linux.scala, and set static branch prediction
This commit is contained in:
parent
266bdccc2e
commit
b654d824ad
1 changed files with 4 additions and 4 deletions
|
@ -40,13 +40,13 @@ cd VexRiscv
|
||||||
Run regressions =>
|
Run regressions =>
|
||||||
sbt "runMain vexriscv.demo.LinuxGen -r"
|
sbt "runMain vexriscv.demo.LinuxGen -r"
|
||||||
cd src/test/cpp/regression
|
cd src/test/cpp/regression
|
||||||
make clean run IBUS=CACHED DBUS=CACHED DEBUG_PLUGIN=STD DHRYSTONE=yes SUPERVISOR=yes MMU=yes CSR=yes COMPRESSED=no MUL=yes DIV=yes LRSC=yes AMO=yes REDO=10 TRACE=no COREMARK=yes LINUX_REGRESSION=yes
|
make clean run IBUS=CACHED DBUS=CACHED DEBUG_PLUGIN=STD DHRYSTONE=yes SUPERVISOR=yes MMU=yes CSR=yes DEBUG_PLUGIN=no COMPRESSED=no MUL=yes DIV=yes LRSC=yes AMO=yes REDO=10 TRACE=no COREMARK=yes LINUX_REGRESSION=yes
|
||||||
|
|
||||||
Run linux in simulation (Require the machime mode emulator compiled in SIM mode) =>
|
Run linux in simulation (Require the machime mode emulator compiled in SIM mode) =>
|
||||||
sbt "runMain vexriscv.demo.LinuxGen"
|
sbt "runMain vexriscv.demo.LinuxGen"
|
||||||
cd src/test/cpp/regression
|
cd src/test/cpp/regression
|
||||||
export BUILDROOT=/home/miaou/pro/riscv/buildrootSpinal
|
export BUILDROOT=/home/miaou/pro/riscv/buildrootSpinal
|
||||||
make clean run IBUS=CACHED DBUS=CACHED DEBUG_PLUGIN=STD SUPERVISOR=yes CSR=yes COMPRESSED=no LRSC=yes AMO=yes REDO=0 DHRYSTONE=no LINUX_SOC=yes EMULATOR=../../../main/c/emulator/build/emulator.bin VMLINUX=$BUILDROOT/output/images/Image DTB=$BUILDROOT/board/spinal/vexriscv_sim/rv32.dtb RAMDISK=$BUILDROOT/output/images/rootfs.cpio WITH_USER_IO=yes TRACE=no FLOW_INFO=no
|
make clean run IBUS=CACHED DBUS=CACHED DEBUG_PLUGIN=STD SUPERVISOR=yes CSR=yes DEBUG_PLUGIN=no COMPRESSED=no LRSC=yes AMO=yes REDO=0 DHRYSTONE=no LINUX_SOC=yes EMULATOR=../../../main/c/emulator/build/emulator.bin VMLINUX=$BUILDROOT/output/images/Image DTB=$BUILDROOT/board/spinal/vexriscv_sim/rv32.dtb RAMDISK=$BUILDROOT/output/images/rootfs.cpio WITH_USER_IO=yes TRACE=no FLOW_INFO=no
|
||||||
|
|
||||||
Run linux with QEMU (Require the machime mode emulator compiled in QEMU mode)
|
Run linux with QEMU (Require the machime mode emulator compiled in QEMU mode)
|
||||||
export BUILDROOT=/home/miaou/pro/riscv/buildrootSpinal
|
export BUILDROOT=/home/miaou/pro/riscv/buildrootSpinal
|
||||||
|
@ -152,7 +152,7 @@ object LinuxGen {
|
||||||
new IBusCachedPlugin(
|
new IBusCachedPlugin(
|
||||||
resetVector = 0x80000000l,
|
resetVector = 0x80000000l,
|
||||||
compressedGen = false,
|
compressedGen = false,
|
||||||
prediction = NONE,
|
prediction = STATIC,
|
||||||
injectorStage = false,
|
injectorStage = false,
|
||||||
config = InstructionCacheConfig(
|
config = InstructionCacheConfig(
|
||||||
cacheSize = 4096*1,
|
cacheSize = 4096*1,
|
||||||
|
@ -267,7 +267,7 @@ object LinuxGen {
|
||||||
// wfiGenAsNop = true,
|
// wfiGenAsNop = true,
|
||||||
// ucycleAccess = CsrAccess.NONE
|
// ucycleAccess = CsrAccess.NONE
|
||||||
// )),
|
// )),
|
||||||
new DebugPlugin(ClockDomain.current.clone(reset = Bool().setName("debugReset"))),
|
// new DebugPlugin(ClockDomain.current.clone(reset = Bool().setName("debugReset"))),
|
||||||
new BranchPlugin(
|
new BranchPlugin(
|
||||||
earlyBranch = false,
|
earlyBranch = false,
|
||||||
catchAddressMisaligned = true,
|
catchAddressMisaligned = true,
|
||||||
|
|
Loading…
Reference in a new issue