From 7bf7d85ffa655e8ea48fbeb1b65452a043b1cc4f Mon Sep 17 00:00:00 2001 From: Yuqi Sun <791079835@qq.com> Date: Fri, 13 Dec 2024 00:34:29 +0800 Subject: [PATCH] Add default cmdline opts as test_cgra_universal method changed in https://github.com/yuqisun/VectorCGRA/commit/a7a478ac06b288c1a6fd88915d000cc0b316c4e7#diff-7c75d763e7c9a3f4d1de3ea7cd2d09dfc29badd8d61e30cd62648f7816d12d26R173 --- launchUI.bash | 4 ++-- mode_dark_light.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/launchUI.bash b/launchUI.bash index fdc561f..08fb371 100644 --- a/launchUI.bash +++ b/launchUI.bash @@ -4,11 +4,11 @@ input_theme=$1 echo "Theme: $input_theme" cd build -if [ "$input_theme" == "classic" ]; then +if [ "$input_theme" = "classic" ]; then echo "classic theme selected" #start dark theme python ../mode_classic.py -elif [ "$input_theme" == "light" ]; then +elif [ "$input_theme" = "light" ]; then echo "light theme selected" #start light theme python ../mode_dark_light.py --theme light diff --git a/mode_dark_light.py b/mode_dark_light.py index 8956e9a..ca3af6b 100755 --- a/mode_dark_light.py +++ b/mode_dark_light.py @@ -964,6 +964,8 @@ def clickGenerateVerilog(): os.chdir("verilog") # pymtl function that is used to generate synthesizable verilog + cmdline_opts = {'test_verilog': 'zeros', 'test_yosys_verilog': '', 'dump_textwave': False, 'dump_vcd': False, + 'dump_vtb': False, 'max_cycles': None} test_cgra_universal(paramCGRA = paramCGRA) widgets["verilogText"].delete("1.0", tkinter.END)