machdyne / schoko

Schoko Computer
Other
11 stars 4 forks source link

Source code for the VGA bit stream #1

Open wdevore opened 2 years ago

wdevore commented 2 years ago

Is the HDL source code available and more importantly a complete PCF file? Thanks.

machdyne commented 2 years ago

I've updated the schoko_v1.lpf file, it should now be complete. It was partially generated by LiteX from this file:

litex_boards/platforms/machdyne_schoko.py

The images/v1_vga/schoko.bit bitstream was generated by linux-on-litex-vexriscv after enabling the "VGA Framebuffer" and disabling the "DDMI Framebuffer" section in this file:

litex_boards/targets/machdyne_schoko.py

If you want to customize/build the bitstream yourself there are some instructions for Building Linux.

There's also instructions for using LiteX to build simpler gateware if you don't want to run Linux but still want the LiteX CPUs, SDRAM controller, framebuffer, etc.

We don't have any non-LiteX examples so far beyond the blinky in this repo.

wdevore commented 2 years ago

Okay, cool. I'll checkout the .lpf file, although I'm not that familiar with .lpf files. How similar are they to .pcf?

machdyne commented 2 years ago

The purpose is similar but LPF has different syntax and options for ECP5.

There's bit more detail here:

https://github.com/YosysHQ/nextpnr/blob/master/docs/constraints.md

wdevore commented 2 years ago

Excellent, thanks.