Searched refs:String (Results 1 - 25 of 203) sorted by relevance

123456789

/gem5/ext/dsent/model/std_cells/
H A DCellMacros.h42 static void addNor2(StdCell* cell_, const String& name_, bool sizable_, bool a1_to_zn_path_, bool a2_to_zn_path_,
43 const String& a1_net_, const String& a2_net_, const String& zn_net_);
45 static void updateNor2(StdCell* cell_, const String& name_, double normalized_size_);
49 static void addNand2(StdCell* cell_, const String& name_, bool sizable_, bool a1_to_zn_path_, bool a2_to_zn_path_,
50 const String& a1_net_, const String& a2_net_, const String& zn_net_);
52 static void updateNand2(StdCell* cell_, const String
[all...]
/gem5/ext/dsent/libutil/
H A DString.cc22 #include "String.h"
31 const unsigned int String::msBufferSize = 4096;
33 String String::format(const String& format_, ...)
42 return (String)(buffer);
45 String String::format(const String& format_, va_list args_)
51 return (String)(buffe
54 String::String() function in class:LibUtil::String
57 String::String(const string& str_) function in class:LibUtil::String
61 String::String(const char* str_, size_t n_) function in class:LibUtil::String
65 String::String(const char* str_) function in class:LibUtil::String
69 String::String(size_t n_, char c_) function in class:LibUtil::String
73 String::String(int value_) function in class:LibUtil::String
77 String::String(unsigned int value_) function in class:LibUtil::String
81 String::String(long value_) function in class:LibUtil::String
85 String::String(unsigned long value_) function in class:LibUtil::String
89 String::String(float value_) function in class:LibUtil::String
93 String::String(double value_) function in class:LibUtil::String
97 String::String(bool value_) function in class:LibUtil::String
[all...]
H A DConfig.h28 #include "libutil/String.h"
33 void readFile(const char *filename_, std::map<String, String> &config);
H A DString.h36 class String : public string class in namespace:LibUtil
39 static String format(const String& format_, ...);
40 static String format(const String& format_, va_list args_);
41 template<class T> static String toString(const T& value_);
42 static String toBitString(unsigned int value_, unsigned int num_bits_);
43 template<class T> static T fromString(const String& str_);
49 String();
50 String(cons
[all...]
H A DCalculator.h28 #include "String.h"
89 void evaluateString(const String& str_,
90 const std::map<String, String> &config,
98 const std::map<String, String> &config,
102 const std::map<String, String> &config,
106 const std::map<String, String>
[all...]
H A DLog.h29 #include "String.h"
42 static void allocate(const String& log_file_name_);
45 static void print(const String& str_);
46 static void print(std::ostream& stream_, const String& str_);
47 static void printLine(const String& str_);
48 static void printLine(std::ostream& stream_, const String& str_);
55 Log(const String& log_file_name_);
H A DConfig.cc31 void readFile(const char *filename_, map<String, String> &config)
37 typedef String::size_type pos;
38 const String& delimiter = "=";
39 const String& comment = "#";
40 const String& sentry = "End";
43 String nextline = ""; // might need to read ahead to see where value ends
48 String line;
65 if((sentry != "") && (line.find(sentry) != String::npos)) return;
72 ASSERT((delimPos < String
[all...]
H A DAssert.h25 #include "String.h"
36 const LibUtil::String& exception_msg = LibUtil::String::format("\nAt %s:%d\n", __FILE__, __LINE__) + (String)(msg_); \
/gem5/ext/dsent/model/
H A DModel.h71 Model(const String& instance_name_, const TechModel* tech_model_);
76 void setInstanceName(const String& instance_name_);
78 const String& getInstanceName() const;
85 void addParameterName(const String& parameter_name_);
86 void addParameterName(const String& parameter_name_, const String& parameter_default_);
87 const vector<String>* getParameterNames() const;
90 void addPropertyName(const String& property_name_);
91 void addPropertyName(const String& property_name_, const String
[all...]
H A DEventInfo.h35 EventInfo(const String& event_name_, const Map<PortInfo*>* port_infos_);
39 const String& getEventName() const;
40 void setTransitionInfo(const String& port_name_, const TransitionInfo& trans_info_);
41 void setStaticTransitionInfo(const String& port_name_);
44 const TransitionInfo& getTransitionInfo(const String& port_name_) const;
47 String m_event_name_;
H A DModelGen.h37 // Create the model corresponding to the given String
38 static Model* createModel(const String& model_name_, const String& instance_name_, const TechModel* tech_model_);
39 // Create the standard cell corresponding to the given String
40 static StdCell* createStdCell(const String& std_cell_name_, const String& instance_name_, const TechModel* tech_model_);
41 // Create the ram corresponding to the given String
42 static ElectricalModel* createRAM(const String& ram_name_, const String& instance_name_, const TechModel* tech_model_);
43 // Create the crossbar corresponding to the given String
[all...]
H A DElectricalModel.h45 ASSERT((end_index_ >= start_index_), (String)"[Error] Invalid net index range " +
47 "[" + (String)start_index_ + ":" + (String)end_index_ + "]");
58 // Helper function to trun NetIndex to String
59 inline String toString(const NetIndex& net_index_)
61 return "[" + String(net_index_.second) + ":" + String(net_index_.first) + "]";
69 ElectricalModel(const String& instance_name_, const TechModel* tech_model_);
76 void setAvailableDrivingStrengths(const String& driving_strengths_);
83 const NetIndex getNetReference(const String
[all...]
H A DOpticalModel.h47 ASSERT(end_index_ >= start_index_, (String) "[Error] Invalid wavelength group range " +
48 "[" + (String) start_index_ + ":" + (String) end_index_ + "]");
64 OpticalModel(const String& instance_name_, const TechModel* tech_model_);
80 void createOpticalInputPort(const String& name_, const WavelengthGroup& wavelengths_);
82 PortInfo* getOpticalInputPort(const String& name_);
83 const PortInfo* getOpticalInputPort(const String& name_) const;
86 void createOpticalOutputPort(const String& name_, const WavelengthGroup& wavelengths_);
88 PortInfo* getOpticalOutputPort(const String& name_);
89 const PortInfo* getOpticalOutputPort(const String
[all...]
H A DPortInfo.h34 PortInfo(const String& port_name_, const NetIndex& net_index_ = NetIndex(0, 0));
39 const String& getPortName() const;
49 String m_port_name_;
/gem5/src/mem/
H A DDRAMSim2.py49 deviceConfigFile = Param.String("ini/DDR3_micron_32M_8B_x8_sg15.ini",
51 systemConfigFile = Param.String("system.ini.example",
53 filePath = Param.String("ext/dramsim2/DRAMSim2/",
55 traceFile = Param.String("", "Output file for trace generation")
/gem5/ext/dsent/
H A DDSENT.h54 const String& var_name_,
55 const std::map<String, String> &Config,
60 std::map<String, String> &config);
62 void finalize(std::map<String, String> &config,
65 void run(const std::map<String, String> &config, Model *ms_model,
/gem5/ext/dsent/model/electrical/
H A DRippleAdder.cc34 RippleAdder::RippleAdder(const String& instance_name_, const TechModel* tech_model_)
65 createInputPort("A" + String(i));
66 createInputPort("B" + String(i));
67 createOutputPort("S" + String(i));
68 createNet("C" + String(i));
70 createNet("C" + String(number_bits));
80 assign("CO", "C" + String(number_bits));
83 String n = (String) i;
88 portConnect(adder, "A", "A" + String(
[all...]
H A DMultiplexer.cc36 Multiplexer::Multiplexer(const String& instance_name_, const TechModel* tech_model_)
80 createInputPort( "In" + (String) i, makeNetIndex(0, number_bits-1));
84 createInputPort( "Sel" + (String)i);
115 String mux0_name = "Mux_way0";
116 String mux1_name = "Mux_way1";
117 String muxf_name = "Mux2_i" + (String)number_inputs;
142 StdCell* selinv0 = getTechModel()->getStdCellLib()->createStdCell("INV", String::format("Sel%dInv0", i));
143 StdCell* selinv1 = getTechModel()->getStdCellLib()->createStdCell("INV", String::format("Sel%dInv1", i));
151 getEventResult("Mux")->addSubResult(selinv0->getEventResult("INV"), String
[all...]
H A DSeparableAllocator.cc29 SeparableAllocator::SeparableAllocator(const String& instance_name_, const TechModel* tech_model_)
70 const String& stage1_arbiter_model = getParameter("Stage1->ArbiterModel");
71 const String& stage2_arbiter_model = getParameter("Stage2->ArbiterModel");
86 createInputPort("Request" + (String)i, makeNetIndex(0, number_resources-1));
87 createOutputPort("Grant" + (String)i, makeNetIndex(0, number_resources-1));
97 ElectricalModel* arb = (ElectricalModel*)ModelGen::createModel(stage1_arbiter_model, "Stage1Arb" + (String)i, getTechModel());
106 createNet("Stage1Arb_In" + (String)i, makeNetIndex(0, number_resources-1));
107 createNet("Stage1Arb_Out" + (String)i, makeNetIndex(0, number_resources-1));
110 assign("Stage1Arb_In" + (String)i, "Request" + (String)
[all...]
/gem5/src/dev/virtio/
H A DVirtIO9P.py50 tag = Param.String("gem5", "Mount tag")
62 diod = Param.String("/usr/sbin/diod", "Path to diod")
63 root = Param.String("/tmp", "Path to export through diod")
64 socketPath = Param.String("Unused socket to diod")
70 server = Param.String("127.0.0.1", "9P server address or host name")
71 port = Param.String("564", "9P server port")
/gem5/src/sim/power/
H A DMathExprPowerModel.py51 dyn = Param.String("", "Expression for the dynamic power in Watts")
52 st = Param.String("", "Expression for the static power in Watts")
/gem5/src/sim/
H A DRedirectPath.py42 app_path = Param.String("/", "filesystem path from an app's perspective")
43 host_paths = VectorParam.String(["/"], "file path on host filesystem")
/gem5/src/arch/arm/
H A DArmSemihosting.py48 cmd_line = Param.String("", "Command line to report to guest");
49 stdin = Param.String("stdin",
51 stdout = Param.String("stdout",
53 stderr = Param.String("stderr",
/gem5/ext/dsent/tech/
H A DTechModel.h29 #include "libutil/String.h"
37 using LibUtil::String;
42 typedef std::set<String>::const_iterator ConstWireLayerIterator;
50 const String& get(const String& key_) const;
60 virtual void readFile(const String& filename_);
75 bool isWireLayerExist(const String& layer_name_) const;
76 const std::set<String>* getAvailableWireLayers() const;
78 double calculateWireCapacitance(const String& layer_name_, double width_, double spacing_, double length_) const;
80 double calculateWireResistance(const String
[all...]
/gem5/ext/dsent/util/
H A DResult.h28 #include "libutil/String.h"
36 using LibUtil::String;
44 SubResult(const Result* result_, const String& producer_, double num_results_);
49 const String& getProducer() const;
61 String m_producer_;
68 Result(const String& result_name_);
73 const String& getName() const;
75 void addSubResult(const Result* sub_result_, const String& result_producer_, double num_results_);
87 void print(const String& prepend_str_, int detail_level_, ostream& ost_) const;
89 void printHierarchy(const String
[all...]

Completed in 20 milliseconds

123456789