Merge remote-tracking branch 'origin/dev' into serial-tl
This commit is contained in:
@@ -31,7 +31,7 @@ trait CanHaveHTIF { this: BaseSubsystem =>
|
|||||||
// Advertise HTIF if system can communicate with fesvr
|
// Advertise HTIF if system can communicate with fesvr
|
||||||
if (this match {
|
if (this match {
|
||||||
case _: CanHavePeripheryTSISerial if p(SerialTSIKey).nonEmpty => true
|
case _: CanHavePeripheryTSISerial if p(SerialTSIKey).nonEmpty => true
|
||||||
case _: HasPeripheryDebug if p(ExportDebug).protocols.nonEmpty => true
|
case _: HasPeripheryDebug if p(ExportDebug).dmi => true
|
||||||
case _ => false
|
case _ => false
|
||||||
}) {
|
}) {
|
||||||
ResourceBinding {
|
ResourceBinding {
|
||||||
|
|||||||
@@ -39,10 +39,20 @@ trait Unsupported {
|
|||||||
require(false, "We do not support this IOCell type")
|
require(false, "We do not support this IOCell type")
|
||||||
}
|
}
|
||||||
|
|
||||||
class FireSimAnalogIOCell extends RawModule with AnalogIOCell with Unsupported
|
class FireSimAnalogIOCell extends RawModule with AnalogIOCell with Unsupported {
|
||||||
class FireSimDigitalGPIOCell extends RawModule with DigitalGPIOCell with Unsupported
|
val io = IO(new AnalogIOCellBundle)
|
||||||
class FireSimDigitalInIOCell extends RawModule with DigitalInIOCell { io.i := io.pad }
|
}
|
||||||
class FireSimDigitalOutIOCell extends RawModule with DigitalOutIOCell { io.pad := io.o }
|
class FireSimDigitalGPIOCell extends RawModule with DigitalGPIOCell with Unsupported {
|
||||||
|
val io = IO(new DigitalGPIOCellBundle)
|
||||||
|
}
|
||||||
|
class FireSimDigitalInIOCell extends RawModule with DigitalInIOCell {
|
||||||
|
val io = IO(new DigitalInIOCellBundle)
|
||||||
|
io.i := io.pad
|
||||||
|
}
|
||||||
|
class FireSimDigitalOutIOCell extends RawModule with DigitalOutIOCell {
|
||||||
|
val io = IO(new DigitalOutIOCellBundle)
|
||||||
|
io.pad := io.o
|
||||||
|
}
|
||||||
|
|
||||||
case class FireSimIOCellParams() extends IOCellTypeParams {
|
case class FireSimIOCellParams() extends IOCellTypeParams {
|
||||||
def analog() = Module(new FireSimAnalogIOCell)
|
def analog() = Module(new FireSimAnalogIOCell)
|
||||||
|
|||||||
Submodule tools/barstools updated: ba681676f3...31590a7948
Reference in New Issue
Block a user