1
0

Merge pull request #46 from sifive/gpio_iof_pueds

GPIO: IOF should not override PUE and DS
This commit is contained in:
Megan Wachs 2017-11-08 17:18:02 -08:00 committed by GitHub
commit 9052a079d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,10 +168,10 @@ trait HasGPIOModuleContents extends MultiIOModule with HasRegMap {
val swPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) val swPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl()))
// This strips off the valid. // This strips off the valid.
val iof0Ctrl = Wire(Vec(c.width, new EnhancedPinCtrl())) val iof0Ctrl = Wire(Vec(c.width, new IOFCtrl()))
val iof1Ctrl = Wire(Vec(c.width, new EnhancedPinCtrl())) 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())) val iofPlusSwPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl()))
for (pin <- 0 until c.width) { for (pin <- 0 until c.width) {