Merge the two encoder ROMs into a single ROM. Fix issue in synthesis script.