Merge pull request #1654 from YosysHQ/eddie/sby_fix69

verific: unflatten struct ports
This commit is contained in:
Claire Wolf 2020-01-30 18:03:35 +01:00 committed by GitHub
commit ffadaddab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1891,6 +1891,9 @@ void verific_import(Design *design, const std::map<std::string,std::string> &par
if (!verific_error_msg.empty())
log_error("%s\n", verific_error_msg.c_str());
for (auto nl : nl_todo)
nl->ChangePortBusStructures(1 /* hierarchical */);
VerificExtNets worker;
for (auto nl : nl_todo)
worker.run(nl);
@ -2470,6 +2473,9 @@ struct VerificPass : public Pass {
worker.run(nl);
}
for (auto nl : nl_todo)
nl->ChangePortBusStructures(1 /* hierarchical */);
if (!dumpfile.empty()) {
VeriWrite veri_writer;
veri_writer.WriteFile(dumpfile.c_str(), Netlist::PresentDesign());