-
Notifications
You must be signed in to change notification settings - Fork 295
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
Simplify handling of Liberty file related variables #2619
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ foreach cell $::env(DONT_USE_CELLS) { | |
if {[env_var_exists_and_non_empty DFF_LIB_FILE]} { | ||
dfflibmap -liberty $::env(DFF_LIB_FILE) {*}$dfflibmap_args | ||
} else { | ||
dfflibmap -liberty $::env(DONT_USE_SC_LIB) {*}$dfflibmap_args | ||
dfflibmap -liberty $::env(SC_LIB_FILE) {*}$dfflibmap_args | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same |
||
} | ||
opt | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ proc write_keep_hierarchy {} { | |
if {[env_var_exists_and_non_empty DFF_LIB_FILE]} { | ||
dfflibmap -liberty $::env(DFF_LIB_FILE) | ||
} else { | ||
dfflibmap -liberty $::env(DONT_USE_SC_LIB) | ||
dfflibmap -liberty $::env(SC_LIB_FILE) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The only reason for this if/else is because |
||
} | ||
puts "abc [join $abc_args " "]" | ||
abc {*}$abc_args | ||
|
This file was deleted.
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.
Does Yosys support reading in compressed .gz files and decompressing on-the-fly? This step could be entirely eliminated if so.
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.
It does not, but it could. It requires zlib by default to support .fst wave files. I'll see what I can do
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.
I think it does when you supply the file to a frontend (e.g.
read_liberty
) but not e.g. indfflibmap -liberty