summaryrefslogtreecommitdiff
path: root/src/Appconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Appconfig.py')
-rw-r--r--src/Appconfig.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Appconfig.py b/src/Appconfig.py
index 2d610c1..55e6e79 100644
--- a/src/Appconfig.py
+++ b/src/Appconfig.py
@@ -5,13 +5,17 @@ from ConfigParser import SafeConfigParser
class Appconfig:
home = os.path.expanduser("~")
#Reading all varibale from eSim config.ini
- parser = SafeConfigParser()
- parser.read(os.path.join(home, os.path.join('.esim','config.ini')))
- src_home = parser.get('eSim','eSim_HOME')
- xml_loc = os.path.join(src_home,'src/modelParamXML')#"/opt/eSim/src/modelParamXML/"
+ parser_esim = SafeConfigParser()
+ parser_esim.read(os.path.join(home, os.path.join('.esim','config.ini')))
+ src_home = parser_esim.get('eSim','eSim_HOME')
+ xml_loc = os.path.join(src_home,'src/modelParamXML')
lib_loc = os.path.expanduser('~')
esimFlag = 0
+ #Reading all variable from nghdl config.ini
+ parser_nghdl = SafeConfigParser()
+ parser_nghdl.read(os.path.join(home,os.path.join('.nghdl','config.ini')))
+
kicad_lib_template = {
"start_def":"DEF comp_name U 0 40 Y Y 1 F N",
"U_field":"F0 \"U\" 2850 1800 60 H V C CNN",