Skip to content
Juan Gonzalez-Gomez edited this page Apr 1, 2024 · 6 revisions

Contents

Usage

apio raw '[CMD]'
apio raw "[CMD]"

Description

Execute commands using Apio packages

Argument

Argument Description
cmd Command to be executed using installed Apio packages

Examples

1. Run yosys to check its version

apio raw "yosys --version"
$ apio raw "yosys --version"
Yosys 0.33+103 (git sha1 11ffd7df4, clang 10.0.0-4ubuntu1 -fPIC -Os)

2. Generate a verilog diagram with yosys

apio raw 'yosys -p "read_verilog leds.v; show" -q'

3. Run nextpnr to check its version

apio raw "nextpnr-ice40 --version"
$ apio raw "nextpnr-ice40 --version"
"nextpnr-ice40" -- Next Generation Place and Route (Version nextpnr-0.6-118-g0eb9a9ad)

Clone this wiki locally