Guest
I am working for a simple slot machine by using VHDL, the specifition
let me to show the duplicate numbers which is the result of the spin. It
could be many duplicates of the same number or different numbers have
appeared at least twice.
For example,
if the number is 278551 then there are two 5 to lit two LEDR
if the number is 578551 then there are three 5 to lit three LEDR
if the number is 278558 then there are two 5 and two 8 to lit four LEDR
if the number is 578558 then there are three 5 and two 8 to lit five
LEDR
if the number is 585885 then there are three 5 and three 8 to lit six
LEDR
if the number is 777777 then there are six 7 to lit six LEDR
So is there any simple way to implement this function? I was trying to
use FSM but it looks to complicated.
Needs some help
let me to show the duplicate numbers which is the result of the spin. It
could be many duplicates of the same number or different numbers have
appeared at least twice.
For example,
if the number is 278551 then there are two 5 to lit two LEDR
if the number is 578551 then there are three 5 to lit three LEDR
if the number is 278558 then there are two 5 and two 8 to lit four LEDR
if the number is 578558 then there are three 5 and two 8 to lit five
LEDR
if the number is 585885 then there are three 5 and three 8 to lit six
LEDR
if the number is 777777 then there are six 7 to lit six LEDR
So is there any simple way to implement this function? I was trying to
use FSM but it looks to complicated.
Needs some help