ucb-bar / chipyard

An Agile RISC-V SoC Design Framework with in-order cores, out-of-order cores, accelerators, and more
https://chipyard.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
1.65k stars 653 forks source link

How can I add another AXI MMIO port in rocket chip environment? #1799

Open Sai-Manish opened 8 months ago

Sai-Manish commented 8 months ago

Background Work

Feature Description

Hello, I am currently exploring on how to add a AXI MMIO port to connect a device. Can anyone help me in this? And is it possible to change the AXI address from 31 bits to 64bits ?

Thanks and Regards, Sai Manish S

Motivating Example

Would like to add multiple AXI devices to rocket chip.

eric900115 commented 3 months ago

Hi,

If you want multiple AXI-based MMIO devices, the easiest way is to duplicate all the classes related to AXI_MMIO configuration. If you need a detailed example, feel free to let me know.