1
0

allow bundle content params to be specified via a def (#29)

This commit is contained in:
Henry Cook
2017-08-02 11:46:27 -07:00
committed by GitHub
parent fced2323bd
commit 015f87ec6b
3 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ class GPIOPortIO(c: GPIOParams) extends GenericParameterizedBundle(c) {
// It would be better if the IOF were here and
// we could do the pinmux inside.
trait HasGPIOBundleContents extends Bundle {
val params: GPIOParams
def params: GPIOParams
val port = new GPIOPortIO(params)
}