prototype and global vars declarations
wire assignment of provided port
wire functions content done