Display binary image on vga using VHDL

Guest #6638182
1. Too few information given.

2. Wild guess:

The Image is stored in blocks. The addressing of the image memory lags 
behind or the data is behind and so for some clocks old data is being 
put on the lines.
But it is strange that the lines are on both sides of the caracters. 
Something went horrible wrong.

Did you do simulation? What if you just output a white rectangle, is 
that ok?
How is the signal path inside the FPGA, where is the image stored, how 
do you output it and what external electronics is involved? Is it 
classic VGA or do you just mean the resolution and it is HDMI/DP/...?

Is the Image supposed to look green? Where is the original image? Maybe 
the lines are an artistic sideeffect?
Moderator (Company: Titel) #6638264
ElectroCataru wrote:
> How can i get rid of the lines?
First is to find out: where do they come from?

> How can i get rid of the lines?
Are they static? Or do they change?

> I just wanna display "PONG" text.
On what platform with what hardware?

> I just wanna display "PONG" text.
Where does this "PONG" text come from?
Do you have 5 bitmaps of those 5 characters somewhere in memory?
Guest #6638672
Are they static? Or do they change?

are static

On what platform with what hardware?

using a basys 3 and a 1024x768 monitor


Do you have 5 bitmaps of those 5 characters somewhere in memory?

i use this site https://www.dcode.fr/binary-image to convert a photo 
(jpg) in binary.
Guest #6638677
FPGA NOTFALLSEELSORGE wrote:
> 1. Too few information given.
>
> 2. Wild guess:
>
> The Image is stored in blocks. The addressing of the image memory lags
> behind or the data is behind and so for some clocks old data is being
> put on the lines.
> But it is strange that the lines are on both sides of the caracters.
> Something went horrible wrong.
>



> Did you do simulation? What if you just output a white rectangle, is
> that ok?
> How is the signal path inside the FPGA, where is the image stored, how
> do you output it and what external electronics is involved? Is it
> classic VGA or do you just mean the resolution and it is HDMI/DP/...?
>

classic VGA, with bitmap


> Is the Image supposed to look green? Where is the original image? Maybe
> the lines are an artistic sideeffect?

yes, it's supposed to look green.
Moderator (Company: Titel) #6639133
ElectroCataru wrote:
>> Are they static? Or do they change?
> are static
You have the traditional "off-by-one" problem due to latency.


> i use this site https://www.dcode.fr/binary-image to convert a photo
> (jpg) in binary.
Try out some test patterns: half black/half white with top/bottom and 
left/right. Try vertical/horizontal lines with one pixel width. Or any 
other repeating pattern like squares or hatches.

Try to find out a behaviour and dig this out in simulation.

Reply

A question of your own? This thread is over 5 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.