Fix check for missing simulator type in characterizer

This commit is contained in:
Matt Guthaus 2018-10-25 09:08:56 -07:00
parent 3d8aeaa732
commit 57fb847d50
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if not OPTS.analytical_delay:
if OPTS.spice_name != "":
OPTS.spice_exe=find_exe(OPTS.spice_name)
if OPTS.spice_exe=="":
if OPTS.spice_exe=="" or OPTS.spice_exe==None:
debug.error("{0} not found. Unable to perform characterization.".format(OPTS.spice_name),1)
else:
(OPTS.spice_name,OPTS.spice_exe) = get_tool("spice",["xa", "hspice", "ngspice", "ngspice.exe"])