RTLIL::Design::Design()
{
- unsigned int hashidx_count = 0;
+ static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
refcount_modules_ = 0;
RTLIL::Module::Module()
{
- unsigned int hashidx_count = 0;
+ static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
design = nullptr;
RTLIL::Wire::Wire()
{
- unsigned int hashidx_count = 0;
+ static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
module = nullptr;
RTLIL::Memory::Memory()
{
- unsigned int hashidx_count = 0;
+ static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
width = 1;
RTLIL::Cell::Cell() : module(nullptr)
{
- unsigned int hashidx_count = 0;
+ static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
}
unsigned int hash() const { return hashidx_; }
Monitor() {
- unsigned int hashidx_count = 0;
+ static unsigned int hashidx_count = 0;
hashidx_ = hashidx_count++;
}