Comments (8)
Hi,
I think you need to import vexriscv.ip.fpu._
from vexriscv.
Hi, I tried doing it and it gives more errors when i use the command :sbt "runMain vexriscv.demo.VexRiscvAhbLite3"
[info] welcome to sbt 1.6.0 (Oracle Corporation Java 19.0.2)
[info] loading settings for project vexriscv-build from plugins.sbt ...
[info] loading project definition from /Users/vidushiyaksh/Desktop/VexRiscv/project
[info] loading settings for project root from build.sbt ...
[info] set current project to VexRiscv (in build file:/Users/vidushiyaksh/Desktop/VexRiscv/)
[info] running (fork) vexriscv.demo.VexRiscvAhbLite3
[info] [Runtime] SpinalHDL v1.9.3 git head : 029104c77a54c53f1edda327a3bea333f7d65fd9
[info] [Runtime] JVM max memory : 4096.0MiB
[info] [Runtime] Current date : 2023.10.18 16:32:41
[info] [Progress] at 0.000 : Elaborate components
[info] **********************************************************************************************
[info] [Warning] Elaboration failed (0 error).
[info] Spinal will restart with scala trace to help you to find the problem.
[info] **********************************************************************************************
[info] [Progress] at 0.231 : Elaborate components
[error] Exception in thread "main" java.lang.AssertionError: assertion failed: ??? vexriscv.plugin.DBusEncodingService
[error] at scala.Predef$.assert(Predef.scala:170)
[error] at spinal.core.package$.assert(core.scala:500)
[error] at vexriscv.Pipeline$class.service(Pipeline.scala:26)
[error] at vexriscv.VexRiscv.service(VexRiscv.scala:126)
[error] at vexriscv.plugin.FpuPlugin.setup(FpuPlugin.scala:175)
[error] at vexriscv.plugin.FpuPlugin.setup(FpuPlugin.scala:25)
[error] at vexriscv.Pipeline$$anonfun$build$2.apply(Pipeline.scala:47)
[error] at vexriscv.Pipeline$$anonfun$build$2.apply(Pipeline.scala:47)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
[error] at vexriscv.Pipeline$class.build(Pipeline.scala:47)
[error] at vexriscv.VexRiscv.build(VexRiscv.scala:126)
[error] at vexriscv.Pipeline$$anonfun$1.apply$mcV$sp(Pipeline.scala:161)
[error] at spinal.core.Component$$anonfun$prePop$1.apply(Component.scala:180)
[error] at spinal.core.Component$$anonfun$prePop$1.apply(Component.scala:178)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
[error] at spinal.core.Component.prePop(Component.scala:178)
[error] at spinal.core.Component.postInitCallback(Component.scala:187)
[error] at vexriscv.demo.VexRiscvAhbLite3$$anonfun$1.apply(VexRiscvAhbLite3.scala:145)
[error] at vexriscv.demo.VexRiscvAhbLite3$$anonfun$1.apply(VexRiscvAhbLite3.scala:25)
[error] at spinal.core.internals.PhaseCreateComponent$$anonfun$impl$67.apply(Phase.scala:2606)
[error] at spinal.core.fiber.Engine$$anonfun$create$1.apply$mcV$sp(AsyncCtrl.scala:147)
[error] at spinal.core.fiber.AsyncThread$$anonfun$1.apply$mcV$sp(AsyncThread.scala:59)
[error] at spinal.core.fiber.EngineContext$$anonfun$newJvmThread$1.apply$mcV$sp(AsyncCtrl.scala:39)
[error] at spinal.sim.JvmThread.run(SimManager.scala:51)
[error] Nonzero exit code returned from runner: 1
[error] (Compile / runMain) Nonzero exit code returned from runner: 1
The file with the import line :
AHBLITE3FPU.zip
from vexriscv.
Ahhh that's because the FPU only support the data cache, so you need to use DBusCachedPlugin instead of DBusSimplePlugin
from vexriscv.
I commented out lines 38 to 41 and lines 154 to 157 uncommented lines 61 to 73 and lines lines 164 to 169. It now gives me an error:[info] welcome to sbt 1.6.0 (Oracle Corporation Java 19.0.2)
[info] loading settings for project vexriscv-build from plugins.sbt ...
[info] loading project definition from /Users/vidushiyaksh/Desktop/VexRiscv/project
[info] loading settings for project root from build.sbt ...
[info] set current project to VexRiscv (in build file:/Users/vidushiyaksh/Desktop/VexRiscv/)
[info] compiling 1 Scala source to /Users/vidushiyaksh/Desktop/VexRiscv/target/scala-2.11/classes ...
[error] /Users/vidushiyaksh/Desktop/VexRiscv/src/main/scala/vexriscv/demo/VexRiscvAhbLite3.scala:145:7: ')' expected but 'val' found.
[error] val cpu = new VexRiscv(cpuConfig)
[error] ^
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 2 s, completed 18 Oct 2023, 16:42:14
VexRiscvAhbLite3.scala.zip
from vexriscv.
uncomment the 2 lines :
// memoryTranslatorPortConfig = null
...
// ),
from vexriscv.
another error: [info] welcome to sbt 1.6.0 (Oracle Corporation Java 19.0.2)
[info] loading settings for project vexriscv-build from plugins.sbt ...
[info] loading project definition from /Users/vidushiyaksh/Desktop/VexRiscv/project
[info] loading settings for project root from build.sbt ...
[info] set current project to VexRiscv (in build file:/Users/vidushiyaksh/Desktop/VexRiscv/)
[info] compiling 1 Scala source to /Users/vidushiyaksh/Desktop/VexRiscv/target/scala-2.11/classes ...
[error] /Users/vidushiyaksh/Desktop/VexRiscv/src/main/scala/vexriscv/demo/VexRiscvAhbLite3.scala:72:41: unknown parameter name: catchMemoryTranslationMiss
[error] catchMemoryTranslationMiss = true
[error] ^
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
VexRiscvAhbLite3.scala.zip
from vexriscv.
you can remove :
,
catchMemoryTranslationMiss = true
from vexriscv.
Thanks, it works.
from vexriscv.
Related Issues (20)
- RiscV Counters HOT 1
- compiling verilog code in verilator by Verilator 4.216 2021-12-05 rev v4.216 HOT 1
- VexRiscvAxi4LinuxPlicClint not respecting the AXI protocol HOT 20
- Unsupported compressed instruction on VexRiscvAxi4LinuxPlicClint.scala HOT 3
- Where are the CLINT and PLIC described? HOT 5
- sbt fail: [error] error while loading <root>, Error accessing... scalactic_2.11-3.2.5.jar HOT 4
- Read speed: dcache width impact 32bit vs 64bit HOT 10
- MAC custom instruction implementation HOT 1
- Interface BSCAN2 with VexRiscv's JTAG HOT 3
- Assertion when tracing the elaboration issue HOT 5
- Scratchpad memory with cached IBUS and DBUS? HOT 15
- Combinatorial loop with AhbLite3Decoder HOT 1
- Transfer data double times HOT 1
- Murax XIP compile issue HOT 11
- EmbeddedRiscvJtag synthesis issue HOT 7
- CPU exception signal HOT 3
- Regarding the result of dhrystone with TCM HOT 6
- debug HOT 1
- Fetch dosen't performed correctly in the simulation of Murax SOC.(+Custom instructions are executed in unexpected time.) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vexriscv.