Sim Ibis: Minor code style changes

This commit is contained in:
Mikolaj Wielgus 2022-12-01 12:59:33 +01:00
parent 0f09172902
commit 4ec7ea376e
2 changed files with 3 additions and 1 deletions

View File

@ -92,8 +92,8 @@ public:
};
double m_ton = 100e-9;
double m_toff = 100e-9;
int m_cycles = 1;
double m_delay = 0;
int m_cycles = 1;
std::vector<std::pair<int, double>> GenerateBitSequence() override;

View File

@ -494,6 +494,7 @@ std::vector<SIM_MODEL::PARAM::INFO> SIM_MODEL_KIBIS::makePrbsWaveformParamInfos(
paramInfo.type = SIM_VALUE::TYPE_FLOAT;
paramInfo.unit = "s";
paramInfo.category = PARAM::CATEGORY::WAVEFORM;
paramInfo.defaultValue = "";
paramInfo.description = _( "Delay" );
paramInfos.push_back( paramInfo );
@ -508,6 +509,7 @@ std::vector<SIM_MODEL::PARAM::INFO> SIM_MODEL_KIBIS::makePrbsWaveformParamInfos(
return paramInfos;
}
void SIM_MODEL_KIBIS::ReadDataSchFields( unsigned aSymbolPinCount, const std::vector<SCH_FIELD>* aFields )
{
bool diffMode = SIM_MODEL::GetFieldValue( aFields, SIM_LIBRARY_KIBIS::DIFF_FIELD ) == "1";