TAGGED: CML-Libraries, interconnect
-
-
July 27, 2021 at 4:22 pm
gopikrishnangm
SubscriberHi Lumerical
I was going through the beginners tutorial regarding building custom CML (https://support.lumerical.com/hc/en-us/articles/360037141714).
In step 4 " updating the XML data file using generate_template_xml.py" after changing the python script when I run the script I get an error message "line 46, in
if globalgroup_list: NameError: name 'globalgroup_list' is not defined". The instructions in step 4 ask to remove the statistical information part of the python code and so there is no globalgroup_list variable to execute the if statement under the "# do not modify" set of commands.
Could you let me know how this can be fixed?
July 28, 2021 at 2:32 amKyle
Ansys Employee
I believe there may be a mistake in this script, I will look into this and get back to you. To fix this, you can add empty globalgroup_list, corrgroup_list, and corner_list lists to the beginning of the script, so these if statements evaluate to false:
globalgroup_list = []
corrgroup_list = []
corner_list = []
July 28, 2021 at 4:15 pmgopikrishnangm
SubscriberHi kjohnson
thank you for the solution!
Gopi
Viewing 2 reply threads- The topic ‘Doubt regarding CML “generate_template_xml.py”’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3492
-
1057
-
1051
-
966
-
942
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-