12namespace core_example{
32 PARAMETER(
bool, fastpoll,
true,
"FASTPOLL configuration enable")
33 PARAMETER(
bool, out_of_order_execution,
false,
"Execution Order")
34 PARAMETER(uint32_t, superscalar_degree, 4,
"Degree of ILP")
35 PARAMETER(uint32_t, nettype, 3,
"NETTYPE configuration parameter")
36 PARAMETER(uint32_t, ds_max_query, 2,
"Max number of parallel decision support queries")
37 PARAMETER(uint32_t, max_pdq_priority, 4,
"Percentage of parallel database query resources")
38 PARAMETER(uint32_t, ds_max_scans, 8,
"Number of PDQ scan threads running concurrently")
39 PARAMETER(
double, frequency_ghz, 1.2,
"CPU Clock frequency")
40 PARAMETER(std::string, vpclass,
"4 Virtual processors of AIO VPclass",
"Virtual Processor")
44 static constexpr char name[] =
"cpu";
60 bool out_of_order_execution_;
61 uint32_t superscalar_degree_;
63 uint32_t ds_max_query_;
64 uint32_t max_pdq_priority_;
65 uint32_t ds_max_scans_;
66 double frequency_ghz_;
A set of sparta::Parameters per sparta::ResourceTreeNode.
#define PARAMETER(type, name, def, doc)
Parameter declaration.
Basic Node framework in sparta device tree composite pattern.
File that defines the Unit class, a common grouping of sets and loggers.
Parameters for CPU model.
~CPU()
Destructor of the CPU Unit.
static constexpr char name[]
Name of this resource. Required by sparta::UnitFactory.
Generic container of Parameters.
Node in a composite tree representing a sparta Tree item.
The is the base class for user defined blocks in simulation.