Gal 16v8 die

Hi, i need some help with a project based on gal16v8 . The project is acctually a electronic die and simple generate a number between 1 and 7 only then the clock is stopped.The program that i must work with is ispLEVER Classic. I would be glad If anyone can help me with some information about this and with some source codes.
Thanks, kta