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

Enable 32 bit GPIO input #2

Closed
drtrigon opened this issue Oct 21, 2018 · 1 comment
Closed

Enable 32 bit GPIO input #2

drtrigon opened this issue Oct 21, 2018 · 1 comment

Comments

@drtrigon
Copy link

Based on YosysHQ/picorv32#92 I enhanced the design to 32 output pins as shown here (renamed leds[7:0] to outp[31:0]):
grafik
How to add a control register that allows to switch single bits from output to input? How to add input pin functionality?

@drtrigon drtrigon changed the title Enable 32 bit GPIO (including input) Enable 32 bit GPIO input Oct 28, 2018
@drtrigon
Copy link
Author

See YosysHQ/picorv32#96 (comment).

May be you can integrate this example into the repo as well in order to be helpful to others too?

However one question remains; Can you explain to me how to use the tri-state block? I placed and wired it - verification was ok but no bitstream could be generated, the result was an error.

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

1 participant