Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions kernel/hashlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,12 @@ class idict
return i < 0 ? 0 : 1;
}

int lookup(const K &key) const
{
Hasher::hash_t hash = database.do_hash(key);
return database.do_lookup_no_rehash(key, hash);
}

void expect(const K &key, int i)
{
int j = (*this)(key);
Expand Down
2 changes: 2 additions & 0 deletions kernel/rtlil.h
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@
RTLIL::IdString name;
};

struct RTLIL::SigChunk

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]

Check warning on line 1285 in kernel/rtlil.h

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

‘((__vector(2) int*)((char*)&<unnamed> + offsetof(Yosys::RTLIL::SigSpec, Yosys::RTLIL::SigSpec::<unnamed>)))[4]’ may be used uninitialized [-Wmaybe-uninitialized]
{
RTLIL::Wire *wire;
std::vector<RTLIL::State> data; // only used if wire == NULL, LSB at index 0
Expand Down Expand Up @@ -2140,6 +2140,8 @@

RTLIL::ObjRange<RTLIL::Wire*> wires() { return RTLIL::ObjRange<RTLIL::Wire*>(&wires_, &refcount_wires_); }
RTLIL::ObjRange<RTLIL::Cell*> cells() { return RTLIL::ObjRange<RTLIL::Cell*>(&cells_, &refcount_cells_); }
int cells_size() const { return cells_.size(); }
RTLIL::Cell* cell_at(int index) const { return cells_.element(index)->second; }

void add(RTLIL::Binding *binding);

Expand Down
Loading
Loading