Class RegisterMapping<E extends Struct<?>,​A extends Address<?>>

    • Constructor Detail

      • RegisterMapping

        public RegisterMapping​(Struct<E> entryCreator,
                               Address<A> addressCreator,
                               java.lang.String name,
                               java.math.BigInteger length,
                               int associativity,
                               CachePolicy policy,
                               Indexer<A> indexer,
                               Matcher<E,​A> matcher)
        Constructs a register-mapped buffer of the given length and associativity.
        Parameters:
        entryCreator - the entry creator.
        addressCreator - the address creator.
        name - the name of the register file mapped to the buffer.
        length - the number of sets in the buffer.
        associativity - the number of lines in each set.
        policy - the cache policy.
        indexer - the set indexer.
        matcher - the line matcher.