magical-eda / MAGICAL

Machine Generated Analog IC Layout
BSD 3-Clause "New" or "Revised" License
208 stars 50 forks source link

An error occurred while running the OTA2 example,capacitor and resistor devices in netlist are not operational #42

Closed lhjey closed 3 years ago

lhjey commented 3 years ago

image Is it because the device attribute unit is not recognized? At the same time, I would like to ask how to run the exported high-hierarchy netlist. Is it need to modify the netlist format? Thanks!

jayl940712 commented 3 years ago

Hi, can you try to reinstall gdspy package in version 1.4.1?

lhjey commented 3 years ago

I am trying to install version 1.4.1, but I encountered some errors about gdspy.

Defaulting to user installation because normal site-packages is not writeable ERROR: Could not find a version that satisfies the requirement gdspy==1.4.1 ERROR: No matching distribution found for gdspy==1.4.1 My original version is 1.4.

lhjey commented 3 years ago

image image image

Hi, I have installed version 1.4.1, but because of the gdspy release, version 1.4 is still displayed. But it is actually version 1.4.1. After that, I tried to run the ota2 example, but the same error occurred as before.

jayl940712 commented 3 years ago

Can you try to compile my version of gdspy? https://github.com/jayl940712/gdspy/tree/constraint-graph Try run the following:

    git clone https://github.com/jayl940712/gdspy
    pip install gdspy/
lhjey commented 3 years ago

Hi, I reinstalled gdspy according to your suggestion, and it has been running correctly. Thank you for your help!

jayl940712 commented 3 years ago

Great. I will close this issue.