Before revision: Based on the value of the counter, it access the input port day i, then its mapping information is obtained from the memory for the mapping.
After revision: Based on the value of the counter, it access the input port say i, then its mapping information is obtained from the memory for the mapping.