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

Add VGA module to atlys_video target #279

Closed
wants to merge 1 commit into from

Conversation

rohitk-singh
Copy link
Member

Modify atlys_video target to include VGAIn module.

Also, we now inherit BaseSoC explicitly instead of MiniSoC
Warning: might affect hdmi2eth & hdmi2usb targets which inherit CustomVideoMixerSoCclass from this file(?) They seem to build fine though

VGAIn modules gives VGA capture functionality to atlys.
Also, we are now inheriting BaseSoC class directly instead of
MinoSoC class because VGA signals' 3.3V logic-level conflicts
with ethernet's 2.5V logic-level.

MiniSoC instantiates ethernet modules so we arebypassing it
and inheriting BaseSoC class.
@mithro mithro changed the title Add vga module to atlys_video target Add VGA module to atlys_video target Aug 7, 2016
@mithro
Copy link
Member

mithro commented Aug 7, 2016

https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/jobs/150325487

  File "/home/travis/build/timvideos/HDMI2USB-misoc-firmware/targets/atlys_video.py", line 2, in <module>
    from gateware.vga import VGAIn
ImportError: No module named 'gateware.vga'
make: *** [firmware-lm32] Error 1

@mithro
Copy link
Member

mithro commented Aug 7, 2016

I think we should rebase this change on top of #280



def CreateVideoMixerSoC(base):

class CustomVideoMixerSoC(base):
csr_peripherals = (
"i2c",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rename this to "vga_i2c"?

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

Successfully merging this pull request may close these issues.

None yet

2 participants