-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding V2 Constructors in Paramaters and Emits Parameters #2532
Conversation
TLMasterParameters.v2( | ||
name = m.name, | ||
nodePath = m.nodePath, | ||
emits = TLMasterToSlaveTransferSizes( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment that specifies that "This value should be constrained by a data width parameter that flows from masters to slaves"
// Not a union, because the result may contain sizes contained by neither term | ||
// NOT TO BE CONFUSED WITH COVERPOINTS | ||
def cover(x: TransferSizes) = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace this with mincover
managerFn = { m => m.v1copy(managers = m.managers.map(mapManager)) }) | ||
requestFifo = true, | ||
emits = TLMasterToSlaveTransferSizes( | ||
acquireT = c.masters.map(_.emits.acquireT) .reduce(_ cover _), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try and use shrinktransfer to make the bound tighter
managerFn = { m => m.v1copy(managers = m.managers.map(mapManager)) }) | ||
requestFifo = true, | ||
emits = TLMasterToSlaveTransferSizes( | ||
acquireT = c.masters.map(_.emits.acquireT) .reduce(_ cover _), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe: = shrinkTransfer(c.masters.map(_.emits.acquireT) .reduce(_ cover _))
address: Seq[AddressSet], | ||
nodePath: Seq[BaseNode] = Seq(), | ||
resources: Seq[Resource] = Seq(), | ||
setName: Option[String] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try and change setname to name
…ed function calls in monitors
…ed function calls in monitors
Can you clarify from higher level what the v2 is? why it is even needed? |
Related issue:
Type of change: bug report | feature request | other enhancement
Impact: no functional change | API addition (no impact on existing code) | API modification
Development Phase: proposal | implementation
Release Notes