Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
68 views

I'm buiding a single-core rocket chip, which use an Gemmini interface to do systollic array, and I use board Arty-Z7 to run demo on FPGA. My problem here is I don't know how to choose a suitable ...
NauQ's user avatar
  • 1
0 votes
0 answers
40 views

I am trying to configure an MMIO Peripheral (= MMIO Accelerator, 11page) consisting of a 4x4 NoC in Chipyard. In this process, I would like to insert a SystemVerilog-based NoC as a BlackBox. However, ...
asamorning's user avatar
2 votes
0 answers
87 views

I am trying to write data starting at a specific address (0x88000000) of the memory (simulated DRAM size is 256 MiB), once all data is written, the DMA unit is programmed using the MMIO registers. The ...
student_11's user avatar
0 votes
0 answers
57 views

I am trying to add a MMIO device to rocket-chip in chipyard and I want to use Tilelink interface. This MMIO device is intended to be a slave and the rocket-core as the master. For this, I created a ...
student_11's user avatar
0 votes
1 answer
108 views

While I am benchmarking my Rocketcore CPU, I encountered failed Coremark benchmarking. After some debug, I reduce the issue scope to unsuccessful global initialization of 0 value. In Coremark, it will ...
Jasminy's user avatar
  • 119
0 votes
1 answer
135 views

I tried to set up the rocket-chip generator environment. I cloned the git repository and updated the submodules as follows: $ git clone https://github.com/ucb-bar/rocket-chip.git $ cd rocket-chip $ ...
jangho an's user avatar
1 vote
0 answers
132 views

I've setup Chisel 5.0.0 and firtool as I explained in this other question. I also installed successfully mill and rocket-tools as instructed here and here. This prepared the stage for getting the ...
apaj's user avatar
  • 319
1 vote
1 answer
186 views

Here is the bug report: macros.compile scala.reflect.internal.FatalError: bad constant pool index: 0 at pos: 48461 while compiling: <no file> during phase: globalPhase=<no ...
季子墨's user avatar
0 votes
1 answer
219 views

I have 4 Rocket RISC-V cores and each are connected to 4 identical accelerators. What I am trying to do is to use multithreading to run all or some of the accelerators at the same time and compare the ...
student_11's user avatar
2 votes
1 answer
666 views

I am a beginner working with rocket chip generator for my project but I am not able to generate the verilog file for it and facing this error. I am using an apple M1 chip macOS. I started with cloning ...
Srishti Sharma's user avatar
0 votes
1 answer
225 views

I'm following the instructions in rocket-chip v1.6 to install and run rocket-chip. As mentioned there, I need to install rocket-tools first (it's not mentioned what version of rocket-tools is ...
Ali Abbasi's user avatar
0 votes
1 answer
544 views

Discussed in https://github.com/chipsalliance/rocket-chip/discussions/3492 Originally posted by AnuragMalwee September 20, 2023 Hi, I am building the rocket-chip project for the first time, and never ...
AGoodStudent's user avatar
0 votes
1 answer
164 views

I have installed rocket-chip and it needs chisel to compile i have also downloaded chisel , but when i run sbt test all the tests fail, am i doing something wrong . is there an alternative for sbt ...
saras's user avatar
  • 3
0 votes
1 answer
108 views

I am trying to create a simple module with tilelink client connected to modules output. How to do it? Have been trying to figure it out for 20 hours at this, I am completly lost. I am trying the ...
armleo's user avatar
  • 1
0 votes
1 answer
54 views

I am simulating baremetal executables on Rocket chip with verilator. When I use a large array like float a[3][224][224] the simulation in verilator will not work successfully. Here is my main.cpp: int ...
segmentKOBE's user avatar
0 votes
1 answer
44 views

Is there a way to wire RocketTile to a separate (external) reset signal, so that the tile can be held in reset while the rest of the system is active? The code seems to support a separate reset domain ...
Ben's user avatar
  • 324
0 votes
1 answer
162 views

I am currently working with the Rocket Chip repo to generate a 32-bit width microcontroller. I removed the debug module (The SimDTM or SimJTAG) for compiling on VCS 2014, so for debugging purpose I ...
Jasminy's user avatar
  • 119
