.
american roulette algorithm cpld