Changed implementation to use Verilog array.
Changed size of key address. Fixed all instances.