mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
Add support for classes defined in $root scope.
This commit is contained in:
@@ -2411,6 +2411,11 @@ void dll_target::scope(const NetScope*net)
|
||||
{
|
||||
if (net->parent()==0 && net->type()==NetScope::CLASS) {
|
||||
|
||||
if (debug_emit) {
|
||||
cerr << "dll_target::scope: "
|
||||
<< "Add class " << scope_path(net)
|
||||
<< " as a root scope." << endl;
|
||||
}
|
||||
add_root(net);
|
||||
|
||||
} if (net->parent() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user