OpenFPGA/docs/source/fpga_verilog/command_line_usage.rst

40 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2018-10-17 17:38:03 -05:00
Command-line Options for FPGA-Verilog Generator
2018-09-13 16:38:41 -05:00
=================================================
2018-10-17 17:38:03 -05:00
All the command line options of FPGA-Verilog can be shown by calling the help menu of VPR. Here are all the FPGA-Verilog-related options that you can find:
2018-12-22 07:39:51 -06:00
FPGA-Verilog Supported Options::
2018-10-17 17:38:03 -05:00
--fpga_verilog
--fpga_verilog_dir <directory_path_of_dumped_verilog_files>
2018-12-22 07:39:51 -06:00
--fpga_verilog_include_timing
--fpga_verilog_init_sim
--fpga_verilog_print_modelsim_autodeck
--fpga_verilog_modelsim_ini_path <string>
--fpga_verilog_print_top_testbench
--fpga_verilog_print_top_auto_testbench <path_to_the_verilog_benchmark>
2018-10-17 17:38:03 -05:00
.. csv-table:: Commmand-line Options of FPGA-Verilog
:header: "Command Options", "Description"
:widths: 15, 30
"--fpga_verilog", "Turn on the FPGA-Verilog."
"--fpga_verilog_dir <dir_path>", "Specify the directory that all the Verilog files will be outputted to. <dir_path> is the destination directory."
2018-12-22 07:39:51 -06:00
"--fpga_verilog_include_timing", "Includes the timings found in the XML file."
"--fpga_verilog_init_sim", "Initializes the simulation for ModelSim."
"--fpga_verilog_print_modelsim_autodeck", "Generates the scripts necessary to the ModelSim simulation."
"--fpga_verilog_modelsim_ini_path <string>", "Gives the path for the .ini necessary to ModelSim."
"--fpga_verilog_print_top_testbench", "Print the full-chip-level testbench for the FPGA. Determines the type of autodeck."
"--fpga_verilog_print_top_auto_testbench \
<path_to_the_verilog_benchmark>", "Prints the testbench associated with the given benchmark. Determines the type of autodeck."
2018-10-17 17:38:03 -05:00
.. note:: The selected directory will contain the *Verilog top file* and three other folders. The folders are:
* **sub_module:** contains each module verilog file and is more detailed in the next part *Verilog Output File Format*.
* **routing:** contains the Verilog for the connection blocks and the switch boxes.
2018-12-22 07:39:51 -06:00
* **lb:** contains the grids Verilog files.
2018-10-17 17:38:03 -05:00