spatial
spatial copied to clipboard
Regular vs Broadcasting Reset
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
}
}