Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

game using verilog coding and altera de2-70 board with touch screen

Altera_Forum
Honored Contributor II
2,838 Views

hello...im newbie here..i need some help for my project..i need to do game using verilog code and altera de2-70 board with touch screen..now, im a little bit confuse what i must to do first? anybody can help me with a specific answer? tq

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,350 Views

Hi Sya: 

 

I'm assuming you have a DE2 board already. Typically these come with example builds. If it has an example that uses the touchscreen already, it probably has a NIOS CPU already instantiated. This pretty much is the hardware aspect of your design. Once you get the CPU and video running, you then program the game like you would do on any other CPU. If the demo is already running on linux, stick with that as the base system. If it's running more bare bones or an embedded OS like micrium, try to see if you can figure out how they are writing to the frame buffer, and using the touch input. Most likely, they'll have the hard work done for you already. 

 

Pete
0 Kudos
Altera_Forum
Honored Contributor II
1,350 Views

tq pete,,but i not familiar with NIOS..so i little bit confuse about that..besides,is it possible if i jez use verilog coding? and do u know how i can see an example coding of touch screen

0 Kudos
Altera_Forum
Honored Contributor II
1,350 Views

Hi Sya: 

 

NIOS is an Altera cpu that is scalable from low performance, small size, to mid performance, and capabilities but with a larger footprint. In ARM cpu terms, think it's capable of ARM Cortex M0 - M4 capabilities. It great for many embedded projects, but doesn't have the performance of the higher end ARM processors like the A9 and above families. 

 

 

You can attempt to go with a complete verilog solution, and if it's required, you will need to do it.. It is possible. 

 

I have never did any verilog code to run a touch screen strictly from RTL, so I can't help you there. 

 

Pete
0 Kudos
Reply