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

Allow DataView of Reset <=> [UInt<1>, AsyncReset] #3181

Merged
merged 3 commits into from
May 5, 2023

Conversation

seldridge
Copy link
Member

Change what DataView allows in its type checking to enable Reset to be viewed as either a UInt<1> or an AsyncReset. This enables more flexible DataViews which match already allowable Chisel and FIRRTL connection semantics.

Release Notes

Change what DataView allows in its type checking to enable Reset to be viewed as either a UInt<1> or an AsyncReset. This enables more flexible DataViews which match already allowable Chisel and FIRRTL connection semantics.

@seldridge seldridge added the Feature New feature, will be included in release notes label Apr 13, 2023
seldridge referenced this pull request in seldridge/chisel-separable Apr 13, 2023
Use a dummy clock and reset when instantiating a conforming module.
This is necessary if the conforming module is a Module (which has the
implicit clock and reset ports) as opposed to a RawModule (which does
not).  This is fine because all ports of the conforming module are
hooked up using a DataView which will error if the clock/rest ports are
not overridden.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Change what DataView allows in its type checking to enable Reset to be
viewed as either a UInt<1> or an AsyncReset.  This enables more flexible
DataViews which match already allowable Chisel and FIRRTL connection
semantics.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge force-pushed the dev/seldridge/DataView-reset-types branch from 222d6d7 to 19c64e0 Compare April 14, 2023 15:24
@seldridge
Copy link
Member Author

Review bump @jackkoenig. 😉

@jackkoenig jackkoenig added this to the 3.6.x milestone May 5, 2023
@jackkoenig jackkoenig merged commit 44ce96c into main May 5, 2023
@jackkoenig jackkoenig deleted the dev/seldridge/DataView-reset-types branch May 5, 2023 22:31
@mergify mergify bot added the Backported This PR has been backported label May 5, 2023
mergify bot pushed a commit that referenced this pull request May 5, 2023
Change what DataView allows in its type checking to enable Reset to be
viewed as either a UInt<1> or an AsyncReset.  This enables more flexible
DataViews which match already allowable Chisel and FIRRTL connection
semantics.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 44ce96c)
mergify bot pushed a commit that referenced this pull request May 5, 2023
Change what DataView allows in its type checking to enable Reset to be
viewed as either a UInt<1> or an AsyncReset.  This enables more flexible
DataViews which match already allowable Chisel and FIRRTL connection
semantics.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 44ce96c)
mergify bot added a commit that referenced this pull request May 5, 2023
Change what DataView allows in its type checking to enable Reset to be
viewed as either a UInt<1> or an AsyncReset.  This enables more flexible
DataViews which match already allowable Chisel and FIRRTL connection
semantics.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 44ce96c)

Co-authored-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
mergify bot added a commit that referenced this pull request May 6, 2023
Change what DataView allows in its type checking to enable Reset to be
viewed as either a UInt<1> or an AsyncReset.  This enables more flexible
DataViews which match already allowable Chisel and FIRRTL connection
semantics.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 44ce96c)

Co-authored-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@sequencer sequencer mentioned this pull request Jun 20, 2023
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported This PR has been backported Feature New feature, will be included in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants