Various modifications to accommodate the somewhat complicated management of include statements in verilog files in order to build the compiled libraries.
diff --git a/common/create_spice_library.py b/common/create_spice_library.py index a25ac34..ca95fa6 100755 --- a/common/create_spice_library.py +++ b/common/create_spice_library.py
@@ -38,10 +38,13 @@ def create_spice_library(destlibdir, destlib, spiext, do_compile_only=False, do_stub=False, excludelist=[]): + # destlib should not have a file extension + destlibroot = os.path.splitext(destlib)[0] + fformat = 'CDL' if spiext == '.cdl' else 'SPICE' allstubname = destlibdir + '/stub' + spiext - alllibname = destlibdir + '/' + destlib + spiext + alllibname = destlibdir + '/' + destlibroot + spiext if do_stub: outputname = allstubname else: