From caebaf34a9f21735b10ec7891c82a6dbb806aed4 Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Tue, 27 May 2014 06:52:25 +0000
Subject: [PATCH] Rename modelsim_libraries_altera.txt into
 modelsim_libraries_stratixiv.txt.

---
 tools/oneclick/base/modelsim_config.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/oneclick/base/modelsim_config.py b/tools/oneclick/base/modelsim_config.py
index a59fc97512..23a61c9466 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 '#'
-- 
GitLab