Allow __ in cell names by quoting them in C.

git-svn-id: file://localhost/svn/verilator/trunk/verilator@1003 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder
2008-03-20 01:16:33 +00:00
parent b1565f5b89
commit 4a1729eaab
5 changed files with 27 additions and 6 deletions
-3
View File
@@ -127,9 +127,6 @@ private:
// Module: Pick up modnames, so we can resolve cells later
m_modp = nodep;
UINFO(2,"Link Module: "<<nodep<<endl);
if (nodep->name().find("__") != string::npos) {
nodep->v3error("Unsupported: Double underscores (__) in module names reserved for internal use: "<<nodep->prettyName());
}
if (nodep->inLibrary()) {
if (!m_libVertexp) m_libVertexp = new LibraryVertex(&m_graph);
new V3GraphEdge(&m_graph, m_libVertexp, vertex(nodep), 1, false);