74 const double Z0 = results.at(
TCP::Z0).first;
77 BOOST_TEST(
Z0 == 131.16, boost::test_tools::tolerance( 0.01 ) );
80 BOOST_TEST( epsEff == 1.3947, boost::test_tools::tolerance( 0.01 ) );
98 const double Din = 0.511e-3;
99 const double Dout = 1.000e-3;
111 SetCat5eLike( calc );
116 BOOST_TEST( loss_zero == 0.0, boost::test_tools::tolerance( 1e-12 ) );
128 BOOST_TEST( loss_hi == 2.0 * loss_lo, boost::test_tools::tolerance( 1e-9 ) );
136 SetCat5eLike( calc );
140 constexpr double Z0_target = 100.0;
155 BOOST_TEST( Z0_check == Z0_target, boost::test_tools::tolerance( 1.0 / Z0_target ) );
165 SetCat5eLike( calc );
double GetParameter(const TRANSLINE_PARAMETERS aParam) const
Gets the given calculation property.
void SetParameter(const TRANSLINE_PARAMETERS aParam, const double aValue)
Sets the given calculation property.
std::unordered_map< TRANSLINE_PARAMETERS, std::pair< double, TRANSLINE_STATUS > > & GetAnalysisResults()
Gets the output parameters following analysis.
Twisted-pair transmission line calculation.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesize Din or Dout to hit the target Z0. Length is recomputed from ANG_L.
void SetSynthesizeTarget(TRANSLINE_PARAMETERS aTarget) override
Choose which geometry parameter will be solved for during synthesis.
void Analyse() override
Analyse pair geometry to output Z0, electrical length, losses, skin depth, εeff.
constexpr double UNIT_MHZ
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_SUITE_END()
BOOST_TEST(netlist.find("R_G1 ARM_OUT1 DIE_B R='0.001 / ((SW_STATE)") !=std::string::npos)
VECTOR3I expected(15, 30, 45)
BOOST_AUTO_TEST_CASE(Cat5eReferenceAnalysis)
TRANSLINE_PARAMETERS
All possible parameters used (as inputs or outputs) by the transmission line calculations.
@ TWISTEDPAIR_EPSILONR_ENV