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

Wishbone bus connection #2

Open
kabrodzki opened this issue May 24, 2020 · 4 comments
Open

Wishbone bus connection #2

kabrodzki opened this issue May 24, 2020 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@kabrodzki
Copy link
Collaborator

I created the branch wishbone_connection and commited there how I understand the buses should be connected.
Also, I'm not sure how the control_bus should be implemented for easy access and debugging - I tried to create my own SoC using this wrapper, but I get error from the Vivado's placer

ERROR: [Place 30-494] The design is empty
Resolution: Check if opt_design has removed all the leaf cells of your design.  Check whether you have instantiated and connected all of the top level ports.

Vivado is also complaining that the designs WishboneCSR and DMATop have unconnected ports.
Should I connect them differently? How?
AFAIK, the *stall signals aren't connected to anything when using the WishboneClassicReader/Writer in the original fastvdma, so I connected them to the constant 0.

@kabrodzki
Copy link
Collaborator Author

@kgugala @rw1nkler Any ideas?

@rw1nkler
Copy link

rw1nkler commented Jun 1, 2020

You are initializing the wrong class. It should be SoCCore.__init__()
https://gist.github.com/kabrodzki/d1e7bd3d963a67e25345a7fd99288547#file-test-py-L11

You can also provide vivado.log it should be generated in the build directory

@kabrodzki
Copy link
Collaborator Author

@rw1nkler So this appears to work, thanks. But still I am not sure how to implement the access to the internal CSR of the FastVDMA.

@kabrodzki kabrodzki reopened this Jun 2, 2020
@piotr-binkowski
Copy link

I think you should be able to access the CSRs using something like this but with slave=self.fastvdma.control and after adding that it should show up in LiteX memory map and you should be able to access it from the BIOS using mw/mr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants