summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrahulp132022-02-20 22:57:01 +0530
committerrahulp132022-02-20 23:26:18 +0530
commit58789ce05f0018312a3d4c92e91d4a034a5d4905 (patch)
treedbe7abe5903cc9546a19400326e29610ba845c8e
parentf0d7b8e454357f8c84abce339dbedd65084572e7 (diff)
downloadnghdl-58789ce05f0018312a3d4c92e91d4a034a5d4905.tar.gz
nghdl-58789ce05f0018312a3d4c92e91d4a034a5d4905.tar.bz2
nghdl-58789ce05f0018312a3d4c92e91d4a034a5d4905.zip
Prevent displaying (optional) gtkwave error messages
-rwxr-xr-xsrc/model_generation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model_generation.py b/src/model_generation.py
index 69f378e..364c6ff 100755
--- a/src/model_generation.py
+++ b/src/model_generation.py
@@ -162,8 +162,8 @@ class ModelGeneration:
cfunc = open('cfunc.mod', 'w')
print("Building content for cfunc.mod file")
- comment = '''/* This is cfunc.mod file auto generated by gen_con_info.py
- Developed by Fahim, Rahul at IIT Bombay */\n
+ comment = '''/* This is cfunc.mod file auto generated by \
+ model_generation.py \nDeveloped by Fahim, Rahul at IIT Bombay */\n
'''
header = '''
@@ -1106,7 +1106,7 @@ class ModelGeneration:
start_server.write(
"gtkwave " +
self.fname.split('.')[0] +
- "_tb.vcd")
+ "_tb.vcd 2>/dev/null")
start_server.close()