From: Megan Wachs Date: Wed, 8 Nov 2017 23:15:32 +0000 (-0800) Subject: GPIO: IOF should not override PUE and DS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90404980b8941846f4372a85a9a489d1c52b641a;p=sifive-blocks.git GPIO: IOF should not override PUE and DS --- diff --git a/src/main/scala/devices/gpio/GPIO.scala b/src/main/scala/devices/gpio/GPIO.scala index f598dbb..f5098cf 100644 --- a/src/main/scala/devices/gpio/GPIO.scala +++ b/src/main/scala/devices/gpio/GPIO.scala @@ -168,10 +168,10 @@ trait HasGPIOModuleContents extends MultiIOModule with HasRegMap { val swPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) // This strips off the valid. - val iof0Ctrl = Wire(Vec(c.width, new EnhancedPinCtrl())) - val iof1Ctrl = Wire(Vec(c.width, new EnhancedPinCtrl())) + val iof0Ctrl = Wire(Vec(c.width, new IOFCtrl())) + val iof1Ctrl = Wire(Vec(c.width, new IOFCtrl())) - val iofCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) + val iofCtrl = Wire(Vec(c.width, new IOFCtrl())) val iofPlusSwPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) for (pin <- 0 until c.width) {