12.07.2015 Views

ModelSim SE GUI Reference - Parent Directory

ModelSim SE GUI Reference - Parent Directory

ModelSim SE GUI Reference - Parent Directory

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GR-1181 - Simulator windowsCustomize Toolbar dialogPurpose Menu command Additional informationAdd user-definedtoolbar buttonsWindow > CustomizeNAThe Customize Toolbar dialog includes the following options:• Tool BarAdds the button to a new toolbar in the specified window.• FooterAdds the button to the window’s status bar.• Placement optionsJustify the button on the right-side, left-side, top/center, or bottom/center of the toolbaror footer.• Window NameThe window to which you want to add the button.• Button NameThe text that will appear on the button.• FunctionAny command or macro you might execute from the <strong>ModelSim</strong> command line. Forexample, you might want an add wave button in the Wave window.Making the button persistentUser-defined buttons exist only until you close the window unless you add the button codeto the window’s user hook variable. When you create a button, the underlying commandsare echoed in the transcript. You can use these commands to make the button appear everytime you invoke the window. Follow these steps:1 Create a button.2 Copy the commands from the transcript into a Tcl procedure in the modelsim.tcl file. Ifyou don’t have a modelsim.tcl file already, create a new text file with that name and setthe MODELSIM_TCL environment variable to the full path of the modelsim.tcl file.<strong>ModelSim</strong> <strong>SE</strong> <strong>GUI</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!