Digital Logic Simulation with CPLD Programmin