I am trying to use BAG2 to do my analog design. There are some difficult problems when I try to draw the layout of a poly resistor. So I am asking for your help.
When I run the code ‘res_termination.py’ in BAG2_TEMPLATES_EC/scripts_test, I encounter an error as shown in the following code.
AttributeError:'NoneType' object has no attribute 'get_bot_layer
I think this ‘Nonetype’ comes from ‘tech.py’ in the folder ‘cds_ff_mpt/templates_cds_ff_mpt’. And my whole code is shown in the attachment.
I think there are three possibilities for causing this bug:
a) I don’t know how to configure the tech file correctly.
I am trying to use BAG2 to do my analog design. There are some difficult problems when I try to draw the layout of a poly resistor. So I am asking for your help.
When I run the code ‘res_termination.py’ in BAG2_TEMPLATES_EC/scripts_test, I encounter an error as shown in the following code.
AttributeError:'NoneType'
object has no attribute'get_bot_layer
I think this ‘Nonetype’ comes from ‘tech.py’ in the folder ‘cds_ff_mpt/templates_cds_ff_mpt’. And my whole code is shown in the attachment.
I think there are three possibilities for causing this bug:
a) I don’t know how to configure the tech file correctly.
b) I miss some important input parameters.
c) I didn't have a complete working code.