Custom Toolbar

1
ModelSim Technotes – www.model.com Custom Toolbar # # This uses other files (*.bat). It can be used for particular configuration settings # so it can be used like a toolbar. # set cmd_renoir "exec C:/mentor/config.exe" set cmd_modelsim "exec C:/mentor/config.exe" set cmd_leonardo "exec C:/mentor/config.exe" set cmd_exe "exec C:/mentor/runpath.exe" label .msg_1 -wraplength 4i -justify left -text " You can: Configure the application, Run it, or Exit. Shorcuts for configuration are: C:/FPGAdv30/Renoir99/bin/renoir.exe, C:/FPGAdv30/Modeltech/win32/modelsim.exe, C:/FPGAdv30/Exemplar/LeoSpec/v1999.1h/bin/win32/leonardo.exe." pack .msg_1 -side top label .msg_2 -wraplength 4i -justify left -text "Luis Enrique Cordova Sosa, [email protected]" pack .msg_2 -side bottom label .msg_3 -wraplength 4i -justify left -text "This software was configured just for research and non profit purposes." pack .msg_3 -side bottom button .renoir -text "Renoir: the Art of Design Entry" -command {eval $cmd_renoir} pack .renoir button .modelsim -text "ModelSim: A Tcl/Tk-Based HDL Simulator" -command {eval $cmd_modelsim} pack .modelsim button .leonardo -text "Leonardo Spectrum: A Powerful Synthesis Tool" -command {eval $cmd_leonardo} pack .leonardo button .fa -text "FPGA Advantage: Design More in Less Time" -command {eval $cmd_exe} pack .fa button .chau -text "Exit: you have just 10 minutes to rest" -command exit pack .chau

description

cus

Transcript of Custom Toolbar

  • ModelSim Technotes www.model.com Custom Toolbar

    # # This uses other files (*.bat). It can be used for particular configuration settings # so it can be used like a toolbar. #

    set cmd_renoir "exec C:/mentor/config.exe" set cmd_modelsim "exec C:/mentor/config.exe" set cmd_leonardo "exec C:/mentor/config.exe" set cmd_exe "exec C:/mentor/runpath.exe"

    label .msg_1 -wraplength 4i -justify left -text " You can: Configure the application, Run it, or Exit. Shorcuts for configuration are: C:/FPGAdv30/Renoir99/bin/renoir.exe, C:/FPGAdv30/Modeltech/win32/modelsim.exe, C:/FPGAdv30/Exemplar/LeoSpec/v1999.1h/bin/win32/leonardo.exe." pack .msg_1 -side top

    label .msg_2 -wraplength 4i -justify left -text "Luis Enrique Cordova Sosa, [email protected]" pack .msg_2 -side bottom label .msg_3 -wraplength 4i -justify left -text "This software was configured just for research and non profit purposes." pack .msg_3 -side bottom

    button .renoir -text "Renoir: the Art of Design Entry" -command {eval $cmd_renoir} pack .renoir button .modelsim -text "ModelSim: A Tcl/Tk-Based HDL Simulator" -command {eval $cmd_modelsim} pack .modelsim button .leonardo -text "Leonardo Spectrum: A Powerful Synthesis Tool" -command {eval $cmd_leonardo} pack .leonardo button .fa -text "FPGA Advantage: Design More in Less Time" -command {eval $cmd_exe} pack .fa button .chau -text "Exit: you have just 10 minutes to rest" -command exit pack .chau