-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DC source issue when do the interconnect simulation. #183
Comments
I am using 2021-R2.3 and I see the same specification for the DC Source name. I wonder on which version of Lumerical the source used the previous naming. |
Similar to this issue, currently spice_netlist_export replaces spaces in the names of components by '_' characters. This is necessary because the spice netlist reading needs to see the whole string as a single parameter, and leaving spaces would just go to the next parameter, making the reading incorrect. However netlist reading does support space characters, but to use them double quotes need to be added on the spice netlist text, for example:
But this is correct:
Currently, if I include a component that wants to use said model (from the standard Interconnect Library), it would export the netlist as:
This of course generates an error in the netlist importing because no such component exists. There is no workaround that I could find other than changing the spice_netlist_export method. The change would be small, but it might generate compatibility issues with components that currently rely on SiEPIC changing the space character in their name to a '_' character. What do you guys think?? |
You make a good suggestion. To fix any issues, we would just need to check all the PDKs and make sure that they have the correct name and don’t count on the _ conversion.
|
I made the change in #185 , and included get and set methods for SPICE params (the set method finds the text in the component and replaces it, the get is a wrapper of the existing get_parameter method) |
Hi
In my SiEPIC-Tools 0.3.91, the code of find electrical IO pins:
DCsources += "N" + str(Vn) + NetName + " dcsource amplitude=0 sch_x=%s sch_y=%s\n" % (-2-Vn/3., -2+Vn/8.)
will raise an error in my interconnect (2022 R1), which is (1) Error loading netlist: the element 'dcsource' is not available in the library.
The auto generated netlist will need an element called 'dcsource'. However, in lumerical the dc source is called 'DC Source'. When I manually change the 'dcsource' to 'DC Source' in netlist file (*.spi), the netlist works well.
The text was updated successfully, but these errors were encountered: