Updated ROM for proper synthesis