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

factor out VGAResource (rev. 1) #160

Merged
merged 1 commit into from May 31, 2021

Conversation

StephanvanSchaik
Copy link
Contributor

Uses the hs and vs naming instead of hsync and vsync used by the previous pull request to break compatibility a little bit less as most boards, but unfortunately not all, are using hs and vs.

The following boards all feature a VGA port with an R2R DAC that is directly connected to the FPGA.

  • DE0
  • DE0-CV
  • DE10-Lite
  • Genesys2
  • Mercury
  • MiSTer
  • Nexys4DDR
  • RZEasyFPGAA2.2

The following commit factors out this resource into a VGAResource function and replaces any generic instance using Resource of such a VGA resource with a call to VGAResource instead. As some boards require an inverted signal for the horizontal and vertical sync pins, the VGAResource function also features an invert_sync parameter to invert the synchronization signals. This addresses issue #127.

@whitequark whitequark merged commit 08b1b95 into amaranth-lang:master May 31, 2021
@StephanvanSchaik StephanvanSchaik deleted the vga branch June 5, 2021 12:39
@whitequark whitequark mentioned this pull request Sep 17, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants