Maybe you could copy the spice text into two different files and try comparing them with a program like Beyond Compare: https://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools
However, it might be difficult to compare if you wrote the spice code in an arbitrary way which is allowed for spice text as described at: https://www.staticfreesoft.com/jmanual/mchap09-04-03.html#mchap09-04-03 Maybe you can find a tool on the Internet that can help sort the spice text to make it easier to compare. Or maybe try to write you own sorting code to do it. For example, the Python language can do sorting: https://stackoverflow.com/questions/27123125/sorting-a-text-file-alphabetically-python On Monday, January 4, 2021 at 4:36:26 AM UTC-7 [email protected] wrote: > > Hi. Anyone know how I could compare two spice codes automatically? I need > to know if both codes (they are big circuits) are equivalent. Thank you. -- You received this message because you are subscribed to the Google Groups "Electric VLSI Editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/electricvlsi/afc5de8c-3b8d-47e5-9725-bf8787d8d9d4n%40googlegroups.com.
