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:
Martin Whitaker
2010-01-23 09:10:00 -08:00
committed by Stephen Williams
parent 9fbb12d9cf
commit f95593716f
15 changed files with 146 additions and 231 deletions
+1 -3
View File
@@ -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_;
}