How do I import freechips & rocket-chip? #3394
Unanswered
pepper-lees
asked this question in
Q&A
Replies: 1 comment 4 replies
|
This line might be relevant https://github.com/ucb-bar/chipyard/blob/ca9e132bc61950f4d5e06b191316097a1642d641/build.sbt#L121 freechips is a package name, and things (e.g. directory name) in build.sbt can be irrelevant to the package name; When you added rocket-chip as your dependency, freechips package will be there. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm starting out with the chisel template and I'm trying to make a RoCC accelerator. But when I try to import freechips.rocketchip (since I need to import LazyRoCC, LazyRoCCModuleImp, etc.):
I get an error
not found: object freechips. I tried searching through documentation on how to add freechips as a dependency to the project, but couldn't find anything. I tried copying the freechips-related configs from build.sbt in chipyard, too, but there's a ton of variables in there which I don't think are relevant to my project. What's the right way to import freechips?All reactions