orca-sim
|
Models a generic hardware model. More...
#include <Model.hpp>
Public Member Functions | |
a name that identifies the model, advisably not empty. | |
Default ctor. | |
Model (std::string name) | |
std::string | GetName () |
Getter method for the <_name> field. More... | |
void | SetName (std::string s) |
Setter method for the <_name> field. More... | |
virtual | ~Model ()=0 |
Virtual destructor, must implement by subclass. More... | |
Private Attributes | |
std::string | _name |
A name for the model. More... | |
Models a generic hardware model.
Models usually correspond to modules, which can be include any kind of hardware. Since not all the hardware behaviour is considered for simulation, we designed models to be either timed, when they obey to some clock domain, or untimed, when their clock is irrelevant for the simulation. See <TimedModel> and <UntimedModel>.
|
pure virtual |
std::string Model::GetName | ( | ) |
void Model::SetName | ( | std::string | s | ) |
|
private |