Rocket Chip Generator (https://github.com/freechipsproject/rocket-chip)
1ac9f59b31
Right now there's no way to ensure that SCR addresses don't conflict within RocketChip. Since upstream only has one of them this isn't a big deal, but we want to add a whole bunch more to control all the IP on Hurricane. This patch adds some Scala code to allocate registers inside the SCR file, ensure they don't conflict, to provide names for SCRs, attach registers to the SCR file, and generate a C header file that contains the addresses of every SCR on a chip. With this patch we'll be able to get rid of that constant in the testbench. This also allows us to kill one of the Raven diffs, which is does pretty much the same thing (just in a second SCR file, and hacked in). |
||
---|---|---|
uncore |