mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 09:09:58 +02:00
Fix for pr2924354.
Creation of implicit nets requires knowledge of whether an identifier has been declared before it is used. Currently implicit nets are created during elaboration, but by this stage the order of declaration and use is not known. This patch moves the creation of implicit nets into the parser stage.
This commit is contained in:
committed by
Stephen Williams
parent
9fbb12d9cf
commit
f95593716f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998-2009 Stephen Williams ([email protected])
|
||||
* Copyright (c) 1998-2010 Stephen Williams ([email protected])
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
@@ -33,7 +33,6 @@ Module::Module(perm_string n)
|
||||
library_flag = false;
|
||||
is_cell = false;
|
||||
uc_drive = UCD_NONE;
|
||||
default_nettype = NetNet::NONE;
|
||||
timescale_warn_done = false;
|
||||
}
|
||||
|
||||
@@ -105,4 +104,3 @@ const list<PGate*>& Module::get_gates() const
|
||||
{
|
||||
return gates_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user