M
Mike Lundy
Hi. I'm an EE student, and our class is currently working on a lab that
involves VGA output. (This question does in fact relate to homework, but
helping me out here is not enabling me to cheat- you'll just have to
take my word for that. Just wanted to get that out of the way first).
Anyway. VGA output. We're using a Xilinx Spartan-3[1] board. I'm just
learning how to output vga, but I seem to be having a problem getting a
solid color to output- if I output a stripe taller than a certain
length, the signal begins to fade, eventually to black. At the moment,
I'm outputting a rectangle framed by the pixels (x,y) (0,0 @ UL) :
(0,200) -> (640,300). I've adjusted for the porch ranges.
~60Hz Vsync, ~31.2KHz Hsync.
The band is a roughly linear gradient over the vertical range. I'm not
sure what I'm supposed to do to get it to output one solid color. We're
doing this in VHDL, but I'm really looking for understanding, not code
(unless that code aids understanding )
Thanks bunches,
Mike Lundy
1) Datasheet here, if you care:
http://www.digilentinc.com/Data/Products/S3BOARD/S3BOARD-rm.pdf
Basically, we get 1 bit each for RGB, plus Hs/Vs.
involves VGA output. (This question does in fact relate to homework, but
helping me out here is not enabling me to cheat- you'll just have to
take my word for that. Just wanted to get that out of the way first).
Anyway. VGA output. We're using a Xilinx Spartan-3[1] board. I'm just
learning how to output vga, but I seem to be having a problem getting a
solid color to output- if I output a stripe taller than a certain
length, the signal begins to fade, eventually to black. At the moment,
I'm outputting a rectangle framed by the pixels (x,y) (0,0 @ UL) :
(0,200) -> (640,300). I've adjusted for the porch ranges.
~60Hz Vsync, ~31.2KHz Hsync.
The band is a roughly linear gradient over the vertical range. I'm not
sure what I'm supposed to do to get it to output one solid color. We're
doing this in VHDL, but I'm really looking for understanding, not code
(unless that code aids understanding )
Thanks bunches,
Mike Lundy
1) Datasheet here, if you care:
http://www.digilentinc.com/Data/Products/S3BOARD/S3BOARD-rm.pdf
Basically, we get 1 bit each for RGB, plus Hs/Vs.