Enum gpcas_cpu_model::component_config::CacheType[][src]

pub enum CacheType {
    Multiplexed(usize),
    MultiPorted(usize),
    SinglePorted,
}
Expand description

How a cache handles its CPU side ports.

Variants

Multiplexed(usize)

Has multiple ports, only one port can access the cache in any clock cycle. Priority is in descending order.

Tuple Fields of Multiplexed

0: usize
MultiPorted(usize)

Has multiple ports, each port can access the cache concurrently.

Tuple Fields of MultiPorted

0: usize
SinglePorted

Has a single port.

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.