0 votes
1 answer
203 views

I am trying to work on Rocketchip simulation with Verilator that comes within the Rocket Chip Generator repo. From my understanding, Verilator will first take the scala files (in ./src/main/scala/) ...
Jasminy's user avatar
  • 119
0 votes
1 answer
67 views

I'm working on a project where we need to modify a Rocket-chip core with new instructions. We're wondering: how does data width for load/store instructions is determined ? For instance, LB/LH/LU have ...
JohnDoe's user avatar
0 votes
1 answer
131 views

I am trying to integrate a RoCC accelerator with RocketChip / Chipyard. Given a virtual address, the accelerator should translate it to a physical address, read some data from memory and then start a ...
Jaypthomer's user avatar
1 vote
1 answer
370 views

I want to use rocket chip to generate a axi4crossbar with 2 slave ports and 1 master port, here is my chisel source code package empty import chipsalliance.rocketchip.config.{Config, Parameters} ...
xlgforever's user avatar
1 vote
0 answers
137 views

I recently started digging into the rocketchip generator because I want to use it for a project. I am really new to chisel and the way that RocketChip is generated. By now i figured out how I can ...
User4711's user avatar
1 vote
1 answer
102 views

I just learned about the scalar to study rocket chips. I see some strange codes in the Config.scala of Rocket-chip abstract class Field[T] private (val default: Option[T]) { def this() // 1st-this ...
astrohan's user avatar
2 votes
0 answers
296 views

I am trying to run multi-thread programs/benchmark in a rocket-chip SoC I generated from chipyard. I generated the TutorialConfig SoC given in https://fires.im/isca22-slides-pdf/...
sammy17's user avatar
  • 75
0 votes
1 answer
132 views

I am trying to add a custom instruction to a freedom e300 rocket-chip. The custom instruction is to perform an operation using the values of registers a0 to a7 that have been pre-loaded. (Load the ...
fuishi's user avatar
  • 1
1 vote
1 answer
2k views

I am trying to use PMP on a 16-byte region to protect a specific memory region. However, I am getting an instruction access fault when jumping to U mode when the PMP configuration is enabled. Details: ...
sammy17's user avatar
  • 75
0 votes
1 answer
481 views

I am trying to enable performance counters in the Rocket core. I don't see the implementation of mhpmevent3, mhpmevent4, mhpmcounter3, mhpmcounter4 in the RTL of the defaultConfig. I see that ...
sammy17's user avatar
  • 75
1 vote
1 answer
389 views

I'm trying to add a new blackboxed verilog module to the chipyard hardware generation framework and simulate it with verilator. My changes pass chipyard's scala compilation phase in which the chisel ...
benjaminou4412's user avatar
8 votes
1 answer
494 views

I'm a SW developer trying to understand configuration of the RISC-V Platform-Level Interrupt Controller (PLIC) that's in a rocket-chip derived SoC in an FPGA. Please correct me if my terminology is ...
Jens's user avatar
  • 73.3k
0 votes
1 answer
118 views

I am trying to write a 64 bit word to the MMIO register using the reg_write64 construct defined in mmio.h. Everything works fine as long as the wire that I map this register to in chisel land is not ...
CV_Ruddha's user avatar
  • 406
0 votes
1 answer
569 views

I'm trying to connect a PCIe device to a chipyard design using the existing edge overlay for the VCU118 (slightly modified because I'm using a different board but this should not matter). @michael-...
Santos's user avatar
  • 1
1 vote
1 answer
359 views

I initialized two registers in my accelerator like val one = RegInit(0.U(5.W)) val two = RegInit(0.U(5.W)) If I have loaded a data to my rs1(R-type instruction) in my C test code, I wanted to assign ...
Lei Niu's user avatar
  • 13
0 votes
0 answers
186 views

I am trying to write executable programs to simulate using Verilator, but it seems like I am doing something wrong, as even the most simple program doesn't seem to run on the TinyRocketConfig. The C ...
nachoge98's user avatar
0 votes
1 answer
409 views

I have successfully added and simulated my MMIO perihperal coupled to a normal sized rocket core before. But now I want to try to add it to a small core (so called TinyCore), and this is the part ...
nachoge98's user avatar
2 votes
1 answer
495 views

I am trying to build a minimal example, of how to generate an AXI4Stream interface using Chisel and diplomacy. I am using the diplomatic interface already available in rocket-chip (freechips....
Jure Vreča's user avatar
0 votes
1 answer
277 views

I want to run a program on Rocket core and observe all the signals in corresponding registers in GTKwave (e.g. PC, register file, ALU registers and wires etc.) However, the only I get (both in ...
Максим Рябко's user avatar
0 votes
1 answer
132 views

I'm basing this off of Rocket-chip's implementation of CLINT. I don't believe this is in the RISC-V spec but the notion of CLINT shows up in a lot of RISC-V cores, so I've included the tag. Currently, ...
metzkorn's user avatar
  • 355
1 vote
1 answer
1k views

I am trying to add an accelerator to the rocket chip framework through the MMIO peripheral. I went through the GCD example and was able to build the basic GCD code. I then replaced the GCD with an ...
CV_Ruddha's user avatar
  • 406
1 vote
1 answer
68 views

I'm attempting to do these rather large DMA transfers over the frontbus to memory. The frontbus is ready and no other clients are contending for the front bus at the moment this occurs. My AXI client ...
metzkorn's user avatar
  • 355
1 vote
1 answer
788 views

I followed the MMIO Peripherals page from the Chipyard documentation to learn about adding modules to rocket-chip within Chipyard framework - and all that seems to have worked pretty well. I summed up ...
apaj's user avatar
  • 319
2 votes
1 answer
757 views

I want to develop a generic AXI4 peripheral with Chisel. Can I use the Rocket-Chip's AMBA library for this purpose? I could only find the document in the link below on this subject; MMIO-Peripherals ...
overlord's user avatar
  • 499
0 votes
1 answer
154 views

I am trying to implement a Rocket chip SoC design; the SoC design will generate an AXI memory port by default. But I want to use the AHB memory port, and the Rocket chip doesn't have any configs for ...
anor's user avatar
  • 21
2 votes
0 answers
100 views

The chisel version I'm using is 3.2.2. When I try to create a Vec of member in a Bundle class, code is like, class myIOBundle extends GenericParameterizedBundle { val en = Vec(4, Output(Bool())) ...
hhhhy's user avatar
  • 21
2 votes
1 answer
98 views

I have a Module monit which has an parameter threshold , then I want to generate serval(e.g.8) Module monit in the wrapper with different threshold . But when I use val monits = Seq.fill(8)(Module(new ...
hanmeng's user avatar
  • 33
0 votes
0 answers
100 views

Hello I'm using the Rocket Chip repository with Rocket Tools and while running some of the test on different chip configurations I've found this counter-intuitive behavior. I have a default chip with ...
Nico's user avatar
  • 1
1 vote
1 answer
300 views

Context: I began using Chipyard about a month back to facilitate the building of a quick prototype using RISC-V cores on the VCU118. Chipyard was perfect, but required me to step up and learn Chisel ...
metzkorn's user avatar
  • 355
0 votes
1 answer
56 views

The PCIe overlay I'm attempting to invoke connects the two slave/manager nodes to a slaveSide IdentityNode like so: val slaveSide = TLIdentityNode() pcie.crossTLIn(pcie.slave) := slaveSide ...
metzkorn's user avatar
  • 355
0 votes
1 answer
217 views

I am having a device added to the rocket chip, it has its control & status registers and also an internal ram. To have the ability to access it with software I have added it into the regmap() in ...
user3567895's user avatar
1 vote
0 answers
1k views

I've downloaded the rocket-chip repo and the corresponding rocket-tools repo. Everything works just fine when I initially build everything. I've created my own tightly coupled accelerator for the AES ...
ttle's user avatar
  • 13
2 votes
2 answers
548 views

I was trying to understand the implementation of the AsyncQueue in the RocketChip , and quite puzzled by the use of option method on Boolean data type (not Option). In the code we have a parametr ...
user3567895's user avatar