Fix I/O assignments
Use binary for mask values
Add port descriptions