- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
how to draw a line between two point on VGA ( verilog code ) . when i click two point by mouse (ps2) on vga , it will auto connect between two .
please give me your idea . thanks!Lien copié
4 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
The common way is to draw on memory then display with a VGA from mem IP. Yet, you can draw directly with X,Y counters of the VGA output and conditioning the output: if(X == 5)RGBOut = color1; if(Y == 10)RGBOut = color2; and it gets more complicated for diagonals that would need raterisation.- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
--- Quote Start --- Hi, The common way is to draw on memory then display with a VGA from mem IP. Yet, you can draw directly with X,Y counters of the VGA output and conditioning the output: if(X == 5)RGBOut = color1; if(Y == 10)RGBOut = color2; and it gets more complicated for diagonals that would need raterisation. --- Quote End --- thanks you so much ! but , i have edited my answer ..... please
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
Does it "HAS" to be in Verilog only ? No C, no NIOS-II ? are you using some terasic boards ? In that case I would recommend using the NIOS_HOST_MOUSE_VGA project, I didn't work on project, but I expect it to be easier than going through Verilog.- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
--- Quote Start --- Hi, Does it "HAS" to be in Verilog only ? No C, no NIOS-II ? are you using some terasic boards ? In that case I would recommend using the NIOS_HOST_MOUSE_VGA project, I didn't work on project, but I expect it to be easier than going through Verilog. --- Quote End --- right ! use NIos easier than . but in my project only allowed use verilog , :( thanks for your comments ... if you have document about it , please share with me :

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable