contributing examples - zapta/apio-new-doc-wiki.delete-me GitHub Wiki
Apio's examples are stored in the examples
directory of the FPGAwars/apio-examples repository and are delivered in the Apio's examples
package (type apio examples list
to see it's version).
To contribute a new example send a pull-request to the FPGAwars/apio-examples repository after confirming that it complies with the following requirements.
- The example contains an
info
file with a single text line no longer than 50 chars that describes the example. - The example lints with no warnings and can be built and uploaded.
- The example path is
examples/<board-id>/<example-name>
whereboard-id
matches the board id inapio.ini
andexample-name
contains only the chara-z
,0-9
, and-
and starts with a letter. - The example contains at least one testbench that passes
apio test
andapio sim
with no errors. - Each testbench has a matching '.gtkw' file with a GTKWave saved state.
NOTES:
- The example may have all the files in a single directory or they can be spread in sub directories.
- The example may have any mix of Verilog
.v
files and System Verilog.sv
files. - If
apio.ini
contains more than one env, the rules above apply to all the envs (when selected using the--env env
flag).