example code for the logi-boards from pong chu HDL book