diff options
| author | mergify[bot] | 2022-11-04 18:20:07 +0000 |
|---|---|---|
| committer | GitHub | 2022-11-04 18:20:07 +0000 |
| commit | 4149157df6531d124483d992daf96cf4e62a0f0c (patch) | |
| tree | 76b4e80517168c5d0704e24c097a3c176417a811 /core/src/main/scala/chisel3/MultiClock.scala | |
| parent | 0750bc2f46d49c8fdfd0c07a2ac80c74311b3f15 (diff) | |
Add PartialDataView.supertype (backport #2826) (#2827)
* Add PartialDataView.supertype (#2826)
This factory method makes it easy to create PartialDataViews from a
Bundle type to its supertype. Because of the typing relationship, there
is no need to provide a mapping between fields. The only thing necessary
is to provide a function for constructing an instance of the supertype
from an instance of the subtype.
(cherry picked from commit 251d454a224e5a961438ba0ea41134d7da7a5992)
# Conflicts:
# core/src/main/scala/chisel3/experimental/dataview/package.scala
# src/test/scala/chiselTests/experimental/DataView.scala
* Resolve backport conflicts
Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to 'core/src/main/scala/chisel3/MultiClock.scala')
0 files changed, 0 insertions, 0 deletions
