3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 01:24:10 +00:00

Merge pull request #4856 from gadfort/synth-flatten

add support for passing flatten -separator to flatten in synth
This commit is contained in:
Martin Povišer 2025-01-20 19:38:25 +01:00 committed by GitHub
commit 0c95a76c97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -357,6 +357,9 @@ struct FlattenPass : public Pass {
FlattenWorker worker;
if (design->scratchpad.count("flatten.separator"))
worker.separator = design->scratchpad_get_string("flatten.separator");
size_t argidx;
for (argidx = 1; argidx < args.size(); argidx++) {
if (args[argidx] == "-wb") {