Harald Pretl
06/14/2023, 1:44 PM.mag
into .ext
, and then write a SPICE netlist for LVS. Neither the mag
nor the ext
have a pin called mid
, but it shows up in the SPICE file. Where is magic finding this pin?
Here the .ext, the .spc, and the .tcl…Harald Pretl
06/14/2023, 1:46 PMHarald Pretl
06/14/2023, 1:57 PMext
in the directory of the mag
file, it takes priority over the ext
file in the current directory. Maybe, this behaviour could be changed, or at least a timestamp is checked, so that the younger one is used.Mitch Bailey
06/14/2023, 2:16 PMextract do local
directive?
What is your search path defined as? Use path search
to find out.
Do you either use extract all
or extract in a clean directory?Tim Edwards
06/14/2023, 2:34 PMextract
is a progressive extraction which only extracts things that have been changed; if a .ext
file exists for a cell and it has not been updated, then that file will be used. extract all
is generally preferred, and will always generate new .ext
files for everything. That said, the original implementation of the extraction just dropped all .ext
files in the same directory as the .mag
file, and extract do local
is a recent addition, and not all the consequences have been thoroughly thought out. . .Tim Edwards
06/14/2023, 2:45 PMextract do local
is applying to writing .ext
files but not to reading them.Harald Pretl
06/14/2023, 2:45 PMextract do local
is fine, it should just also set the search order for the .ext
files accordingly, means, it looks first in the local dir for a .ext
file, and if not successful then use the location of the .mag
Harald Pretl
06/14/2023, 2:45 PMI think the issue here is thatExactly.is applying to writingextract do local
files but not to reading them..ext
Tim Edwards
06/14/2023, 2:46 PMHarald Pretl
06/14/2023, 2:47 PMdo local
. Now, I have to cd
into the proper dir before, and then jump back afterwards, which is not very elegant.Tim Edwards
06/14/2023, 2:47 PMHarald Pretl
06/14/2023, 2:48 PMTim Edwards
06/14/2023, 2:49 PMTim Edwards
06/14/2023, 6:11 PMextract path <pathname>
that does what you want. extract do local
is still available for backwards compatibility, but effectively what it does now is to run the command extract path .
. The ext2spice
command has always been sort of independent of extract
and for that reason I am letting the behavior remain in place of doing ext2spice -p <pathname>
rather than having ext2spice
refer back to the parameters defined in extract
. Hopefully that's not too much of an inconvenience. (I should probably at least add a warning if extract path
was set but ext2spice
does not use the -p
option.)Harald Pretl
06/14/2023, 7:56 PMHarald Pretl
06/14/2023, 7:59 PMTim Edwards
06/14/2023, 8:52 PMHarald Pretl
06/15/2023, 11:31 AMHarald Pretl
06/19/2023, 8:35 AMTim Edwards
06/19/2023, 1:55 PM