===== Using the Vivado HDL Simulation Tool =====
====Zoom to Fit====
A handy tool is the **zoom to fit** magnifying glass. After running commands, your simulation will often looks like just one solid like where nothing happened. Just click the **zoom to fit** magnifying glass to quickly fix your woes!
{{ :tutorials:simulation:zoom_to_fit.png?nolink |}}
====Running Commands====
{{ :tutorials:simulation:vivado_tcl_commands.mp4| }}
When you first open a simulation, it will look like nothing happened, most of the black screen will be blank. To make something happen, you have to type in commands yourself. Go to the **TCL Console** to type in commands. These commands use the Tool Command Language, or **TCL**. (It's not a very complicated language, and you won't need to learn very much to use it here.)
===add_force===
One command that you will use extensively is the **add_force** command. This command allows you to put values on input ports. You will have to type in the command for each input. You can use this command to set a long list of values to be added at future times. You can also use this command to set a repeating input pattern. The following example explains this command's syntax.
add_force myInput {0 0} {1 5} -repeat_every 10
* **add_force** starts the command.
* **myInput** is to be replaced by the port name of your input.
* **{0 0} {1 5}** is what actually adds values to the input. The syntax for this is: ''{