Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

How to Simulate e300artydevkit? #168

Open
kvtam opened this issue Jan 6, 2021 · 0 comments
Open

How to Simulate e300artydevkit? #168

kvtam opened this issue Jan 6, 2021 · 0 comments

Comments

@kvtam
Copy link

kvtam commented Jan 6, 2021

I'm trying to simulate and generate waveforms for the e300artydevkit. I thought that editing the Makefrag to :

`MODEL ?= sifive.freedom.everywhere.e300srtydevkit

PROJECT ?= sifive.freedom.everywhere.e300artydevkit

CFG_PROJECT ?= $(PROJECT)

CONFIG ?= E300ArtyDevKitConfig
`
would help but I end up with

`[info] Set current project to rocketchip (in build file:/opt/freedom/rocket-chip/)

[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[info] Running sifive.freedom.everywhere.e300artydevkit.Generator /opt/freedom/rocket-chip/emulator/generated-src sifive.freedom.everywhere.e300artydevkit sifive.freedom.everywhere.e300srtydevkit sifive.freedom.everywhere.e300artydevkit E300ArtyDevKitConfig
[error] (run-main-0) java.lang.ClassNotFoundException: sifive.freedom.everywhere.e300artydevkit.Generator
[error] java.lang.ClassNotFoundException: sifive.freedom.everywhere.e300artydevkit.Generator
[error] at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:719)
[error] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
[error] at sbt.internal.inc.classpath.ClasspathFilter.loadClass(ClassLoaders.scala:70)
[error] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[error] at java.base/java.lang.Class.forName0(Native Method)
[error] at java.base/java.lang.Class.forName(Class.java:398)
[error] at sbt.Run.getMainMethod(Run.scala:98)
[error] at sbt.Run.run0(Run.scala:86)
[error] at sbt.Run.execute$1(Run.scala:65)
[error] at sbt.Run.$anonfun$run$4(Run.scala:77)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] at sbt.util.InterfaceUtil$$anon$1.get(InterfaceUtil.scala:10)
[error] at sbt.TrapExit$App.run(TrapExit.scala:252)
[error] at java.base/java.lang.Thread.run(Thread.java:834)
[error] java.lang.RuntimeException: Nonzero exit code: 1
[error] at sbt.Run$.executeTrapExit(Run.scala:124)
[error] at sbt.Run.run(Run.scala:77)
[error] at sbt.Defaults$.$anonfun$bgRunMainTask$6(Defaults.scala:1147)
[error] at sbt.Defaults$.$anonfun$bgRunMainTask$6$adapted(Defaults.scala:1142)
[error] at sbt.internal.BackgroundThreadPool.$anonfun$run$1(DefaultBackgroundJobService.scala:366)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] at scala.util.Try$.apply(Try.scala:209)
[error] at sbt.internal.BackgroundThreadPool$BackgroundRunnable.run(DefaultBackgroundJobService.scala:289)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:834)
[error] (Compile / runMain) Nonzero exit code: 1
[error] Total time: 2 s, completed Jan 7, 2021, 1:45:50 AM
Makefrag-verilator:12: recipe for target '/opt/freedom/rocket-chip/emulator/generated-src/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.fir' failed
make: *** [/opt/freedom/rocket-chip/emulator/generated-src/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.fir] Error 1
`
Thank you to anyone who can help me out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant