add tutorial for full testbench run
This commit is contained in:
parent
35536ee594
commit
aa77ee9af6
|
@ -1,3 +1,5 @@
|
||||||
|
.. _fpga_verilog_testbench:
|
||||||
|
|
||||||
Testbench
|
Testbench
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ General Guidelines
|
||||||
OpenFPGA uses CMake to generate the Makefile scripts
|
OpenFPGA uses CMake to generate the Makefile scripts
|
||||||
In general, please follow the steps to compile
|
In general, please follow the steps to compile
|
||||||
|
|
||||||
::
|
.. code-block:: shell
|
||||||
|
|
||||||
git clone https://github.com/LNIS-Projects/OpenFPGA.git
|
git clone https://github.com/LNIS-Projects/OpenFPGA.git
|
||||||
cd OpenFPGA
|
cd OpenFPGA
|
||||||
|
@ -27,7 +27,7 @@ In general, please follow the steps to compile
|
||||||
|
|
||||||
To quickly verify the tool is well compiled, user can run the following command from OpenFPGA root repository
|
To quickly verify the tool is well compiled, user can run the following command from OpenFPGA root repository
|
||||||
|
|
||||||
::
|
.. code-block:: shell
|
||||||
|
|
||||||
python3 openfpga_flow/scripts/run_fpga_task.py compilation_verification --debug --show_thread_logs
|
python3 openfpga_flow/scripts/run_fpga_task.py compilation_verification --debug --show_thread_logs
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ Docker
|
||||||
If some of these dependencies are not installed on your machine, you can choose to use a Docker (the Docker tool needs to be installed).
|
If some of these dependencies are not installed on your machine, you can choose to use a Docker (the Docker tool needs to be installed).
|
||||||
For the ease of the customer first experience, a Dockerfile is provided in the OpenFPGA folder. A container ready to use can be created with the following command
|
For the ease of the customer first experience, a Dockerfile is provided in the OpenFPGA folder. A container ready to use can be created with the following command
|
||||||
|
|
||||||
::
|
.. code-block:: shell
|
||||||
|
|
||||||
docker run lnis/open_fpga:release
|
docker run lnis/open_fpga:release
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ For the ease of the customer first experience, a Dockerfile is provided in the O
|
||||||
|
|
||||||
Otherwise, a container where you can build OpenFPGA yourself can be created with the following commands
|
Otherwise, a container where you can build OpenFPGA yourself can be created with the following commands
|
||||||
|
|
||||||
::
|
.. code-block:: shell
|
||||||
|
|
||||||
docker build . -t open_fpga
|
docker build . -t open_fpga
|
||||||
docker run -it --rm -v $PWD:/localfile/OpenFPGA -w="/localfile/OpenFPGA" open_fpga bash
|
docker run -it --rm -v $PWD:/localfile/OpenFPGA -w="/localfile/OpenFPGA" open_fpga bash
|
||||||
|
|
|
@ -7,4 +7,6 @@ Design Flows
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
blif_to_verification
|
||||||
|
|
||||||
verilog_to_gds2
|
verilog_to_gds2
|
||||||
|
|
Loading…
Reference in New Issue