Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source code for the VGA bit stream #1

Open
wdevore opened this issue Jul 30, 2022 · 4 comments
Open

Source code for the VGA bit stream #1

wdevore opened this issue Jul 30, 2022 · 4 comments

Comments

@wdevore
Copy link

wdevore commented Jul 30, 2022

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

@machdyne
Copy link
Owner

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
Copy link
Author

wdevore commented Jul 30, 2022

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

@machdyne
Copy link
Owner

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
Copy link
Author

wdevore commented Jul 30, 2022

Excellent, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants