Skip to content

Commit

Permalink
Add default cmdline opts as test_cgra_universal method changed in yuq…
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqisun committed Dec 12, 2024
1 parent 723ea9f commit 7bf7d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launchUI.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mode_dark_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7bf7d85

Please sign in to comment.