fix(vhdl,DesyListener): Fix mem instance case RO, fix register width when gap
-
When mem is read only, do not connect wen and wdata. They are not declared in package.
-
Uses the maximum field high bit index.
-
This gives the real width even when register is sparse (ie only bit 31 used)