update GPIO code with verlogHDL code