BLOG: Using efabless Cloud V’s Symbiflow-based FPGA support

First, start by creating a new Cloud V workspace.

0-1536x1270.png

We’ll start by creating a Pin Constraints File as shown:

1-1536x1270.png

The following dialog will show up. Pick your desired FPGA family and board, and give the file a name.

2-1536x1270.png

Pin-constraints file are, for your convenience, pre-populated! You don’t have to actually go in and add port names and CPLD names manually.

3-1536x1270.png

Then create a Verilog file as you desire. Ensure that the top module’s names are consistent with the I/O ports, I.E.:

4-1536x1270.png

Don’t forget to set your module as the top module!

5-1536x1270.png

Now that the module is done, go back to the PCF and you’ll find a button at the top called “Generate Bitstream.” Go ahead and press that.

6-1536x1270.png

This dialog is already pre-filled for you with values from your PCF. But in case you want to pick another board and PCF, or another family altogether even, feel free. The values represented by the PCF are marked with [*].

7-1536x1262.png

Go ahead and press the Generate Button. Like synthesis, Bitstream Generation is a long-running job. Depending on the size of your design, you may want to go get a coffee.

8-1536x1270.png

After it’s done, you’ll find the bitstream in your build/ folder. Right click and Download it.

9-1536x1270.png

Now, you just have to program your FPGA. We’re on a bring-your-own-programmer policy for now.

 

Programmer Recommendations

iCE40