Hardware circuit with an VGA output that displays a simple clock on the screen.
cd spinalHDL
sbt run
Output is this Verilog file:
VgaClock.v
ToDo: Explain the following notes further
-
Copy
VgaClock.v
into the folderulx3s
-
cd ulx3s
-
Get oss-cad-suite and unpack (https://github.com/YosysHQ/oss-cad-suite-build/releases)
-
Set paths in makefile
-
make
-
make prog
-
Connect pins to VGA display / VGA connector cable
VGA FPGA ULX3S red GN[9] green GN[10] blue GN[11] H Sync GN[12] V Sync GN[13] GND GND
This drawing might help to understand the pixel counter comparisons in the code.