mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-08 09:21:33 +00:00
MachXO2 Architecture Example
This contains a simple example of running nextpnr-machxo2:
simple.shgenerates JSON output (pnrblinky.json) of a classic blinky example fromblinky.v.simtest.shwill useyosysto 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 theiverilogcompiler andvvpruntime. 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.