-
Notifications
You must be signed in to change notification settings - Fork 888
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
Keep attribute not working as expected #4272
Comments
What commands are you calling in Yosys? Do you have a |
I swear there was an issue or discussion about this already, but I can't find it now... This is due to how |
@KrystalDelusion The only thing I do is a |
Got it, thanks for the clarification! I think the solution from a user point is to use the |
It's me again. I followed now your steps, and the damage is already done earlier. After a
After
And finally, after
|
That is exactly what I am looking for! So, to achieve that result via |
Version
Yosys 0.38 (git sha1 543faed, clang 15.0.0 -fPIC -Os)
On which OS did this happen?
macOS
Reproduction Steps
I don't understand why the following code does not work.
yosys
keeps optimizing the delay line away. The code oftdc.v
is attached.tdc.v.zip
Expected Behavior
Keep all the instances and wires with the
(* keep *)
attribute set.Actual Behavior
The delay is removed, and this is the results:
The text was updated successfully, but these errors were encountered: