Skip to main content

HartConfig

Trait HartConfig 

Source
pub trait HartConfig:
    Debug
    + Copy
    + Eq
    + Send
    + Sync
    + 'static {
    type Reg: Register;
}
Expand description

Hart configuration of an implementation that instruction enums are generic over.

It is implemented by marker types, describing properties of the implementation that instructions depend on, like the register type.

Required Associated Types§

Source

type Reg: Register

General purpose register type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Reg, const ELEN: Elen, const VLEN: Vlen> HartConfig for BasicVectorHart<Reg, ELEN, VLEN>
where Reg: Register,

Source§

type Reg = Reg

Source§

impl<Reg> HartConfig for BasicHart<Reg>
where Reg: Register,

Source§

type Reg = Reg