Add gateware design simulation documentation for BeagleV Fire board
1 unresolved thread
- @lorforlinuxZain Siddavatam authored
Last comment by
Zain Siddavatam
In this demonstration, we will have a look at simulating the gateware design in Libero. Through simulations,
@@ -22,20 +22,20 @@ Modelsim requires certain libraries to be present in the system, which might not
@@ -22,20 +22,20 @@ Modelsim requires certain libraries to be present in the system, which might not
vsim: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory
If you still cannot run ModelSim, you can try fixes from this `guide <https://profile.iiita.ac.in/bibhas.ghoshal/COA_2020/Lab/ModelSim%20Linux%20installation.html>`_.
@@ -49,37 +49,37 @@ the ``VERILOG_TUTORIAL`` gateware option. To compile the design, follow the step
@@ -49,37 +49,37 @@ the ``VERILOG_TUTORIAL`` gateware option. To compile the design, follow the step
#. Once the design is compiled, open the Libero SoC software and select the created project. You can find the project in the ``work/libero`` directory.
#. Once the project is opened, your window should look something like this. In front of you will be the overview of the gateware design, and on the left you will have multiple tabs showing the design hierarchy, design flow, etc.
#. For the simulation, testbench files will need to be set up, which will be used to simulate the design. This can be done from the stimulus hierarchy. However, for this example we will be using the default testbench files provided by libero.
#. To set up the simulation, go to the ``Design Flow`` tab and right click on the ``Simulate`` button to select ``Open Interactively``.
#. Before starting modelsim, Libero will ask you to add any additional files that you want to include in the simulation. For now, let's go with the ones that came with the design and it's IPs.
@@ -100,9 +100,9 @@ You can add signals to the waveform window by right clicking on the signal in th
@@ -100,9 +100,9 @@ You can add signals to the waveform window by right clicking on the signal in th
Once added, you can run the simulation by clicking on the ``Run`` button in the simulation toolbar. The simulation will run for a few nano seconds as specified
@@ -113,11 +113,11 @@ An example of a ``.do`` file is shown below:
@@ -113,11 +113,11 @@ An example of a ``.do`` file is shown below:
A default ``run.do`` script is created at the following path - ``work/libero/simulation`` - when a simulation is run. You can use this file as a starter file