|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|


Public Types | |
| enum | StoreData { Off , Recording , Complete , Failed } |
Public Member Functions | |
| bool | isRecording () const |
| void | storeCurrentDatapoint () |
| WaveDataProviderFile (SaleaeInputFile &sif, const WaveDataTimeframe &tframe) | |
| ~WaveDataProviderFile () | |
| virtual SaleaeDataTuple | startValue (u64 t) override |
| virtual SaleaeDataTuple | nextPoint () override |
| StoreData | storeDataState () const |
| const QMap< u64, int > & | dataMap () const |
Public Member Functions inherited from hal::WaveDataProvider | |
| WaveDataProvider () | |
| virtual | ~WaveDataProvider () |
| bool | isGroup () const |
| bool | isBoolean () const |
| bool | isTrigger () const |
| int | bits () const |
| int | valueBase () const |
| void | setWaveType (WaveData::NetType type, int bts=1, int base=16) |
Public Attributes | |
| SaleaeInputFile & | mInputFile |
| SaleaeDataBuffer * | mBuffer |
| u64 | mIndex |
| const WaveDataTimeframe & | mTimeframe |
| QMap< u64, int > | mDataMap |
| StoreData | mStoreData |
Provides waveform transitions by streaming them from a SALEAE data file.
Definition at line 79 of file wave_data_provider.h.
| Enumerator | |
|---|---|
| Off | |
| Recording | |
| Complete | |
| Failed | |
Definition at line 82 of file wave_data_provider.h.
|
inline |
Definition at line 93 of file wave_data_provider.h.
| hal::WaveDataProviderFile::~WaveDataProviderFile | ( | ) |
Definition at line 56 of file wave_data_provider.cpp.
References mBuffer.
Definition at line 100 of file wave_data_provider.h.
References mDataMap.
Referenced by hal::WaveLoaderThread::run().
|
inline |
Definition at line 90 of file wave_data_provider.h.
References mStoreData, and Recording.
Referenced by nextPoint(), and startValue().
|
overridevirtual |
Implements hal::WaveDataProvider.
Definition at line 136 of file wave_data_provider.cpp.
References hal::SaleaeInputFile::get_buffered_data(), isRecording(), mBuffer, hal::SaleaeDataBuffer::mCount, mIndex, mInputFile, hal::SaleaeDataBuffer::mTimeArray, hal::SaleaeDataBuffer::mValueArray, hal::NetlistSimulatorControllerPlugin::sSimulationSettings, and storeCurrentDatapoint().
|
overridevirtual |
Implements hal::WaveDataProvider.
Definition at line 61 of file wave_data_provider.cpp.
References QMap::clear(), hal::SaleaeInputFile::get_buffered_data(), hal::WaveDataTimeframe::hasUserTimeframe(), isRecording(), mBuffer, mDataMap, mIndex, mInputFile, mStoreData, hal::SaleaeDataTuple::mTime, hal::SaleaeDataBuffer::mTimeArray, mTimeframe, hal::SaleaeDataTuple::mValue, hal::SaleaeDataBuffer::mValueArray, Off, Recording, hal::NetlistSimulatorControllerPlugin::sSimulationSettings, and storeCurrentDatapoint().
| void hal::WaveDataProviderFile::storeCurrentDatapoint | ( | ) |
Definition at line 117 of file wave_data_provider.cpp.
References QMap::clear(), Complete, Failed, hal::SimulationSettings::maxSizeLoadable(), mBuffer, hal::SaleaeDataBuffer::mCount, mDataMap, mIndex, mStoreData, hal::SaleaeDataBuffer::mTimeArray, mTimeframe, hal::SaleaeDataBuffer::mValueArray, hal::WaveDataTimeframe::sceneMaxTime(), hal::WaveDataTimeframe::sceneMinTime(), QMap::size(), and hal::NetlistSimulatorControllerPlugin::sSimulationSettings.
Referenced by nextPoint(), and startValue().
|
inline |
Definition at line 99 of file wave_data_provider.h.
References mStoreData.
Referenced by hal::WaveLoaderThread::run().
| SaleaeDataBuffer* hal::WaveDataProviderFile::mBuffer |
Definition at line 84 of file wave_data_provider.h.
Referenced by nextPoint(), startValue(), storeCurrentDatapoint(), and ~WaveDataProviderFile().
Definition at line 87 of file wave_data_provider.h.
Referenced by dataMap(), startValue(), and storeCurrentDatapoint().
| u64 hal::WaveDataProviderFile::mIndex |
Definition at line 85 of file wave_data_provider.h.
Referenced by nextPoint(), startValue(), and storeCurrentDatapoint().
| SaleaeInputFile& hal::WaveDataProviderFile::mInputFile |
Definition at line 83 of file wave_data_provider.h.
Referenced by nextPoint(), and startValue().
| StoreData hal::WaveDataProviderFile::mStoreData |
Definition at line 88 of file wave_data_provider.h.
Referenced by isRecording(), startValue(), storeCurrentDatapoint(), and storeDataState().
| const WaveDataTimeframe& hal::WaveDataProviderFile::mTimeframe |
Definition at line 86 of file wave_data_provider.h.
Referenced by startValue(), and storeCurrentDatapoint().