Adding I2C and SPI flash to Design #1568
Unanswered
clikbait295
asked this question in
Q&A
Replies: 1 comment
-
Hi, the generators for I2C and SPI peripherals are taken from rocket-chip-blocks which are the former sifive-blocks. The peripherals are located inside: /chipyard/generators/sifive-blocks/src/main/scala/devices so you can have a look. There are several examples how they're included, but perhaps you can start from the appropriate documentation section. Try just substituting the GPIO for I2C for example like in the following config fragment definition where you have to add the address. Similarly you should do for the SPI flash. If you've already done so and you still get errors, you should either post them here or raise an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I'm a student trying to design my first ASIC, and I want to create a RISC-V microcontroller using a single Rocket core along with some RAM, external SPI flash and I2C capabilities.
I've been able to get RAM added onto the Rocket core, but I'm running into issues with adding external SPI flash and I2C. I've tried just adding it to the config file, but I'm running into errors. How would I go about doing this?
Beta Was this translation helpful? Give feedback.
All reactions