projects
/
sifive-blocks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow bundle content params to be specified via a def (#29)
[sifive-blocks.git]
/
src
/
main
/
scala
/
devices
/
gpio
/
GPIO.scala
diff --git
a/src/main/scala/devices/gpio/GPIO.scala
b/src/main/scala/devices/gpio/GPIO.scala
index e7a48299d132df91965224608386f61812b810f4..2bb04fe2a53a3760ebd047ef24495ef07956298d 100644
(file)
--- a/
src/main/scala/devices/gpio/GPIO.scala
+++ b/
src/main/scala/devices/gpio/GPIO.scala
@@
-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)
}