Searched refs:pow (Results 1 - 25 of 30) sorted by relevance

12

/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.1/
H A Dstage3.cpp52 c = pow(a, b);
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.2/
H A Dstage3.cpp52 c = pow(a, b);
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.4/
H A Dstage3.cpp53 c = pow(a, b);
/gem5/ext/mcpat/cacti/
H A Dbasic_circuit.cc416 num_states = int(pow(2.0, fanin));
430 Isub += nmos_leak * pow(UNI_LEAK_STACK_FACTOR,
450 Isub += pmos_leak * pow(UNI_LEAK_STACK_FACTOR,
466 Isub += nmos_leak * pow(UNI_LEAK_STACK_FACTOR,
475 Isub += pmos_leak * pow(UNI_LEAK_STACK_FACTOR,
516 num_states = int(pow(2.0, fanin));
642 //p_short_circuit_discharge_low = 10/3*(pow(0.5-vt_to_vdd_ratio,3.0)/pow(velocity_index,2.0)/pow(2.0,3*vt_to_vdd_ratio*vt_to_vdd_ratio))*c_in*vdd*vdd*fo_p*fo_p/fanout/beta_ratio;
644 10 / 3 * (pow(((vd
[all...]
H A Dcomponent.cc194 double f = pow(F, 1.0 / num_gates);
207 f = pow(F, 1.0 / (num_gates - 1));
H A Dhtree2.cc312 2 * (1 - pow(0.5, h)))) / 2;
317 2 * (1 - pow(0.5, v)))) / 2;
342 (2 * (1 - pow(0.5, h - v)) + pow(0.5, v - h) * v)) / 2;
366 (h + 2 * (1 - pow(0.5, v - h)))) / 2;
519 2 * (1 - pow(0.5, h)))) / 2;
524 2 * (1 - pow(0.5, v)))) / 2;
550 (2 * (1 - pow(0.5, h - v)) + pow(0.5, v - h) * v)) / 2;
574 (h + 2 * (1 - pow(0.
[all...]
H A Dwire.cc629 powerDef pow; local
638 pow = wire_model(j * 1e-6, i, &del);
641 global.power = pow;
648 // " PowerD - " << pow.readOp.dynamic <<
649 // " PowerL - " << pow.readOp.leakage <<endl;
651 repeated_wire.back().power.readOp = pow.readOp;
/gem5/ext/dsent/tech/
H A DTechModel.cc113 double leakage_current_char_tmp = stacked_mos_widths_[0] * off_current * std::pow(10.0, leakage_current_factor);
117 double leakage_current = leakage_current_char_tmp * std::pow(10.0, (temp - char_temp) / temp_swing);
148 double leakage_current_char_tmp = stacked_mos_widths_[0] * off_current * std::pow(10.0, leakage_current_factor);
152 double leakage_current = leakage_current_char_tmp * std::pow(10.0, (temp - char_temp) / temp_swing);
304 B = 2.04*std::pow((spacing_ / (spacing_ + 0.54 * dielec_thickness)), 1.77);
305 C = std::pow((metal_thickness / (metal_thickness + 4.53 * dielec_thickness)), 0.07);
309 B = 2.37 * std::pow((width_ / (width_ + 0.31 * spacing_)), 0.28);
310 C = std::pow((dielec_thickness / (dielec_thickness + 8.96 * spacing_)), 0.76) *
/gem5/ext/dsent/model/electrical/
H A DBarrelShifter.cc119 unsigned int current_shifts = (unsigned int)pow(2, i);
135 const String& n_max = (String) pow(2, shift_index_max+1);
136 const String& n_min = (String) pow(2, shift_index_min);
146 unsigned int current_shifts = (unsigned int)pow(2, i);
214 unsigned int current_shifts = (unsigned int)pow(2, i);
H A DBroadcastHTree.cc40 using std::pow;
187 double leaf_load_cap = total_load_cap_per_bit / pow(2.0, (double)(number_levels-1));
353 number_branches = (unsigned int)pow(2.0, (double)number_levels-1);
397 number_branches = (unsigned int)pow(2.0, (double)number_levels-1);
H A DDecoder.cc114 unsigned int number_outputs_0 = (unsigned int)pow(2.0, number_addr_bits_0);
222 unsigned int number_outputs_0 = (unsigned int)pow(2.0, number_addr_bits_0);
/gem5/ext/dsent/model/optical_graph/
H A DOpticalWavelength.cc124 std::pow(10.0, (current_path.losses[j] + IR_dB) / 10.0) *
125 1.0 / (1.0 - pow(10, -ER_dB / 10));
/gem5/ext/dsent/model/optical/
H A DRingModulator.cc262 double ER = pow(10, ER_dB_ / 10); // Extinction ratio
263 double T1 = pow(10, -IL_dB_ / 10); // Transmisivity on
278 double V_a = V_bi * (pow( (Q - int_c)/(2 * V_bi * C_j0), 2) - 1);
H A DOpticalLinkBackendRx.cc332 double fabrication_bias_freq = 3.0 * sqrt(pow(sigma_r_local, 2) + pow(sigma_r_systematic, 2)) +
H A DOpticalLinkBackendTx.cc322 double fabrication_bias_freq = 3.0 * sqrt(pow(sigma_r_local, 2) + pow(sigma_r_systematic, 2)) +
H A DRingDetector.cc268 double v_residual = 3 * offset / pow(2, offset_comp_bits);
321 double ER = pow(10, ER_dB_ / 10);
/gem5/ext/dsent/model/std_cells/
H A DStdCellLib.cc32 using std::pow;
/gem5/src/sim/
H A Dmathexpr.cc58 return std::pow(a,b); }
/gem5/src/arch/mips/
H A Dutility.cc104 double digit_offset = pow(10.0,digits);
/gem5/ext/mcpat/
H A Dlogic.cc414 pow(2.0, opcode_length) + 2 * coredynp.int_data_width) *
418 (3 * coredynp.arch_ireg_width + pow(2.0, opcode_length) + 8 *
422 (2 * coredynp.int_data_width + pow(2.0, opcode_length) + 8 *
455 pow(2.0, opcode_length)/*+2*powers (2,reg_length)*/);
458 (2 * coredynp.int_data_width + pow(2.0, opcode_length)
462 (2 * coredynp.int_data_width + pow(2.0, opcode_length)
468 pow(2.0, opcode_length)/*+2*powers (2,reg_length)*/);
836 num_decoded_signals = (int)pow(2.0, opcode_length);
/gem5/src/cpu/testers/garnet_synthetic_traffic/
H A DGarnetSyntheticTraffic.cc154 double injRange = pow((double) 10, (double) precision);
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxval.cpp269 frac_part *= pow( 10.0, frac_zeros );
873 double exp = ( exponent != 0 ) ? pow( (double) base, (double) exponent )
/gem5/src/systemc/dt/fx/
H A Dsc_fxval.cc252 frac_part *= std::pow(10.0, frac_zeros);
805 (exponent != 0) ? std::pow((double) base, (double) exponent) : 1;
/gem5/src/arch/arm/insts/
H A Dvfp.cc714 double scale = pow(2.0, imm);
733 double scale = pow(2.0, imm);
859 } else if (fabs(op) >= pow(2.0, 126)) {
/gem5/util/stats/
H A Dstats.py211 stdev += pow((val-avg),2)

Completed in 49 milliseconds

12