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


Public Member Functions | |
| WaveDataGroup (WaveDataList *wdList, int grpId, const QString &nam) | |
| WaveDataGroup (WaveDataList *wdList, const QString &nam=QString()) | |
| WaveDataGroup (WaveDataList *wdList, const WaveData *wdGrp) | |
| virtual | ~WaveDataGroup () |
| virtual int | bits () const override |
| virtual int | size () const |
| void | addNet (const Net *n) |
| virtual void | insert (int inx, WaveData *wd) |
| virtual void | addWaves (const QVector< WaveData * > &wds) |
| void | restoreIndex () |
| virtual void | recalcData () |
| virtual bool | hasNetId (u32 id) const |
| virtual QList< WaveData * > | children () const |
| QList< int > | childrenWaveIndex () const |
| virtual WaveData * | childAt (int inx) const |
| virtual WaveData * | removeAt (int inx) |
| virtual bool | isEmpty () const |
| virtual void | updateWaveData (WaveData *wd) |
| virtual int | childIndex (WaveData *wd) const |
| virtual int | netIndex (u32 id) const |
| virtual void | replaceChild (WaveData *wd) |
| virtual LoadPolicy | loadPolicy () const override |
| void | add_waveform (WaveData *wd) |
| void | remove_waveform (WaveData *wd) |
| std::vector< WaveData * > | get_waveforms () const |
| virtual int | intValue (double t) const override |
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 |
| 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 |
| virtual u64 | neighborTransition (double t, bool next) 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 () |
Protected Attributes | |
| QList< WaveData * > | mGroupList |
| QHash< WaveDataGroupIndex, int > | mIndex |
Protected Attributes inherited from hal::WaveData | |
| int | mValueBase |
| QMap< u64, int > | mData |
| bool | mDirty |
| WaveDataList * | mWaveDataList |
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 () |
A group of waveforms that are displayed together and whose values form a single multi-bit value.
Definition at line 326 of file wave_data.h.
| hal::WaveDataGroup::WaveDataGroup | ( | WaveDataList * | wdList, |
| int | grpId, | ||
| const QString & | nam | ||
| ) |
Definition at line 925 of file wave_data.cpp.
References hal::WaveData::mWaveDataList.
| hal::WaveDataGroup::WaveDataGroup | ( | WaveDataList * | wdList, |
| const QString & | nam = QString() |
||
| ) |
Definition at line 932 of file wave_data.cpp.
References QString::isEmpty(), hal::WaveData::mWaveDataList, and hal::WaveData::rename().
| hal::WaveDataGroup::WaveDataGroup | ( | WaveDataList * | wdList, |
| const WaveData * | wdGrp | ||
| ) |
Definition at line 940 of file wave_data.cpp.
References hal::WaveDataList::add(), QList::append(), hal::WaveData::bits(), QMap::constBegin(), QMap::constEnd(), hal::WaveData::data(), QMap::insert(), mGroupList, mIndex, hal::WaveData::mWaveDataList, hal::WaveData::name(), hal::WaveData::RegularNet, hal::WaveData::setBits(), and hal::WaveData::WaveData().
|
virtual |
Definition at line 979 of file wave_data.cpp.
References hal::WaveDataList::mDataGroups, and hal::WaveData::mWaveDataList.
| void hal::WaveDataGroup::add_waveform | ( | WaveData * | wd | ) |
Definition at line 986 of file wave_data.cpp.
References hal::WaveDataList::addWavesToGroup(), QVector::append(), and hal::WaveData::mWaveDataList.
Referenced by hal::PYBIND11_PLUGIN().
| void hal::WaveDataGroup::addNet | ( | const Net * | n | ) |
Definition at line 1033 of file wave_data.cpp.
References hal::WaveDataList::add(), QList::append(), bits(), hal::Net::get_id(), hal::WaveDataList::hasNet(), mGroupList, mIndex, hal::WaveData::mWaveDataList, QList::size(), hal::WaveData::WaveData(), and hal::WaveDataList::waveDataByNet().
Definition at line 1110 of file wave_data.cpp.
References QList::append(), mGroupList, recalcData(), restoreIndex(), and QVector::toList().
Referenced by hal::WaveTreeModel::addWaves().
|
overridevirtual |
Reimplemented from hal::WaveData.
Definition at line 1083 of file wave_data.cpp.
References mGroupList, and QList::size().
Referenced by addNet(), and hal::WaveFormPainted::generateGroup().
|
virtual |
Definition at line 1062 of file wave_data.cpp.
References QList::at(), mGroupList, and QList::size().
Referenced by hal::WaveTreeModel::dropMimeData(), hal::WaveTreeModel::handleGroupAboutToBeRemoved(), hal::WaveTreeModel::item(), hal::WaveTreeModel::parent(), and hal::WaveTreeModel::removeGroup().
|
virtual |
Definition at line 1068 of file wave_data.cpp.
References mIndex.
Referenced by hal::WaveTreeModel::handleGroupAboutToBeRemoved(), hal::WaveTreeModel::handleGroupRenamed(), replaceChild(), and updateWaveData().
Definition at line 1047 of file wave_data.cpp.
References mGroupList.
Referenced by hal::WaveData::get_events(), hal::WaveTreeModel::indexes(), hal::WaveData::neighborTransition(), hal::WaveTreeModel::persist(), hal::WaveTreeModel::restore(), hal::WaveLoaderThread::run(), hal::WaveLoaderBackbone::run(), and hal::WaveTreeModel::waveDataIndexSet().
| QList< int > hal::WaveDataGroup::childrenWaveIndex | ( | ) | const |
Definition at line 1052 of file wave_data.cpp.
References QList::append(), mGroupList, hal::WaveData::mWaveDataList, and hal::WaveDataList::waveIndexByNetId().
Referenced by hal::WaveFormPainted::generateGroup().
| std::vector< WaveData * > hal::WaveDataGroup::get_waveforms | ( | ) | const |
Definition at line 1004 of file wave_data.cpp.
References mGroupList.
Referenced by hal::PYBIND11_PLUGIN(), and hal::NetlistSimulatorController::set_input().
|
virtual |
Definition at line 1078 of file wave_data.cpp.
References mIndex.
|
virtual |
Definition at line 1100 of file wave_data.cpp.
References QList::append(), QList::insert(), mGroupList, recalcData(), restoreIndex(), and QList::size().
Referenced by hal::WaveDataList::addWavesToGroup(), hal::WaveTreeModel::insertExisting(), and hal::WaveTreeModel::insertItem().
|
overridevirtual |
Reimplemented from hal::WaveData.
Definition at line 1205 of file wave_data.cpp.
References mGroupList, and QList::size().
|
inlinevirtual |
Definition at line 350 of file wave_data.h.
References QList::isEmpty(), and mGroupList.
Referenced by hal::WaveTreeModel::handleGroupAboutToBeRemoved().
|
overridevirtual |
Reimplemented from hal::WaveData.
Definition at line 1125 of file wave_data.cpp.
References hal::WaveData::LoadAllData, hal::WaveData::LoadTimeframe, mGroupList, and hal::WaveData::TooBigToLoad.
|
virtual |
Definition at line 1073 of file wave_data.cpp.
References mIndex.
Referenced by hal::WaveTreeModel::handleWaveAddedToGroup().
|
virtual |
Reimplemented in hal::WaveDataRoot.
Definition at line 1144 of file wave_data.cpp.
References QList::at(), QMap::clear(), QMap::constBegin(), QMap::constEnd(), hal::WaveData::data(), hal::WaveDataList::emitGroupUpdated(), hal::WaveData::fileSize(), QMultiMap::insert(), QMap::insert(), QList::isEmpty(), QMap::iterator::key(), QMap::keys(), hal::WaveData::loadPolicy(), hal::WaveData::loadSaleae(), hal::WaveData::mData, hal::WaveData::mDirty, mGroupList, hal::WaveData::mWaveDataList, QMap::size(), QList::size(), hal::WaveDataList::timeFrame(), hal::WaveData::TooBigToLoad, hal::undef, and QMap::value().
Referenced by addWaves(), hal::WaveDataList::addWavesToGroup(), hal::WaveItem::cursorValue(), insert(), hal::WaveTreeModel::insertExisting(), hal::WaveTreeModel::insertGroup(), hal::WaveTreeModel::insertItem(), remove_waveform(), removeAt(), hal::WaveTreeModel::removeItemFromHash(), replaceChild(), and updateWaveData().
| void hal::WaveDataGroup::remove_waveform | ( | WaveData * | wd | ) |
Definition at line 993 of file wave_data.cpp.
References hal::WaveDataList::emitWaveRemovedFromGroup(), hal::WaveData::id(), mIndex, hal::WaveData::mWaveDataList, recalcData(), removeAt(), restoreIndex(), and hal::WaveDataList::waveIndexByNetId().
Referenced by hal::PYBIND11_PLUGIN().
|
virtual |
Definition at line 1090 of file wave_data.cpp.
References QList::at(), mGroupList, recalcData(), QList::removeAt(), restoreIndex(), and QList::size().
Referenced by hal::WaveTreeModel::handleGroupAboutToBeRemoved(), remove_waveform(), and hal::WaveTreeModel::removeItemFromHash().
|
virtual |
Definition at line 1011 of file wave_data.cpp.
References childIndex(), mGroupList, and recalcData().
| void hal::WaveDataGroup::restoreIndex | ( | ) |
Definition at line 1019 of file wave_data.cpp.
References hal::SaleaeDirectoryComposedEntry::add_child(), hal::SaleaeDirectory::add_or_replace_composed(), hal::WaveData::get_name(), hal::SaleaeDirectoryNetEntry::Group, mGroupList, mIndex, hal::WaveData::mWaveDataList, hal::WaveDataList::saleaeDirectory(), and hal::gate_library_manager::save().
Referenced by addWaves(), hal::WaveDataList::addWavesToGroup(), insert(), hal::WaveDataRoot::moveGroupPosition(), remove_waveform(), and removeAt().
|
inlinevirtual |
Definition at line 339 of file wave_data.h.
References mGroupList, and QList::size().
Referenced by hal::WaveDataList::addWavesToGroup(), hal::WaveTreeModel::dropMimeData(), hal::WaveTreeModel::handleBooleanAdded(), hal::WaveTreeModel::handleGroupAboutToBeRemoved(), hal::WaveTreeModel::handleGroupAdded(), hal::WaveTreeModel::handleTriggerAdded(), hal::WaveTreeModel::handleUpdateValueColumn(), hal::WaveTreeModel::handleWaveAdded(), hal::WaveTreeModel::index(), hal::WaveTreeModel::insertExisting(), hal::WaveTreeModel::insertItem(), hal::WaveTreeModel::parent(), and hal::WaveTreeModel::rowCount().
|
virtual |
Definition at line 1117 of file wave_data.cpp.
References childIndex(), mGroupList, and recalcData().
Definition at line 330 of file wave_data.h.
Referenced by addNet(), addWaves(), bits(), childAt(), children(), childrenWaveIndex(), hal::WaveDataRoot::clearAll(), hal::WaveDataRoot::dump(), get_waveforms(), insert(), intValue(), isEmpty(), loadPolicy(), hal::WaveDataRoot::moveGroupPosition(), recalcData(), removeAt(), replaceChild(), restoreIndex(), size(), updateWaveData(), and WaveDataGroup().
|
protected |
Definition at line 332 of file wave_data.h.
Referenced by addNet(), childIndex(), hasNetId(), netIndex(), remove_waveform(), restoreIndex(), and WaveDataGroup().