-
Notifications
You must be signed in to change notification settings - Fork 40
Padfunctional module with PU/PD signal control #18
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
base: master
Are you sure you want to change the base?
Conversation
niwis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! A few comments from my side.
src/fpga/pad_functional_xilinx.sv
Outdated
| module pad_functional_pd | ||
| ( | ||
| input logic OEN, | ||
| input logic I, | ||
| output logic O, | ||
| input logic PEN, | ||
| inout logic PAD | ||
| ); | ||
|
|
||
| IOBUF iobuf_i ( | ||
| .T ( OEN ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a redefinition of line 12. I guess this module definition should therefore be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, there was an error on the name by copy and paste. It is "pad_functional" as in the deprecated module. I've fixed it
src/deprecated/pad_functional.sv
Outdated
| OEN I PAD PEN | PAD O | ||
| | | ||
| 0 0 - 0/1 | 0 0 | ||
| 0 1 - 0/1 | 1 1 | ||
| 1 0/1 0 0/1 | - 0 | ||
| 1 0/1 1 0/1 | - 1 | ||
| 1 0/1 Z 0 | H H | ||
| 1 0/1 Z 1 | - X |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you extend this table by the new input?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I've updated it now
Co-authored-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
I put a padfunctional module with PU and PD signal control.
It might be useful to wrap tecnological pads.