Dangerous Prototypes

Other projects => Past projects => CPLD programmable logic => Topic started by: MichaelZ on March 18, 2011, 05:38:04 am

Title: PyroElectro-Create NTSC Video Output With VHDL
Post by: MichaelZ on March 18, 2011, 05:38:04 am
While poking around the PyroElectro website I ran across one of their tutorials Create NTSC Video Output With VHDL (http://http://www.pyroelectro.com/2011/02/04/create-ntsc-video-output-with-vhdl/).  I took the source "ntsc_TOP.vhd" and dropped it into a CoolRunner project.  I was able to get it to compile with the XC2C256-6-VQ100 device.  Anything smaller did not have enough resources.  The original project was done with a Virtex FPGA.  I did not do anything to the original vhd file which is one of the nice features of VHDL.  All I had to do is create a new project, select the device and add the ntsc_TOP source to the project.  Simple!  Obviously the pinout changes.

I have attached a zip of the ntsc_TOP.vhd and NTSC.xise files.

Enjoy.

McZ
Title: Re: PyroElectro-Create NTSC Video Output With VHDL
Post by: ian on March 18, 2011, 09:41:02 am
Interesting. I actually have a XC2C256-6-VQ144 dev board sitting here on my desk.

[s:]Would this also synthesize for a FPGA? My impression is that timing in a CPLD is easier and more predictable than FPGA, not that it matters for this application.[/s:] The answer is right there staring me in the face :)
Title: Re: PyroElectro-Create NTSC Video Output With VHDL
Post by: MichaelZ on March 18, 2011, 09:49:36 am
It should work for any FPGA/CPLD that has sufficient resources.  The original was done on a Xilinx Virtex FPGA but that was overkill and was just what he had on his bench. 

It does not do color but it should be possible to do text.
Title: Re: PyroElectro-Create NTSC Video Output With VHDL
Post by: ian on March 18, 2011, 09:51:42 am
Sorry about that. I read half way through, started messing with the dev-board, and then asked a stupid question that was answered right there :)
Title: Re: PyroElectro-Create NTSC Video Output With VHDL
Post by: MichaelZ on March 18, 2011, 09:56:59 am
It is early.
Title: Re: PyroElectro-Create NTSC Video Output With VHDL
Post by: ian on March 18, 2011, 09:58:55 am
So it will get worse? ;)
Title: Re: PyroElectro-Create NTSC Video Output With VHDL
Post by: MichaelZ on March 18, 2011, 10:08:06 am
Yupp.  There earlier you fall behind the sooner you can catch up.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01092070736session_write_close ( )...(null):0
20.01122202328ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01122203104Database_MySQL->query( ).../DatabaseHandler.php:119
40.05762341840Database_MySQL->error( ).../Db-mysql.class.php:273