Renamed K -> Key.
Fixed all errors in quartus.