import random


def generate_rom_data(word_count):
    """
    Generates a list of 32-bit words that are to be put into ROM memory
    """

    rom_data = []
    random.seed(123456, version=2)  # A fixed seed

    for i in range(word_count):

        #        # Simple sequence of monotonically increasing numbers
        #        v0 = 2*i
        #        v1 = 2*i+1

        # Pseudo-random numbers
        v0 = int(random.random() * 65536.0)
        v1 = int(random.random() * 65536.0)

        # Pack as big endian
        data_word = v0 << 16
        data_word |= v1

        rom_data.append(data_word)

    return rom_data