简体   繁体   中英

Adding uncore package to a Chisel project

There is a file rocc.scala in rocket repo which describes rocc interface, I want to build its verilog code and see the code. My problem is that I don't know how I can import other packages to my project such as "uncore. " or "Util. " and run SBT .

Right now for building a new project I just use build.sbt and chisel-dependent.sbt files located in chisel-tutorial/problems folder

Thanks

Although chisel may be unfamiliar, it will probably be much more readable than the verilog generated by it. If you are curious about the RoCC interface, I recommend checking out the slides from the last RISC-V workshop.

If you really want to look at the generated verilog for these components, I would actually recommend starting with the Rocket-Chip repo. From within that repo, clone the rocc-template and change to the sha3 branch . The Rocket-Chip repo will automatically detect the submodule, and attach it to the RoCC interface. You can also look at the template repo for an example of how to instantiate a project to be incorporated into Rocket-Chip.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM