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


Public Member Functions | |
| WaveDataTrigger (WaveDataList *wdList, const QList< WaveData * > &wdTrigger, const QList< int > &toVal=QList< int >()) | |
| ~WaveDataTrigger () | |
| void | recalcData () |
| virtual LoadPolicy | loadPolicy () const override |
| QList< WaveData * > | children () const |
| virtual u64 | neighborTransition (double t, bool next) const override |
| virtual int | intValue (double t) const override |
| void | set_filter_wave (WaveData *wd) |
| QList< int > | toValueList () const |
| WaveData * | get_filter_wave () const |
Public Member Functions inherited from hal::WaveData | |
| WaveData (const WaveData &other) | |
| WaveData (u32 id_, const QString &nam, NetType tp=RegularNet, const QMap< u64, int > &dat=QMap< u64, int >()) | |
| WaveData (const Net *n, NetType tp=RegularNet) | |
| virtual | ~WaveData () |
| u32 | id () const |
| QString | name () const |
| NetType | netType () const |
| virtual int | bits () const |
| bool | isDirty () const |
| const QMap< u64, int > & | data () const |
| int | fileIndex () const |
| u64 | fileSize () const |
| int | valueBase () const |
| std::string | fileName () const |
| SaleaeDirectoryNetEntry::Type | composedType () const |
| void | setId (u32 id_) |
| bool | rename (const QString &nam) |
| void | setBits (int bts) |
| void | setDirty (bool dty) |
| void | setFileIndex (int saleaIndex) |
| void | setFileSize (u64 siz) |
| void | setTimeframeSize (u64 siz) |
| void | setWaveDataList (WaveDataList *wdList) |
| int | dataIndex () const |
| void | loadDataUnlessAlreadyLoaded () |
| bool | loadSaleae (const WaveDataTimeframe &tframe=WaveDataTimeframe()) |
| void | saveSaleae () |
| void | setData (const QMap< u64, int > &dat) |
| int | get_value_at (u64 t) |
| std::string | get_name () const |
| std::vector< std::pair< u64, int > > | get_events (u64 t0=0) const |
| std::vector< std::pair< u64, int > > | get_triggered_events (const WaveDataTrigger *wdTrig, u64 t0=0) |
| u64 | maxTime () const |
| void | clear () |
| void | insert (u64 t, int val) |
| void | insertBooleanValueWithoutSync (u64 t, BooleanFunction::Value bval) |
| QString | strValue (int val) const |
| QString | strValue (double t) const |
| QString | strValue (const QMap< u64, int >::const_iterator &it) const |
| void | setValueBase (int bas) |
| bool | isEqual (const WaveData &other, int tolerance=0) const |
| bool | hasSubscriber () const |
| void | addSubscriber () |
| void | removeSubscriber () |
Additional Inherited Members | |
Public Types inherited from hal::WaveData | |
| enum | NetType { RegularNet , InputNet , OutputNet , ClockNet , BooleanNet , TriggerTime , NetGroup } |
| enum | LoadPolicy { TooBigToLoad , LoadTimeframe , LoadAllData } |
Static Public Member Functions inherited from hal::WaveData | |
| static QString | stringValue (int val, int bits, int base) |
Protected Member Functions inherited from hal::WaveData | |
| QMap< u64, int >::const_iterator | timeIterator (double t) const |
| void | resetWave () |
Protected Attributes inherited from hal::WaveData | |
| int | mValueBase |
| QMap< u64, int > | mData |
| bool | mDirty |
| WaveDataList * | mWaveDataList |
A waveform that marks the points in time at which a set of other waveforms shows a given transition.
Definition at line 303 of file wave_data.h.
| hal::WaveDataTrigger::WaveDataTrigger | ( | WaveDataList * | wdList, |
| const QList< WaveData * > & | wdTrigger, | ||
| const QList< int > & | toVal = QList<int>() |
||
| ) |
Definition at line 781 of file wave_data.cpp.
References QList::at(), hal::WaveData::mWaveDataList, hal::WaveData::rename(), and QList::size().
| hal::WaveDataTrigger::~WaveDataTrigger | ( | ) |
Definition at line 799 of file wave_data.cpp.
Definition at line 889 of file wave_data.cpp.
References QList::append().
Referenced by hal::WaveData::get_events(), hal::WaveLoaderThread::run(), and hal::WaveLoaderBackbone::run().
|
inline |
Definition at line 320 of file wave_data.h.
Referenced by hal::WaveData::get_events(), hal::WaveLoaderThread::run(), and hal::WaveLoaderBackbone::run().
|
overridevirtual |
Reimplemented from hal::WaveData.
Definition at line 820 of file wave_data.cpp.
References hal::WaveData::data(), QMap::find(), hal::WaveData::LoadAllData, hal::WaveData::loadDataUnlessAlreadyLoaded(), and loadPolicy().
|
overridevirtual |
Reimplemented from hal::WaveData.
Definition at line 864 of file wave_data.cpp.
References hal::WaveData::LoadAllData, hal::WaveData::loadPolicy(), hal::WaveData::LoadTimeframe, and hal::WaveData::TooBigToLoad.
Referenced by intValue(), neighborTransition(), and recalcData().
|
overridevirtual |
Reimplemented from hal::WaveData.
Definition at line 897 of file wave_data.cpp.
References QMap::constBegin(), QMap::constEnd(), QMap::empty(), QMap::iterator::key(), QMap::const_iterator::key(), loadPolicy(), QMap::lowerBound(), hal::WaveData::mData, hal::WaveData::TooBigToLoad, and QMap::upperBound().
| void hal::WaveDataTrigger::recalcData | ( | ) |
Definition at line 839 of file wave_data.cpp.
References QMap::clear(), hal::WaveData::data(), QMap::insert(), hal::WaveData::intValue(), hal::WaveData::loadDataUnlessAlreadyLoaded(), loadPolicy(), hal::WaveData::LoadTimeframe, hal::WaveData::mData, and hal::WaveData::TooBigToLoad.
Referenced by hal::WaveItem::cursorValue(), hal::WaveTreeModel::insertItem(), hal::WaveTreeModel::insertTrigger(), and set_filter_wave().
| void hal::WaveDataTrigger::set_filter_wave | ( | WaveData * | wd | ) |
Definition at line 805 of file wave_data.cpp.
References hal::SaleaeDirectory::add_or_replace_composed(), hal::WaveData::composedType(), hal::SaleaeDirectory::get_composed(), hal::WaveData::id(), hal::SaleaeDirectoryComposedEntry::isNull(), hal::WaveData::mWaveDataList, hal::WaveData::name(), hal::WaveData::NetGroup, hal::WaveData::netType(), recalcData(), hal::WaveDataList::saleaeDirectory(), hal::gate_library_manager::save(), hal::SaleaeDirectoryComposedEntry::set_filter_entry(), QString::toStdString(), hal::SaleaeDirectoryNetEntry::Trigger, hal::WaveData::TriggerTime, and hal::SaleaeDirectoryNetEntry::uniqueKey().
Referenced by hal::WaveTreeModel::insertTrigger(), and hal::PYBIND11_PLUGIN().
| QList< int > hal::WaveDataTrigger::toValueList | ( | ) | const |
Definition at line 916 of file wave_data.cpp.
References QList::append().
Referenced by hal::WaveData::get_events(), hal::WaveLoaderThread::run(), and hal::WaveLoaderBackbone::run().