You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem in the parasitic extraction of magic, sometimes it gives an error, sometimes it works, on the same file:
This is the INV.mag file which contains a simple inverter which allows to reproduce the issue: INV.mag.txt
These are the commands used:
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
One idea for a potential reason might be the ordering in the generated .ext file, which seems to be different:
One important thing for me is reproducibility, so if you see a way to make the ordering in the extract files reproducible by sorting the output, that would be great, (unless that creates unbearable CPU or memory load)
Or perhaps we should create an "extract reproducible" option so that it can be switched off by default, and reproducibility enforced only on demand?
The text was updated successfully, but these errors were encountered:
I've been aware of this issue but this is the first reasonably small test case I've seen demonstrating it.
FYI, there are still various subtle bugs in the extresist code. They should have nothing to do with the random order of the output, which is due entirely to the fact that the output is generated by walking a hash table, and the hash table contents are keyed by memory location, so order is dependent on the memory allocation algorithm. It is of course possible to sort the hash table contents before output; there would be a memory overhead associated with it, and I would probably want to make it an option that can be turned on or off, but it's not hard to do.
Magic version 8.3.478 fixes the error condition (and also a crash condition that got uncovered by fixing the error condition). The order of capacitor lines in the .ext file is not considered.
Great! I cannot reproduce the error anymore with 8.3.478 👍
So I think we should close this bug, and have a seperate issue for the reproducible ordering of the lines?
There is a problem in the parasitic extraction of magic, sometimes it gives an error, sometimes it works, on the same file:

This is the INV.mag file which contains a simple inverter which allows to reproduce the issue:
INV.mag.txt
These are the commands used:
And this is the whole tool where it is used: https://github.com/thesourcerer8/StdCellLib/blob/master/Tools/perl/parasitics.pl
One idea for a potential reason might be the ordering in the generated .ext file, which seems to be different:

One important thing for me is reproducibility, so if you see a way to make the ordering in the extract files reproducible by sorting the output, that would be great, (unless that creates unbearable CPU or memory load)
Or perhaps we should create an "extract reproducible" option so that it can be switched off by default, and reproducibility enforced only on demand?
The text was updated successfully, but these errors were encountered: