Commit 0a16126
committed
copilot: Add hello world example for FPGA. Refs #657.
We need an example that demonstrates how to work with FPGAs using Copilot. This
will help users start with copilot-bluespec, and also help validate our work.
This commit adds a hello world example that demonstrates how to control 4 LEDs
from 4 switches. The tutorial describes how to install Vivado, create the spec,
compile it (in bluespec and then verilog), and upload it to the board.1 parent 2f8ae35 commit 0a16126
File tree
5 files changed
+685
-0
lines changed- copilot/examples/fpga/HelloWorld
5 files changed
+685
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments