mirror of
https://github.com/RTimothyEdwards/netgen.git
synced 2026-08-22 14:07:07 +02:00
Corrected an error in the handling of node names in verilog that was
accidentally erasing array delimiters from node names, a move that surprisingly has no effect at all on LVS until the cell containing the truncated nodes is flattened, at which point it causes odd and confusing behavior that seems to have nothing to do with node names at all.
This commit is contained in:
+2
-1
@@ -1396,6 +1396,7 @@ skip_endmodule:
|
||||
|
||||
result = GetBus(scan->net, &wb);
|
||||
if (result == -1) {
|
||||
/* CHECK: THIS CODE SHOULD BE DELETED, IT IS NOT THE ISSUE */
|
||||
/* Not bus notation, but check if signal was defined as a bus */
|
||||
wb.start = wb.end = -1;
|
||||
minnet = maxnet = -1;
|
||||
@@ -1420,7 +1421,6 @@ skip_endmodule:
|
||||
if ((bptr = strchr(bobj->name, '[')) != NULL) {
|
||||
*bptr = '\0';
|
||||
if (!strcmp(bobj->name, scan->net)) {
|
||||
*bptr = '[';
|
||||
if (sscanf(bptr + 1, "%d", &testidx) == 1) {
|
||||
if (minnet == -1) {
|
||||
minnet = maxnet = bobj->node;
|
||||
@@ -1436,6 +1436,7 @@ skip_endmodule:
|
||||
}
|
||||
}
|
||||
}
|
||||
*bptr = '[';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user