Apio Test - FPGAwars/apio GitHub Wiki
Contents
Usage
apio test [OPTIONS]
Description
Launch the verilog testbench testing. All the testbenches are executed by default (it can be changed by means of the --testbench
option)
Options
Flag | Long Flag | Description |
---|---|---|
-p |
--project-dir |
Set the target directory for the project. |
-t |
--testbench |
Test only this test bench file |
Examples
1. Test the ledon example
Before executing the command, these are the files in the current directory:
$ ls
apio.ini info ledon_tb.gtkw ledon_tb.v ledon.v pinout.pcf
Simulate the project:
apio test
These are the new files created:
$ ls
apio.ini ledon_tb.gtkw ledon_tb.v ledon.v
info ledon_tb.out ledon_tb.vcd pinout.pcf
The .vcd
files are created, but they are NOT automatically opened with GTKWAVE (apio sim
does run gtkwave if installed)