example code for MyHDL project