3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Added memhasher (yosys -M)

This commit is contained in:
Clifford Wolf 2014-12-28 21:27:51 +01:00
parent 445686cba3
commit 8773fd5897
4 changed files with 56 additions and 2 deletions

View file

@ -1766,6 +1766,9 @@ RTLIL::Cell::Cell() : module(nullptr)
{
static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
// log("#memtrace# %p\n", this);
memhasher();
}
bool RTLIL::Cell::hasPort(RTLIL::IdString portname) const