Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpio connection with Rocket Chip #173

Open
Uzair540 opened this issue Dec 24, 2020 · 2 comments
Open

gpio connection with Rocket Chip #173

Uzair540 opened this issue Dec 24, 2020 · 2 comments

Comments

@Uzair540
Copy link

Uzair540 commented Dec 24, 2020

I want to connect gpio with my rocket chip can you elaborate me which module of verilog I have to target ? These are the module list of generated verilog of rocket chip.
module AXI4Buffer
module AXI4UserYanker
module AXI4Deinterleaver
module AXI4IdIndexer
module TLToAXI4
module AXI4UserYanker_1
module AXI4Fragmenter
module AXI4IdIndexer_1
module AXI4UserYanker_2
module AXI4IdIndexer_2
module AXI4RAM
module AXI4Xbar
module AXI4Buffer_1
module AXI4Fragmenter_1
module AXI4RAM_1
module AXI4Xbar_1
module AXI4Buffer_2
module AXI4Fragmenter_2

@tamood
Copy link

tamood commented Dec 28, 2020

@Uzair540 Do not look into emitted Verilog listings. GPIO is connected to rocket-chip with HasPeripheralGPIO and HasPeripheralGPIOImp mix-ins.

@Uzair540
Copy link
Author

@tamood I have attached gpio block from sifive to my rocket chip.Can you help me how can I connect my gpio with rocket chip.As When I connect gpio and run rocket chip it is giving me I/O errors as I haven't connect them in code Just below
error
I have do the following steps
In ExampleRocketSystem I have made the following changes

error 1

And in Config subsystem file I made the following changes

error 2

If you help me How can I connect gpio So that my I/O reduces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants