Author Topic: Artix-7 Cmod-A7 / Arty 7 HDMI output  (Read 5689 times)

0 Members and 1 Guest are viewing this topic.

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Artix-7 Cmod-A7 / Arty 7 HDMI output
« on: April 14, 2018, 03:44:47 pm »
Evenin' (o;

Just got my Cmod-A7 board this week....and of course tried the design from hamsterwork driving a HDMI monitor at 1080p@60
The color bar looks  rather strange though:

http://fpga.ch/images/blog/IMG_0451.jpg

Maybe the Cmod-A7 with speed grade 1 is not up to this?

« Last Edit: April 18, 2018, 12:24:40 pm by davorin »
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9007
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Cmod-A7 HDMI output
« Reply #1 on: April 14, 2018, 04:10:24 pm »
I'm a bit surprised you were about to get sync on a HDMI signal through a breadboard. And that's probably causing your signal integrity issues.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Cmod-A7 HDMI output
« Reply #2 on: April 14, 2018, 09:50:43 pm »
Well in the beginning the monitor didn't showed anything but the LED showed it synced to the signal...after twisting all +/- wires the display was stable ;-)

Have to dig into the original VHDL design...and probably convert it to Verilog as I am not very familiar with VHDL (I come from the electronic design).
Gonna try with just plain colours tomorrow..but this Vivado software takes takes ages to synthesize, P&R and even longer to just write a bitmap file....around 10 times it takes with Quartus...

 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2730
  • Country: ca
Re: Cmod-A7 HDMI output
« Reply #3 on: April 14, 2018, 10:39:56 pm »
1.5 Gbps lines through breadboard? Surprised it works at all.
« Last Edit: April 15, 2018, 11:46:34 am by asmi »
 
The following users thanked this post: NiHaoMike

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Cmod-A7 HDMI output
« Reply #4 on: April 15, 2018, 02:21:43 am »
Impressed! I would love to know if 640x480 works well.

Based on specs an Artix7 should not do 1080p on the SelectIO pins - even on the fastest grades they are only rated at 1.25Gb/s.
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Cmod-A7 HDMI output
« Reply #5 on: April 15, 2018, 07:09:54 am »
Well it is actually based on your example design where you proofed an Artix-7 can do 1080p:

http://hamsterworks.co.nz/mediawiki/index.php/Artix_7_1080p

Why shouldn't it do 640x480 then? It is way faster than a MAX10 which can only do 800x600 TDMS or maybe 1024x768...
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Cmod-A7 HDMI output
« Reply #6 on: April 15, 2018, 07:31:29 am »
I was more wondering if the picture would display without errors at 640x480 given the breadboard, wire jumpers and so on.

I couldn't get anything much better than 1024x768 to work through 0.1" pin headers, so I am surprised you get a picture at 1080p at all!

Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Cmod-A7 HDMI output
« Reply #7 on: April 15, 2018, 07:34:14 am »
Well I did get a picture only after twisting the LVDS pair cables...and the 4 LVDS pairs are all on the same side...

And it still syncs after the night being powered on...but will try a 640x480 picture today...


BTW: Can't the 4 GTP transceivers be used for TDMS generation? Thought they can do 8b/10b serialization...

 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Cmod-A7 HDMI output
« Reply #8 on: April 15, 2018, 12:06:20 pm »
Stupid me...the Cmod-A7 35T device has only 2 GTP transceivers...but my Arty-7 board should have...

I have  HDMI output at 640x480 but with noisy pixels (whereas the same design with 800x600 on MAX10 shows no noise)...and with the sample design from the Maximator MAX10 board....so no SERDES is used and there is no option (or I don't know) how to specify the outputs as TDMS33.

 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Cmod-A7 HDMI output
« Reply #9 on: April 15, 2018, 01:01:46 pm »
Modified your vga code to just display grey bars from the counter register...and as it displays 7.5 bars it really seems to output 1080p@60 (o;

Sad the Cmod-A7 has too few pins laid out to the header to also have HDMI input....

 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2730
  • Country: ca
Re: Cmod-A7 HDMI output
« Reply #10 on: April 15, 2018, 11:29:43 pm »
Stupid me...the Cmod-A7 35T device has only 2 GTP transceivers...but my Arty-7 board should have...
MGTs are not broken out on that board, but even if they were, you can't use them for HDMI TX because they are electrically incompatible. You can do DisplayPort though - MGTs natively support it, and it will work super-fast.
The FPGA on Arty board doesn't have any MGTs.

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Cmod-A7 HDMI output
« Reply #11 on: April 18, 2018, 12:24:16 pm »
Hmm...too bad....but at least my Arty 7 board can also do HDMI 1080p@60 on one of the two high speed PMod connectors ;-)

Have to see if the HDMI input and output together would work as well....
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2730
  • Country: ca
Re: Cmod-A7 HDMI output
« Reply #12 on: April 18, 2018, 03:45:29 pm »
Hmm...too bad....but at least my Arty 7 board can also do HDMI 1080p@60 on one of the two high speed PMod connectors ;-)
A small hint - try using Ethernet cable instead of loose wires for wiring up your breakout. This cable contains 4 twisted pairs, so each pair needs to connect to DN+/DN- lines. It should provide higher signal integrity. I would even solder Ethernet cable directly to HDMI connector pins. Just make sure you remember which wires go where!

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Artix-7 Cmod-A7 / Arty 7 HDMI output
« Reply #13 on: April 19, 2018, 08:53:07 am »
That's actually a good idea ;-)

Though I think to do a small PCB with two HDMI connectors and maybe some others.......but first had to convert the whole VHDL design into Verilog as I am more familiar with it (o;

Now let's see if I can put in my old PacMan or Zaxxon design....


BTW: Are there any affordable Artix 7 boards with GTP transceivers available for use? Maybe for testing DP?
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 922
  • Country: ch
Re: Artix-7 Cmod-A7 / Arty 7 HDMI output
« Reply #14 on: April 21, 2018, 12:43:36 pm »
This comes now close to a professional HDMI add-on PCB (o;

Now wiring the second HDMI as sink and see if I can use this board for the hamsterworks HDMI processing as well: http://hamsterworks.co.nz/mediawiki/index.php/HDMI_Processing

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf