Class simtix::FixedLatencyUnit
ClassList > simtix > FixedLatencyUnit
Inherits the following classes: simtix::BaseFunctionUnit
Public Functions
Type | Name |
---|---|
virtual bool | Busy () override |
FixedLatencyUnit (const std::string & name, uint32_t latency, bool pipelined=true) |
|
virtual std::optional< InstrPtr > | Get () override |
virtual bool | Put (InstrPtr instr) override |
Public Functions inherited from simtix::BaseFunctionUnit
Type | Name |
---|---|
virtual bool | Busy () = 0 |
virtual std::optional< InstrPtr > | Get () = 0 |
virtual bool | Put (InstrPtr instr) = 0 |
virtual | ~BaseFunctionUnit () = default |
Protected Attributes
Type | Name |
---|---|
std::unique_ptr< sim::GenericDelayQueue< InstrPtr > > | delay_queue_ |
uint32_t | latency_ |
Public Functions Documentation
function Busy
Implements simtix::BaseFunctionUnit::Busy
function FixedLatencyUnit
explicit simtix::FixedLatencyUnit::FixedLatencyUnit (
const std::string & name,
uint32_t latency,
bool pipelined=true
)
function Get
Implements simtix::BaseFunctionUnit::Get
function Put
Implements simtix::BaseFunctionUnit::Put
Protected Attributes Documentation
variable delay_queue_
variable latency_
The documentation for this class was generated from the following file projects/simtix/src/simtix/sm/fu/fixed_latency_unit.h