nextpnr/machxo2/examples
2021-02-12 10:36:59 +00:00
..
.gitignore machxo2: Remove pybindings unneeded files from examples and update README.md and scripts accordingly. Delete resources directory. 2021-02-12 10:36:59 +00:00
blinky_tb.v Create machxo2 backend (renamed from generic). 2021-02-12 10:36:59 +00:00
blinky.v Create machxo2 backend (renamed from generic). 2021-02-12 10:36:59 +00:00
README.md machxo2: Remove pybindings unneeded files from examples and update README.md and scripts accordingly. Delete resources directory. 2021-02-12 10:36:59 +00:00
simple.sh machxo2: Remove pybindings unneeded files from examples and update README.md and scripts accordingly. Delete resources directory. 2021-02-12 10:36:59 +00:00
simtest.sh machxo2: Remove pybindings unneeded files from examples and update README.md and scripts accordingly. Delete resources directory. 2021-02-12 10:36:59 +00:00

MachXO2 Architecture Example

This contains a simple example of running nextpnr-machxo2:

  • simple.sh generates JSON output (pnrblinky.json) of a classic blinky example from blinky.v.
  • simtest.sh will use yosys to generate a Verilog file from pnrblinky.json, called pnrblinky.v. It will then and compare pnrblinky.v's simulation behavior to the original verilog file (blinky.v) using the iverilog compiler and vvp 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.