Skip to content
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

Merged
merged 15 commits into from
Jul 17, 2020
Merged

Conversation

brrmorre
Copy link
Contributor

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

@brrmorre brrmorre added the draft Used by mergify.io automated merging rules label Jun 24, 2020
@brrmorre brrmorre self-assigned this Jun 29, 2020
@brrmorre brrmorre removed the draft Used by mergify.io automated merging rules label Jul 6, 2020
@brrmorre brrmorre requested review from terpstra and hcook July 6, 2020 16:51
TLMasterParameters.v2(
name = m.name,
nodePath = m.nodePath,
emits = TLMasterToSlaveTransferSizes(
Copy link
Contributor Author

@brrmorre brrmorre Jul 6, 2020

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) = {
Copy link
Contributor Author

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 _),
Copy link
Contributor Author

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 _),
Copy link
Contributor

@terpstra terpstra Jul 6, 2020

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,
Copy link
Contributor Author

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

@brrmorre brrmorre changed the title Vi 2463 Adding V2 Constructors in Paramaters and Emits Parameters Jul 14, 2020
@brrmorre brrmorre merged commit 62f719c into master Jul 17, 2020
@DecodeTheEncoded
Copy link

Can you clarify from higher level what the v2 is? why it is even needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants