From e31cbeaa6fb7861bf4f510d8cdda57c2ff2fbfcb Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 9 Nov 2020 12:11:47 -0800 Subject: [PATCH] Don't check for file to determine if it is included. --- compiler/characterizer/stimuli.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compiler/characterizer/stimuli.py b/compiler/characterizer/stimuli.py index d2ef2358..b7a84cb6 100644 --- a/compiler/characterizer/stimuli.py +++ b/compiler/characterizer/stimuli.py @@ -285,10 +285,7 @@ class stimuli(): includes = self.device_models + [circuit] for item in list(includes): - if os.path.isfile(item): - self.sf.write(".include \"{0}\"\n".format(item)) - else: - debug.error("Could not find spice model: {0}\nSet SPICE_MODEL_DIR to over-ride path.\n".format(item)) + self.sf.write(".include \"{0}\"\n".format(item)) def write_supply(self): """ Writes supply voltage statements """