-
Notifications
You must be signed in to change notification settings - Fork 46
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
Clock propagation enhancement #54
Clock propagation enhancement #54
Conversation
I haven't actually looked at this pull request, but do please make sure we have a bunch of documentation around this. |
Also, if there is a conflict, which one wins? |
file << "create_clock -period " << Clock::Period(clock_wire); | ||
file << " -waveform {" << Clock::RisingEdge(clock_wire) << " " | ||
<< Clock::FallingEdge(clock_wire) << "}"; | ||
file << " " << Clock::WireName(clock_wire); |
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.
Can you explain why this is called SourcePinName
, rather than SourceWireName
? Does Yosys have a first class cell pin object?
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.
SOURCE_PIN
was the attribute in Vivado, but we do use wires instead of pins.
Hence, I changed the attribute and method name according to what it really is.
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.
Can yosys return the wire attached to a cell pin? If so, it might make more sense to stick with SOURCE_PIN
, and change this code to get the wire from the source pin?
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.
Looks pretty good.
Conflicts? |
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
19619b4
to
352aea3
Compare
Resolved |
…es/sv2v-dd95174 Bump sv2v from `9bc946c` to `dd95174`
This PR aims at solving issue #53.
Added a distinction between three types of clocks:
create_clock
command