.. | ||
.gitignore | ||
blinky_tb.v | ||
blinky.v | ||
README.md | ||
simple.sh | ||
simtest.sh |
MachXO2 Architecture Example
This contains a simple example of running nextpnr-machxo2
:
simple.sh
generates JSON output (pnrblinky.json
) of a classic blinky example fromblinky.v
.simtest.sh
will useyosys
to generate a Verilog file frompnrblinky.json
, calledpnrblinky.v
. It will then and comparepnrblinky.v
's simulation behavior to the original verilog file (blinky.v
) using theiverilog
compiler andvvp
runtime. This is known as post-place-and-route simulation.
As nextpnr-machxo2
is developed the nextpnr
invocation in simple.sh
and
simtest.sh
is subject to change. Other command invocations, such as yosys
,
should remain unchanged, even as files under the synth directory
change.