This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:starting_vivado_simulation_tool [2019/07/12 19:44] jgoeders [Set Top Module] |
tutorials:starting_vivado_simulation_tool [2019/09/24 16:02] (current) jgoeders [Set Top Module] |
||
---|---|---|---|
Line 9: | Line 9: | ||
You can set the "top" module under **Simulation Sources** as follows: | You can set the "top" module under **Simulation Sources** as follows: | ||
- In the **Project Manager**, in the **Sources** pane, expand the **Simulation Sources** folder and the folder inside of that. | - In the **Project Manager**, in the **Sources** pane, expand the **Simulation Sources** folder and the folder inside of that. | ||
- | - Right click on the source you want to set as top module, then click **Set as Top**. | + | - Right click on the source you want to set as top module, then click **Set as Top**. If your file is already set as the top it will have a small hierarchy picture next to the filename and the **Set as Top** option will not be available. |
/* \\ {{ tutorials:set_as_top_module.png?nolink&200 |}} */ | /* \\ {{ tutorials:set_as_top_module.png?nolink&200 |}} */ | ||
Line 15: | Line 15: | ||
By default, the simulator will simulate 1000 ns of time when the simulation is first run. This is not helpful as the inputs to the simulation are not yet set. It is best to remove this default simulation run time before starting the simulation (you only need to do this once - this will be saved in your project settings). Follow these steps to remove the default simulation run time: | By default, the simulator will simulate 1000 ns of time when the simulation is first run. This is not helpful as the inputs to the simulation are not yet set. It is best to remove this default simulation run time before starting the simulation (you only need to do this once - this will be saved in your project settings). Follow these steps to remove the default simulation run time: | ||
- | - Click **Simulation Settings** under **Simulation**. | + | - Right-Click the **SIMULATION** link in Flow Navigator and click **Simulation Settings...**. |
- Click the **Simulation** Tab in the middle of the window that pops up. | - Click the **Simulation** Tab in the middle of the window that pops up. | ||
- Click the small **x** to the right of **Simulation Run Time**. This should remove the **1000ns** if it is there, which it is by default. \\ {{ :tutorials:simulation:simulation_settings.png?nolink&500 |}} | - Click the small **x** to the right of **Simulation Run Time**. This should remove the **1000ns** if it is there, which it is by default. \\ {{ :tutorials:simulation:simulation_settings.png?nolink&500 |}} | ||
Line 34: | Line 34: | ||
A video example of performing these steps is shown below: | A video example of performing these steps is shown below: | ||
- | {{ :tutorials:simulation:vivado_run_simulation.mp4| }} | + | {{youtube>-ZpaY4RH0sc?rel=0&noborder&1080x700}} |
==== Simulation GUI Overview ==== | ==== Simulation GUI Overview ==== | ||
The following video provides a summary of running the Vivado simulation. Watch this video as you complete your simulation. | The following video provides a summary of running the Vivado simulation. Watch this video as you complete your simulation. | ||
+ | |||
+ | {{youtube>umMr_5dTpl8?rel=0&noborder&1080x700}} | ||
/* | /* | ||
Line 46: | Line 48: | ||
*/ | */ | ||
+ | /* | ||
<html> | <html> | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/6CpSlv1se7U" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> | <iframe width="560" height="315" src="https://www.youtube.com/embed/6CpSlv1se7U" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> | ||
</html> | </html> | ||
+ | */ | ||
/* | /* | ||