diff --git a/tools/oneclick/base/modelsim_config.py b/tools/oneclick/base/modelsim_config.py index a59fc97512e25aeb124ba8ec7bdc103b2b405a47..23a61c946637d9f47fb7966c23ff032d301bd369 100644 --- a/tools/oneclick/base/modelsim_config.py +++ b/tools/oneclick/base/modelsim_config.py @@ -77,7 +77,7 @@ class ModelsimConfig(hdl_config.HdlConfig): with open(mpfPathName, 'w') as fp: # Write [Library] section for all used libraries fp.write('[Library]\n') - # . technology libs + # . vendor technology libs tech_dict = self.read_modelsim_technology_libraries_file(technology_name) for lib_clause, lib_work in tech_dict.iteritems(): fp.write('%s = %s\n' % (lib_clause, lib_work)) @@ -91,7 +91,7 @@ class ModelsimConfig(hdl_config.HdlConfig): fp.write('%s = %s\n' % (lib_clause, lib_work)) # . work fp.write('work = work\n') - # . others + # . others modelsim default libs model_tech_dir = os.path.expandvars(self.tool.get_key_values('model_tech_dir')) fp.write('others = %s\n' % os.path.join(model_tech_dir, 'modelsim.ini')) # Write [Project] section for all used libraries @@ -177,7 +177,7 @@ if __name__ == '__main__': # Read the dictionary info from all HDL tool and library configuration files in the current directory and the sub directories libRootDir = 'RADIOHDL' #libRootDir = 'UNB' - technology_name = 'altera' + technology_name = 'stratixiv' msim = ModelsimConfig(libRootDir=os.environ[libRootDir], toolRootDir=os.path.expandvars('$RADIOHDL/tools'), libFileName='hdllib.cfg', toolFileName='hdltool.cfg') print '#'