Netlist Generator Setup (Yosys)


On ubuntu, hit ctrl+alt+t to open terminal. Type:


$ cd ~/Desktop
$ git clone https://github.com/hungrymonkey/yosys-1.git
$ cd ./yosys-1/

To download the dependencies we need, type:

$ yosys_deps="build-essential clang bison flex libreadline-dev gawk tcl-dev libffi-dev git mercurial graphviz xdot pkg-config python3"
$ sudo apt-get install $yosys_deps

To build, type:

$ make config-gcc
$ make
$ sudo make install

To create a netlist for the Tritoncore-I:

there is an example verilog file in the top level of the docs. "and.v"

copy this file into the directory where we build yosys, then type:

$ yosys -p "synth_tritoncore -blif and.blif" and.v

You're done with yosys! Next is to take the netlist (and.bliff) and generate the bitstream


Continue »