spatial icon indicating copy to clipboard operation
spatial copied to clipboard

Regular vs Broadcasting Reset

Open mattfel1 opened this issue 6 years ago • 0 comments

Currently not handled correctly, I think chisel just assumes broadcasting reset for everything. I need to check if the info is there for me, or if we need to do some more work on how resets are fed through access analysis

For example:

Foreach(...){i => 
  reg.reset() // Double buffered reg with broadcasting reset
  Foreach(...){j => 
     // access reg in one controller
     // access reg again in another controller
  }
}
Foreach(...){i => 
  Foreach(...){j =>
     reg.reset() // Triple buffered reg with regular (buffer-tied) reset 
     // access reg in one controller
     // access reg again in another controller
  }
}

mattfel1 avatar Oct 16 '18 02:10 mattfel1