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

Padfunctional module with PU/PD signal control #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mattsini1
Copy link

I put a padfunctional module with PU and PD signal control.
It might be useful to wrap tecnological pads.

Copy link
Collaborator

@niwis niwis left a 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.

Comment on lines 50 to 60
module pad_functional_pd
(
input logic OEN,
input logic I,
output logic O,
input logic PEN,
inout logic PAD
);

IOBUF iobuf_i (
.T ( OEN ),
Copy link
Collaborator

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?

Copy link
Author

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

Comment on lines 101 to 108
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
Copy link
Collaborator

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?

Copy link
Author

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

src/deprecated/pad_functional.sv Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

3 participants