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

need help- random numbers 0-3

Altera_Forum
Honored Contributor II
1,107 Views

Hey,  

 

My project is a game that lunches 4 balls up and it shown in UART (640X480), the clk in is 50 MHZ.  

 

My problem is a machine that enabling 1 ball in every 1 second in random.  

 

Also if I enabling 1 ball and that machine enabling me the same ball again it cuts that ball and it sends it to the start. How can i make it see 2 ball on the UART?  

 

Another problem I have is a detector, instead of pushing button number 1 for ball number 1 I want that if I click on number 1 on PS2 it will do the same work on ball number 1 (like the button).  

 

hope you can help me.  

thx!  

:)
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
400 Views

Maybe this will help you... :)  

 

http://www.alteraforum.com/forum/showthread.php?t=23107
0 Kudos
Reply