The following linear feed-back shift register (LFSR) is used for random address or data generation.
Figure 1. LFSR

Initially, the C0 to C15 flops are loaded with the input seed value. Later, it behaves as a shift register as per the architecture.