From 571dca5d5f53ae52501fd3f56b4eac9b860c780a Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Thu, 13 Sep 2018 15:15:41 -0700 Subject: [PATCH] Hard code flatten commands for the unique id precharge array --- compiler/verify/magic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/verify/magic.py b/compiler/verify/magic.py index a07785d3..55e803b4 100644 --- a/compiler/verify/magic.py +++ b/compiler/verify/magic.py @@ -99,7 +99,10 @@ def write_netgen_script(cell_name, sp_name): f.write("equate class {{pfet {0}.spice}} {{p {1}}}\n".format(cell_name, sp_name)) # This circuit has symmetries and needs to be flattened to resolve them or the banks won't pass # Is there a more elegant way to add this when needed? - f.write("flatten class {{{0}.spice precharge_array}}\n".format(cell_name)) + f.write("flatten class {{{0}.spice precharge_array_1}}\n".format(cell_name)) + f.write("flatten class {{{0}.spice precharge_array_2}}\n".format(cell_name)) + f.write("flatten class {{{0}.spice precharge_array_3}}\n".format(cell_name)) + f.write("flatten class {{{0}.spice precharge_array_4}}\n".format(cell_name)) f.write("property {{nfet {0}.spice}} remove as ad ps pd\n".format(cell_name)) f.write("property {{pfet {0}.spice}} remove as ad ps pd\n".format(cell_name)) f.write("property {{n {0}}} remove as ad ps pd\n".format(sp_name))