61 m_name->GetTextExtent(
"XXXXXXXXXXXXXXXXXXXXX", &x, &y );
62 m_name->SetMinSize( wxSize( x, -1 ) );
65 GetTextExtent(
"GHZ XXXX", &x, &y );
91 std::vector<int> trackColIds;
104 wxGridCellAttr* attr =
new wxGridCellAttr;
107 [
this](
int row,
int col )
109 calculateTrackParametersForCell( row, col );
114 attr =
new wxGridCellAttr;
117 [
this](
int row,
int col )
119 calculateTrackParametersForCell( row, col );
124 attr =
new wxGridCellAttr;
127 [
this](
int row,
int col )
129 calculateTrackParametersForCell( row, col );
144 std::vector<int> viaColIds;
165 m_type->SetSelection(
static_cast<int>( aProfile.
m_Type ) );
174 if( frequency >= 1e9 )
179 else if( frequency >= 1e6 )
184 else if( frequency >= 1e3 )
194 m_frequency->SetValue( wxString::FromDouble( frequency ) );
213 board->
GetLayerName( entry.GetBottomReferenceLayer() ) );
246 double targetImpedance = 0.0;
263 m_parentPanel->m_layerNamesToIDs.contains( topReferenceLayerName ) )
272 if( wxString bottomReferenceLayerName =
274 m_parentPanel->m_layerNamesToIDs.contains( bottomReferenceLayerName ) )
305 std::swap( signalLayerIdFrom, signalLayerIdTo );
308 std::swap( viaLayerIdFrom, viaLayerIdTo );
328 wxArrayString layerNames, layerNamesWithNone;
329 layerNamesWithNone.push_back(
"<None>" );
331 [&layerNames, &layerNamesWithNone](
const wxString& aLayerName )
333 layerNames.push_back( aLayerName );
334 layerNamesWithNone.push_back( aLayerName );
339 std::vector<wxString> currentSignalLayer;
340 std::vector<wxString> currentTopReferenceLayer;
341 std::vector<wxString> currentBottomReferenceLayer;
347 currentBottomReferenceLayer.emplace_back(
352 std::vector<wxString> currentSignalLayersFrom;
353 std::vector<wxString> currentSignalLayersTo;
354 std::vector<wxString> currentViaLayersFrom;
355 std::vector<wxString> currentViaLayersTo;
366 wxGridCellAttr* attr =
new wxGridCellAttr;
367 attr->SetEditor(
new wxGridCellChoiceEditor( layerNames,
false ) );
370 attr =
new wxGridCellAttr;
371 attr->SetEditor(
new wxGridCellChoiceEditor( layerNamesWithNone,
false ) );
374 attr =
new wxGridCellAttr;
375 attr->SetEditor(
new wxGridCellChoiceEditor( layerNamesWithNone,
false ) );
378 attr =
new wxGridCellAttr;
379 attr->SetEditor(
new wxGridCellChoiceEditor( layerNames,
false ) );
382 attr =
new wxGridCellAttr;
383 attr->SetEditor(
new wxGridCellChoiceEditor( layerNames,
false ) );
386 attr =
new wxGridCellAttr;
387 attr->SetEditor(
new wxGridCellChoiceEditor( layerNames,
false ) );
390 attr =
new wxGridCellAttr;
391 attr->SetEditor(
new wxGridCellChoiceEditor( layerNames,
false ) );
397 if(
m_parentPanel->m_prevLayerNamesToIDs.contains( currentSignalLayer[row] ) )
401 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastSignalId ) )
413 if(
m_parentPanel->m_prevLayerNamesToIDs.contains( currentTopReferenceLayer[row] ) )
417 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastTopReferenceId ) )
419 m_parentPanel->m_board->GetLayerName( lastTopReferenceId ) );
428 if(
m_parentPanel->m_prevLayerNamesToIDs.contains( currentBottomReferenceLayer[row] ) )
431 m_parentPanel->m_prevLayerNamesToIDs[currentBottomReferenceLayer[row]];
433 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastBottomReferenceId ) )
435 m_parentPanel->m_board->GetLayerName( lastBottomReferenceId ) );
449 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastSignalFromId ) )
457 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastSignalToId ) )
465 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastViaFromId ) )
473 if(
m_parentPanel->m_copperLayerIdsToIndex.contains( lastViaToId ) )
498 const int titleSize = GetTextExtent(
m_viaOverrides->GetColLabelValue( i ) ).x;
500 m_viaOverrides->SetColSize( i, std::max( titleSize, minValueWidth ) );
505 const int impedanceWidth =
m_targetImpedance->GetTextExtent( wxT(
"0000.00" ) ).x;
514 const wxString newName =
event.GetString();
521 if( event.GetSelection() == 0 )
545 auto setFrontRowLayers = [&](
const int row )
562 auto setRowLayers = [&]()
566 setFrontRowLayers( 0 );
570 const wxString lastSignalLayerName =
573 lastSignalLayerName );
580 setFrontRowLayers( numRows );
611 if( selRows.size() == 1 )
633 if( selRows.size() == 1 )
640 return m_name->GetValue();
645 const double aSigma )
654 bool layerFound =
false;
655 int layerStackupId = 0;
657 while( layerStackupId <
static_cast<int>( aLayerList.size() ) && !layerFound )
659 if( aLayerList.at( layerStackupId )->GetBrdLayerId() != aPcbLayerId )
668 return layerStackupId;
677 if( !zStr.ToDouble( &z ) )
685 const std::vector<BOARD_STACKUP_ITEM*>& aStackupLayerList,
const std::vector<int>& dielectricLayerStackupIds,
688 double totalHeight = 0.0;
690 double lossTangent = 0.0;
692 for(
int i : dielectricLayerStackupIds )
696 for(
int subLayerIdx = 0; subLayerIdx < layer->
GetSublayersCount(); ++subLayerIdx )
701 double e_r_layer = layer->
GetEpsilonR( subLayerIdx );
703 const double spec_freq = layer->
GetSpecFreq( subLayerIdx );
707 && std::isfinite( spec_freq ) && spec_freq > 0.0 )
712 ds.
Fit( e_r_layer, l_t_layer, spec_freq );
716 catch(
const std::invalid_argument& )
727 e_r = e_r / totalHeight;
728 lossTangent = lossTangent / totalHeight;
729 totalHeight /= 1000.0;
731 return { totalHeight, e_r, lossTangent };
736 const int aSignalLayerId,
const int aReferenceLayerId,
737 std::vector<int>& aDielectricLayerStackupIds )
739 for(
int i = std::min( aSignalLayerId, aReferenceLayerId ) + 1; i < std::max( aSignalLayerId, aReferenceLayerId );
750 aDielectricLayerStackupIds.push_back( i );
761 if( aSignalLayerId ==
F_Cu )
763 else if( aSignalLayerId ==
B_Cu )
766 return { 0.0, 0.0, 0.0 };
771 return { 0.0, 0.0, 0.0 };
785 if( !
m_parentPanel->m_layerNamesToIDs.contains( signalLayerName ) )
805 int calculatedWidth = 0;
806 int calculatedGap = 0;
807 int calculatedDelay = 0;
822 calculatedWidth =
result.Width;
823 calculatedGap =
result.DiffPairGap;
824 calculatedDelay =
result.Delay;
826 const bool widthOk = calculatedWidth > 0;
827 const bool gapOk = calculatedGap > 0;
828 const bool delayOk = calculatedDelay > 0;
859 int calculatedWidth = 0;
860 int calculatedDelay = 0;
875 calculatedWidth =
result.Width;
876 calculatedDelay =
result.Delay;
878 const bool widthOk = calculatedWidth > 0;
879 const bool delayOk = calculatedDelay > 0;
904 if(
m_name->GetValue() == wxEmptyString )
908 const wxString msg =
_(
"Tuning profile must have a name" );
913 std::set<wxString> layerNames;
919 if( layerNames.contains( layerName ) )
923 const wxString msg =
_(
"Duplicated signal layer configuration in tuning profile" );
929 layerNames.insert( layerName );
946 const std::vector<BOARD_STACKUP_ITEM*>& stackupLayerList = stackup.
GetList();
950 if( !
m_parentPanel->m_layerNamesToIDs.contains( signalLayerName ) )
956 if( signalLayer !=
F_Cu && signalLayer !=
B_Cu )
957 return { {},
CALCULATION_RESULT{
_(
"Internal error: Microstrip can only be on an outer copper layer" ) } };
959 const int signalLayerStackupId =
getStackupLayerId( stackupLayerList, signalLayer );
961 if( signalLayerStackupId == -1 )
964 const double signalLayerThickness =
965 aScale.
IUTomm( stackupLayerList.at( signalLayerStackupId )->GetThickness() ) / 1000.0;
967 if( signalLayerThickness <= 0 )
971 wxString referenceLayerName;
973 if( signalLayer ==
F_Cu )
978 if( !
m_parentPanel->m_layerNamesToIDs.contains( referenceLayerName ) )
982 const int referenceLayerStackupId =
getStackupLayerId( stackupLayerList, referenceLayer );
984 if( signalLayerStackupId == referenceLayerStackupId )
985 return { {},
CALCULATION_RESULT{
_(
"Reference layer must be different to signal layer" ) } };
988 std::vector<int> dielectricLayerStackupIds;
989 getDielectricLayers( stackupLayerList, signalLayerStackupId, referenceLayerStackupId, dielectricLayerStackupIds );
995 if( dielectricInfo.
Height <= 0.0 )
1005 signalLayerThickness,
1013 return { boardParameters,
result };
1023 const std::vector<BOARD_STACKUP_ITEM*>& stackupLayerList = stackup.
GetList();
1027 if( !
m_parentPanel->m_layerNamesToIDs.contains( signalLayerName ) )
1031 const int signalLayerStackupId =
getStackupLayerId( stackupLayerList, signalLayer );
1033 if( signalLayerStackupId == -1 )
1036 const double signalLayerThickness =
1037 aScale.
IUTomm( stackupLayerList.at( signalLayerStackupId )->GetThickness() ) / 1000.0;
1039 if( signalLayerThickness <= 0 )
1040 return { {},
CALCULATION_RESULT{
_(
"Signal layer thickness must be greater than 0" ) } };
1045 if( !
m_parentPanel->m_layerNamesToIDs.contains( topReferenceLayerName ) )
1049 const int topReferenceLayerStackupId =
getStackupLayerId( stackupLayerList, topReferenceLayer );
1052 return { {},
CALCULATION_RESULT{
_(
"Top reference layer must be above signal layer in board stackup" ) } };
1057 if( !
m_parentPanel->m_layerNamesToIDs.contains( bottomReferenceLayerName ) )
1061 const int bottomReferenceLayerStackupId =
getStackupLayerId( stackupLayerList, bottomReferenceLayer );
1064 return { {},
CALCULATION_RESULT{
_(
"Bottom reference layer must be below signal layer in board stackup" ) } };
1067 std::vector<int> topDielectricLayerStackupIds, bottomDielectricLayerStackupIds;
1070 topDielectricLayerStackupIds );
1071 getDielectricLayers( stackupLayerList, signalLayerStackupId, bottomReferenceLayerStackupId,
1072 bottomDielectricLayerStackupIds );
1075 std::vector<int> allDielectricLayerStackupIds( topDielectricLayerStackupIds );
1076 allDielectricLayerStackupIds.insert( allDielectricLayerStackupIds.end(), bottomDielectricLayerStackupIds.begin(),
1077 bottomDielectricLayerStackupIds.end() );
1086 if( topDielectricInfo.
Height <= 0.0 && bottomDielectricInfo.
Height <= 0.0 )
1090 signalLayer, allDielectricInfo.
E_r, topDielectricInfo.
Height, bottomDielectricInfo.
Height,
1096 return { boardParameters,
result };
1126 const double width = iuScale.
IUTomm( widthInt ) / 1000.0;
1154 boardParameters.SolderMaskThickness );
1156 boardParameters.SolderMaskDielectricConstant );
1165 std::unordered_map<TRANSLINE_PARAMETERS, std::pair<double, TRANSLINE_STATUS>>& results =
1166 [
this, aCalculationType]() ->
decltype(
m_microstripCalc.GetSynthesisResults() )
1215 const double width = iuScale.
IUTomm( widthInt ) / 1000.0;
1225 + boardParameters.SignalLayerThickness
1226 + boardParameters.BottomDielectricLayerThickness );
1240 std::unordered_map<TRANSLINE_PARAMETERS, std::pair<double, TRANSLINE_STATUS>>& results =
1241 [
this, aCalculationType]() ->
decltype(
m_striplineCalc.GetSynthesisResults() )
1290 if( !gapOpt || *gapOpt <= 0 )
1291 return CALCULATION_RESULT{
_(
"Diff pair gap must be greater than 0 to calculate width" ) };
1293 gap = iuScale.
IUTomm( gapOpt.value() ) / 1000.0;
1297 if( !widthOpt || *widthOpt <= 0 )
1298 return CALCULATION_RESULT{
_(
"Width must be greater than 0 to calculate diff pair gap" ) };
1300 width = iuScale.
IUTomm( widthOpt.value() ) / 1000.0;
1304 if( !widthOpt || !gapOpt || *widthOpt <= 0 || *gapOpt <= 0 )
1305 return CALCULATION_RESULT{
_(
"Width and diff pair gap must be greater than 0 to calculate delay" ) };
1307 width = iuScale.
IUTomm( widthOpt.value() ) / 1000.0;
1308 gap = iuScale.
IUTomm( gapOpt.value() ) / 1000.0;
1335 boardParameters.SolderMaskThickness );
1337 boardParameters.SolderMaskDielectricConstant );
1339 boardParameters.SolderMaskLossTangent );
1342 switch( aCalculationType )
1349 std::unordered_map<TRANSLINE_PARAMETERS, std::pair<double, TRANSLINE_STATUS>>& results =
1350 [
this, aCalculationType]() ->
decltype(
m_microstripCalc.GetSynthesisResults() )
1404 if( !gapOpt || *gapOpt <= 0 )
1405 return CALCULATION_RESULT{
_(
"Diff pair gap must be greater than 0 to calculate width" ) };
1407 gap = iuScale.
IUTomm( gapOpt.value() ) / 1000.0;
1411 if( !widthOpt || *widthOpt <= 0 )
1412 return CALCULATION_RESULT{
_(
"Width must be greater than 0 to calculate diff pair gap" ) };
1414 width = iuScale.
IUTomm( widthOpt.value() ) / 1000.0;
1418 if( !widthOpt || !gapOpt || *widthOpt <= 0 || *gapOpt <= 0 )
1419 return CALCULATION_RESULT{
_(
"Width and diff pair gap must be greater than 0 to calculate delay" ) };
1421 width = iuScale.
IUTomm( widthOpt.value() ) / 1000.0;
1422 gap = iuScale.
IUTomm( gapOpt.value() ) / 1000.0;
1433 const double totalH = boardParameters.TopDielectricLayerThickness + boardParameters.SignalLayerThickness
1434 + boardParameters.BottomDielectricLayerThickness;
1441 const double striplineA = boardParameters.TopDielectricLayerThickness
1442 + 0.5 * boardParameters.SignalLayerThickness;
1466 switch( aCalculationType )
1473 std::unordered_map<TRANSLINE_PARAMETERS, std::pair<double, TRANSLINE_STATUS>>& results =
1504 double frequency = 0.0;
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap, int aMinHeight)
@ BS_ITEM_TYPE_DIELECTRIC
Manage one layer needed to make a physical board.
DIELECTRIC_MODEL GetDielectricModel(int aDielectricSubLayer=0) const
int GetSublayersCount() const
double GetEpsilonR(int aDielectricSubLayer=0) const
bool HasEpsilonRValue() const
int GetThickness(int aDielectricSubLayer=0) const
BOARD_STACKUP_ITEM_TYPE GetType() const
double GetSpecFreq(int aDielectricSubLayer=0) const
double GetLossTangent(int aDielectricSubLayer=0) const
Manage layers needed to make a physical board.
const std::vector< BOARD_STACKUP_ITEM * > & GetList() const
Information pertinent to a Pcbnew printed circuit board.
const wxString GetLayerName(PCB_LAYER_ID aLayer) const
Return the name of a aLayer.
static bool IsCenteredOffset(double a, double h)
Returns true when the strip plane offset a is effectively at the centre (a = h/2 within numerical tol...
Represents a single line in a time domain profile track propagation setup.
void SetWidth(const int aWidth)
void SetEnableTimeDomainTuning(bool aEnable)
void SetDiffPairGap(const int aDiffPairGap)
void SetTopReferenceLayer(const PCB_LAYER_ID aLayer)
void SetSignalLayer(const PCB_LAYER_ID aLayer)
void SetDelay(const int aDelay)
void SetBottomReferenceLayer(const PCB_LAYER_ID aLayer)
PCB_LAYER_ID GetSignalLayer() const
Kramers-Kronig-consistent wideband dielectric model after Djordjevic et al.
double TanDeltaAt(double aF) const
Loss tangent tan delta = -Im(eps) / Re(eps) at aF.
double EpsilonRealAt(double aF) const
Real part of relative permittivity at aF.
void Fit(double aEpsRSpec, double aTanDSpec, double aFSpec, double aF1=1.0e3, double aF2=1.0e12)
Fit the model from a single (epsR, tan delta) datapoint at f_spec.
A cell editor which runs a provided function when the grid cell button is clicked.
Add mouse and command handling (such as cut, copy, and paste) to a WX_GRID instance.
static PAGED_DIALOG * GetDialog(wxWindow *aWindow)
void SetError(const wxString &aMessage, const wxString &aPageName, int aCtrlId, int aRow=-1, int aCol=-1)
WX_GRID * m_trackPropagationGrid
PANEL_SETUP_TUNING_PROFILE_INFO_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(719, 506), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxStaticText * m_viaPropSpeedUnits
STD_BITMAP_BUTTON * m_deleteTrackPropogationLayer
STD_BITMAP_BUTTON * m_addViaPropagationOverride
STD_BITMAP_BUTTON * m_addTrackPropogationLayer
wxChoice * m_frequencyUnits
wxTextCtrl * m_viaPropagationSpeed
wxCheckBox * m_enableDelayTuning
wxCheckBox * m_modelSolderMask
STD_BITMAP_BUTTON * m_removeViaPropagationOverride
wxStaticText * m_viaPropagationSpeedLabel
wxTextCtrl * m_targetImpedance
void OnAddViaOverride(wxCommandEvent &event) override
Adds a via override row.
static constexpr double RHO
MICROSTRIP m_microstripCalc
Calculator for single microstrip parameters.
COUPLED_STRIPLINE m_coupledStriplineCalc
Calculator for coupled (differential) stripline parameters.
void initPanel()
Initialises all controls on the panel.
void calculateTrackParametersForCell(int aRow, int aCol)
Calculates the required track parameters for the given track parameters grid row and col.
@ TRACK_GRID_BOTTOM_REFERENCE
@ TRACK_GRID_TOP_REFERENCE
@ TRACK_GRID_SIGNAL_LAYER
CALCULATION_RESULT calculateSingleStripline(const int aRow, CalculationType aCalculationType)
Calculates the track width or delay for the given propagation grid row.
double getTargetImpedance() const
Gets the target impedance for the profile.
CALCULATION_RESULT calculateSingleMicrostrip(const int aRow, CalculationType aCalculationType)
Calculates the track width or delay for the given propagation grid row.
STRIPLINE m_striplineCalc
Calculator for single stripline parameters.
static double calculateSkinDepth(double aFreq, double aMurc, double aSigma)
Calculate the effective skin depth for the given parameters.
bool ValidateProfile(size_t aPageIndex)
Validate this panel's data.
void UpdateLayerNames()
Updates the displayed layer names in all grids.
static int getStackupLayerId(const std::vector< BOARD_STACKUP_ITEM * > &aLayerList, PCB_LAYER_ID aPcbLayerId)
Gets the index in to the layer list for the given layer.
UNIT_BINDER m_viaPropagationUnits
Units for global via propagation unit delay.
CALCULATION_RESULT calculateDifferentialMicrostrip(int aRow, CalculationType aCalculationType)
Calculates the track width, pair gap, or delay for the given propagation grid row.
std::pair< CALCULATION_BOARD_PARAMETERS, CALCULATION_RESULT > getMicrostripBoardParameters(int aRow, const EDA_IU_SCALE &aScale)
Gets the board parameters for microstrip calculations @parameter aRow The grid row to calculate board...
PANEL_SETUP_TUNING_PROFILE_INFO(wxWindow *aParentWindow, PANEL_SETUP_TUNING_PROFILES *parentPanel)
DIELECTRIC_INFO calculateAverageDielectricConstants(const std::vector< BOARD_STACKUP_ITEM * > &aStackupLayerList, const std::vector< int > &dielectricLayerStackupIds, const EDA_IU_SCALE &aIuScale)
Calculates the geometric average of the dielectric material properties.
void LoadProfile(const TUNING_PROFILE &aProfile)
Loads the given profile in to the panel.
TUNING_PROFILE GetProfile() const
Saves the panel to the given profile.
static DIELECTRIC_INFO getSolderMaskParameters(const std::vector< BOARD_STACKUP_ITEM * > &aStackupLayerList, const EDA_IU_SCALE &aScale, PCB_LAYER_ID aSignalLayerId)
Gets the dielectric information for the solder mask covering a given signallayer.
double getFrequency() const
Gets the target frequency in Hz.
~PANEL_SETUP_TUNING_PROFILE_INFO() override
PANEL_SETUP_TUNING_PROFILES * m_parentPanel
The parent setup panel.
void OnChangeProfileType(wxCommandEvent &event) override
Changes between Single and Differential profiles.
std::pair< CALCULATION_BOARD_PARAMETERS, CALCULATION_RESULT > getStriplineBoardParameters(int aRow, const EDA_IU_SCALE &aScale)
Gets the board parameters for stripline calculations @parameter aRow The grid row to calculate board ...
void getDielectricLayers(const std::vector< BOARD_STACKUP_ITEM * > &aStackupLayerList, int aSignalLayerId, int aReferenceLayerId, std::vector< int > &aDielectricLayerStackupIds)
Gets the dielectric layers for dielectrics between the two given copper layer IDs.
void OnRemoveTrackRow(wxCommandEvent &event) override
Removes a row from the track propagation grid.
@ VIA_GRID_SIGNAL_LAYER_TO
@ VIA_GRID_SIGNAL_LAYER_FROM
@ VIA_GRID_VIA_LAYER_FROM
wxString GetProfileName() const
Gets the name of this profile.
COUPLED_MICROSTRIP m_coupledMicrostripCalc
Calculator for coupled (differential) microstrip parameters.
CALCULATION_RESULT calculateDifferentialStripline(int aRow, CalculationType aCalculationType)
Calculates the track width, pair gap, or delay for the given propagation grid row.
void onChangeProfileType(TUNING_PROFILE::PROFILE_TYPE aType) const
Sets the panel display for the given tuning type.
void OnRemoveViaOverride(wxCommandEvent &event) override
Removes a via override row.
void OnAddTrackRow(wxCommandEvent &event) override
Adds a row to the track propagation grid.
void setColumnWidths()
Set up the widths of all grid columns.
void OnProfileNameChanged(wxCommandEvent &event) override
Updates the parent notebook control.
EDA_UNITS GetUnitsFromType(EDA_DATA_TYPE aType) const
Gets the units to use in the conversion based on the underlying user units.
void DisplayErrorMessage(wxWindow *aParent, const wxString &aText, const wxString &aExtraInfo)
Display an error message with aMessage.
This file is part of the common library.
bool IsCopperLayerLowerThan(PCB_LAYER_ID aLayerA, PCB_LAYER_ID aLayerB)
Return true if copper aLayerA is placed lower than aLayerB, false otherwise.
bool IsFrontLayer(PCB_LAYER_ID aLayerId)
Layer classification: check if it's a front layer.
bool IsBackLayer(PCB_LAYER_ID aLayerId)
Layer classification: check if it's a back layer.
PCB_LAYER_ID
A quick note on layer IDs:
KICOMMON_API double FromUserUnit(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnit, double aValue)
Return in internal units the value aValue given in a real unit such as "in", "mm",...
KICOMMON_API bool IsImperialUnit(EDA_UNITS aUnit)
Represents a single line in the time domain configuration via overrides configuration grid.
constexpr double IUTomm(int iu) const
Represents a single line in the tuning profile configuration grid.
bool m_EnableTimeDomainTuning
std::map< PCB_LAYER_ID, DELAY_PROFILE_TRACK_PROPAGATION_ENTRY > m_TrackPropagationEntriesMap
std::vector< DELAY_PROFILE_VIA_OVERRIDE_ENTRY > m_ViaOverrides
int m_ViaPropagationDelay
std::vector< DELAY_PROFILE_TRACK_PROPAGATION_ENTRY > m_TrackPropagationEntries
wxString result
Test unit parsing edge cases and error handling.