/gem5/ext/googletest/googletest/test/ |
H A D | gtest-tuple_test.cc | 38 using ::std::tr1::get; 124 EXPECT_EQ(n, get<1>(t)) 128 // the & operator for the return type of get<>(). 129 EXPECT_EQ(&n, &(get<1>(t))) 133 get<1>(t) = 2; 151 EXPECT_EQ(0, get<0>(b1)); 155 EXPECT_EQ(0, get<0>(b2)); 156 EXPECT_EQ(0.0, get<1>(b2)); 160 EXPECT_EQ(0.0, get<0>(b3)); 161 EXPECT_EQ('\0', get< [all...] |
/gem5/ext/dsent/model/std_cells/ |
H A D | DFFQ.cc | 115 getLoad("D_Cap")->setLoadCap(cache->get(cell_name + "->Cap->D")); 116 getLoad("CK_Cap")->setLoadCap(cache->get(cell_name + "->Cap->CK")); 117 getDriver("Q_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Q")); 118 getDelay("CK_to_Q_delay")->setDelay(cache->get(cell_name + "->Delay->CK_to_Q")); 119 getDelay("D_Setup_delay")->setDelay(cache->get(cell_name + "->Delay->D_Setup")); 122 getAreaResult("Active")->setValue(cache->get(cell_name + "->Area->Active")); 123 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->Area->Metal1Wire")); 142 // Propagate the transition info and get P_D, P_M, and P_Q 154 leakage += cache->get(cell_name + "->Leakage->!D!CK!Q") * (1 - P_D) * (1 - P_CK) * (1 - P_Q); 155 leakage += cache->get(cell_nam [all...] |
H A D | LATQ.cc | 109 getLoad("D_Cap")->setLoadCap(cache->get(cell_name + "->Cap->D")); 110 getLoad("G_Cap")->setLoadCap(cache->get(cell_name + "->Cap->G")); 111 getDriver("Q_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Q")); 112 getDelay("G_to_Q_delay")->setDelay(cache->get(cell_name + "->Delay->G_to_Q")); 113 getDelay("D_to_Q_delay")->setDelay(cache->get(cell_name + "->Delay->D_to_Q")); 116 getAreaResult("Active")->setValue(cache->get(cell_name + "->Area->Active")); 117 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->Area->Metal1Wire")); 136 // Propagate the transition info and get P_D, P_M, and P_Q 147 leakage += cache->get(cell_name + "->Leakage->!D!G!Q") * (1 - P_D) * (1 - P_G) * (1 - P_Q); 148 leakage += cache->get(cell_nam [all...] |
H A D | ADDF.cc | 132 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 133 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 134 getLoad("CI_Cap")->setLoadCap(cache->get(cell_name + "->Cap->CI")); 136 getDelay("A_to_S_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_S")); 137 getDelay("B_to_S_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_S")); 138 getDelay("CI_to_S_delay")->setDelay(cache->get(cell_name + "->Delay->CI_to_S")); 139 getDelay("A_to_CO_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_CO")); 140 getDelay("B_to_CO_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_CO")); 141 getDelay("CI_to_CO_delay")->setDelay(cache->get(cell_name + "->Delay->CI_to_CO")); 143 getDriver("S_Ron")->setOutputRes(cache->get(cell_nam [all...] |
H A D | MUX2.cc | 112 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 113 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 114 getLoad("S0_Cap")->setLoadCap(cache->get(cell_name + "->Cap->S0")); 116 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 117 getDelay("B_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_Y")); 118 getDelay("S0_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->S0_to_Y")); 120 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 123 getAreaResult("Active")->setValue(cache->get(cell_name + "->ActiveArea")); 124 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->ActiveArea")); 143 // Propagate the transition and get th [all...] |
H A D | XOR2.cc | 105 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 106 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 108 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 109 getDelay("B_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_Y")); 111 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 114 getAreaResult("Active")->setValue(cache->get(cell_name + "->ActiveArea")); 115 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->ActiveArea")); 134 // Propagate the transition info and get the 0->1 transtion count 144 leakage += cache->get(cell_name + "->Leakage->!A!B") * (1 - P_A) * (1 - P_B); 145 leakage += cache->get(cell_nam [all...] |
H A D | BUF.cc | 93 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 94 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 95 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 98 getAreaResult("Active")->setValue(cache->get(cell_name + "->ActiveArea")); 99 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->ActiveArea")); 118 // Propagate the transition info and get the 0->1 transtion count 125 leakage += cache->get(cell_name + "->Leakage->!A") * (1 - P_A); 126 leakage += cache->get(cell_name + "->Leakage->A") * P_A; 130 double vdd = getTechModel()->get("Vdd"); 133 double y_b_cap = cache->get(cell_nam [all...] |
H A D | AND2.cc | 106 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 107 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 108 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 109 getDelay("B_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_Y")); 110 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 113 getAreaResult("Active")->setValue(cache->get(cell_name + "->ActiveArea")); 114 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->ActiveArea")); 133 // Propagate the transition info and get the 0->1 transtion count 141 leakage += cache->get(cell_name + "->Leakage->!A!B") * (1 - P_A) * (1 - P_B); 142 leakage += cache->get(cell_nam [all...] |
H A D | INV.cc | 101 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 102 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 103 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 106 getAreaResult("Active")->setValue(cache->get(cell_name + "->Area->Active")); 107 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->Area->Metal1Wire")); 126 // Propagate the transition info and get the 0->1 transtion count 133 leakage += cache->get(cell_name + "->Leakage->!A") * (1 - P_A); 134 leakage += cache->get(cell_name + "->Leakage->A") * P_A; 138 double vdd = getTechModel()->get("Vdd"); 141 //double a_cap = cache->get(cell_nam [all...] |
H A D | OR2.cc | 101 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 102 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 103 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 104 getDelay("B_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_Y")); 105 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 108 getAreaResult("Active")->setValue(cache->get(cell_name + "->ActiveArea")); 109 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->ActiveArea")); 128 // Propagate the transition info and get the 0->1 transtion count 136 leakage += cache->get(cell_name + "->Leakage->!A!B") * (1 - P_A) * (1 - P_B); 137 leakage += cache->get(cell_nam [all...] |
H A D | NAND2.cc | 108 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 109 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 110 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 111 getDelay("B_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_Y")); 112 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 115 getAreaResult("Active")->setValue(cache->get(cell_name + "->Area->Active")); 116 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->Area->Active")); 130 // Propagate the transition info and get the 0->1 transtion count 138 leakage += cache->get(cell_name + "->Leakage->!A!B") * (1 - P_A) * (1 - P_B); 139 leakage += cache->get(cell_nam [all...] |
H A D | NOR2.cc | 108 getLoad("A_Cap")->setLoadCap(cache->get(cell_name + "->Cap->A")); 109 getLoad("B_Cap")->setLoadCap(cache->get(cell_name + "->Cap->B")); 110 getDelay("A_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->A_to_Y")); 111 getDelay("B_to_Y_delay")->setDelay(cache->get(cell_name + "->Delay->B_to_Y")); 112 getDriver("Y_Ron")->setOutputRes(cache->get(cell_name + "->DriveRes->Y")); 115 getAreaResult("Active")->setValue(cache->get(cell_name + "->ActiveArea")); 116 getAreaResult("Metal1Wire")->setValue(cache->get(cell_name + "->ActiveArea")); 130 // Propagate the transition info and get the 0->1 transtion count 138 leakage += cache->get(cell_name + "->Leakage->!A!B") * (1 - P_A) * (1 - P_B); 139 leakage += cache->get(cell_nam [all...] |
/gem5/ext/dsent/model/optical/ |
H A D | RingDetector.cc | 127 unsigned int number_wavelengths = getGenProperties()->get("NumberWavelengths"); 130 double ring_area = getTechModel()->get("Ring->Area"); 131 double thru_loss = getTechModel()->get("Ring->ThroughLoss"); 132 double drop_loss = getTechModel()->get("Ring->DropLoss"); 133 double pd_loss = getTechModel()->get("Photodetector->Loss"); 134 double pd_responsivity = getTechModel()->get("Photodetector->Responsivity"); 159 unsigned int number_wavelengths = getGenProperties()->get("NumberWavelengths"); 165 double vdd = getTechModel()->get("Vdd"); 167 double unit_gate_cap = getTechModel()->get("Gate->MinWidth").toDouble() * getTechModel()->get("Gat [all...] |
H A D | RingModulator.cc | 130 int number_wavelengths = getGenProperties()->get("NumberWavelengths"); 133 double ring_area = getTechModel()->get("Ring->Area").toDouble(); 134 double thru_loss = getTechModel()->get("Ring->ThroughLoss").toDouble(); 154 // Propagate the transition info and get the 0->1 transtion count 160 int number_wavelengths = getGenProperties()->get("NumberWavelengths"); 163 bool success = getGenProperties()->get("Success"); 168 driver_size = getGenProperties()->get("DriverSize"); 169 total_predriver_size = getGenProperties()->get("TotalPredriverSize"); 173 double unit_leak_0 = getTechModel()->getStdCellLib()->getStdCellCache()->get("INV_X1->Leakage->!A"); 174 double unit_leak_1 = getTechModel()->getStdCellLib()->getStdCellCache()->get("INV_X [all...] |
H A D | OpticalLinkBackendRx.cc | 213 unsigned int reorder_degree = getGenProperties()->get("ReorderDegree"); 214 unsigned int shift_index_min = getGenProperties()->get("ShiftIndexMin"); 215 unsigned int shift_index_max = getGenProperties()->get("ShiftIndexMax"); 271 unsigned int number_rings = getGenProperties()->get("InBits"); 274 double R = getTechModel()->get("Ring->Radius"); 275 double n_g = getTechModel()->get("Ring->GroupIndex"); 276 double heating_efficiency = getTechModel()->get("Ring->HeatingEfficiency"); 278 double tuning_efficiency = getTechModel()->get("Ring->TuningEfficiency"); 279 double sigma_r_local = getTechModel()->get("Ring->LocalVariationSigma"); 280 double sigma_r_systematic = getTechModel()->get("Rin [all...] |
H A D | OpticalLinkBackendTx.cc | 206 unsigned int reorder_degree = getGenProperties()->get("ReorderDegree").toUInt(); 207 unsigned int shift_index_min = getGenProperties()->get("ShiftIndexMin").toUInt(); 208 unsigned int shift_index_max = getGenProperties()->get("ShiftIndexMax").toUInt(); 260 unsigned int number_rings = getGenProperties()->get("OutBits"); 263 double R = getTechModel()->get("Ring->Radius"); 264 double n_g = getTechModel()->get("Ring->GroupIndex"); 265 double heating_efficiency = getTechModel()->get("Ring->HeatingEfficiency"); 267 double tuning_efficiency = getTechModel()->get("Ring->TuningEfficiency"); 268 double sigma_r_local = getTechModel()->get("Ring->LocalVariationSigma"); 269 double sigma_r_systematic = getTechModel()->get("Rin [all...] |
/gem5/src/python/m5/ |
H A D | config.py | 33 confdir = os.environ.get('M5_CONFIG') 38 homedir = os.environ.get('HOME') 42 def get(name): function
|
/gem5/util/cpt_upgraders/ |
H A D | arm-contextidr-el2.py | 3 if cpt.get('root','isa') == 'arm': 8 miscRegs = cpt.get(sec, 'miscRegs').split()
|
H A D | arm-miscreg-teehbr.py | 3 if cpt.get('root','isa') == 'arm': 8 mr = cpt.get(sec, 'miscRegs').split()
|
H A D | remove-arm-cpsr-mode-miscreg.py | 3 if cpt.get('root','isa') == 'arm': 8 mr = cpt.get(sec, 'miscRegs').split()
|
H A D | arm-gicv2-banked-regs.py | 38 if cpt.get('root','isa') == 'arm': 44 cpuEnabled = cpt.get(sec, 'cpuEnabled' ).split() 46 intEnabled = cpt.get(sec, 'intEnabled' ).split() 47 pendingInt = cpt.get(sec, 'pendingInt' ).split() 48 activeInt = cpt.get(sec, 'activeInt' ).split() 49 intPriority = cpt.get(sec, 'intPriority').split() 50 cpuTarget = cpt.get(sec, 'cpuTarget' ).split() 68 b_intPriority = cpt.get(sec, '*bankedIntPriority').split()
|
H A D | cpu-pid.py | 7 junk = cpt.get(sec, 'instCnt')
|
H A D | smt-interrupts.py | 10 interrupts = cpt.get(sec, 'interrupts') 11 intStatus = cpt.get(sec, 'intStatus')
|
/gem5/src/base/ |
H A D | refcnt.hh | 221 T *get() const { return data; } function in class:RefCountingPtr 258 { return l.get() == r.get(); } 264 { return l.get() == r; } 270 { return l == r.get(); } 275 { return l.get() != r.get(); } 281 { return l.get() != r; } 287 { return l != r.get(); }
|
/gem5/ext/dsent/tech/ |
H A D | TechModel.cc | 37 const String& TechModel::get(const String &key_) const function in class:DSENT::TechModel 75 const vector<String>& available_wire_layer_vector = get("Wire->AvailableLayers").split("[,]"); 97 double vdd = get("Vdd"); 98 double temp = get("Temperature"); 99 double char_temp = get("Nmos->CharacterizedTemperature"); 100 double min_off_current = get("Nmos->MinOffCurrent"); 101 double off_current = get("Nmos->OffCurrent"); 102 double subthreshold_swing = get("Nmos->SubthresholdSwing"); 103 double dibl = get("Nmos->DIBL"); 104 double temp_swing = get("Nmo [all...] |