mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-06 23:35:47 +00:00
pass no_split_complex_ports to hierarchy command
This commit is contained in:
parent
cad46d9c66
commit
615f523ef4
3 changed files with 12 additions and 6 deletions
|
@ -2938,7 +2938,7 @@ void verific_cleanup()
|
|||
verific_import_pending = false;
|
||||
}
|
||||
|
||||
std::string verific_import(Design *design, const std::map<std::string,std::string> ¶meters, std::string top, bool opt)
|
||||
std::string verific_import(Design *design, const std::map<std::string,std::string> ¶meters, std::string top, bool opt, bool no_split_complex_port)
|
||||
{
|
||||
verific_sva_fsm_limit = 16;
|
||||
|
||||
|
@ -2964,8 +2964,9 @@ std::string verific_import(Design *design, const std::map<std::string,std::strin
|
|||
if (!verific_error_msg.empty())
|
||||
log_error("%s\n", verific_error_msg.c_str());
|
||||
|
||||
for (auto nl : nl_todo)
|
||||
nl.second->ChangePortBusStructures(1 /* hierarchical */);
|
||||
if (!no_split_complex_port)
|
||||
for (auto nl : nl_todo)
|
||||
nl.second->ChangePortBusStructures(1 /* hierarchical */);
|
||||
|
||||
VerificExtNets worker;
|
||||
for (auto nl : nl_todo)
|
||||
|
|
|
@ -27,7 +27,7 @@ YOSYS_NAMESPACE_BEGIN
|
|||
extern int verific_verbose;
|
||||
|
||||
extern bool verific_import_pending;
|
||||
extern std::string verific_import(Design *design, const std::map<std::string,std::string> ¶meters, std::string top = std::string(), bool opt = true);
|
||||
extern std::string verific_import(Design *design, const std::map<std::string,std::string> ¶meters, std::string top = std::string(), bool opt = true, bool no_split_complex_ports = true);
|
||||
|
||||
extern pool<int> verific_sva_prims;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue