1
0
rocket-chip/src/main/scala/Fpga.scala

26 lines
542 B
Scala

package rocketchip
import Chisel._
import uncore.tilelink._
import junctions._
import cde.Parameters
class ZynqAdapter(implicit val p: Parameters) extends Module
with HasTopLevelParameters {
val adapterParams = p.alterPartial({
case NastiKey => NastiParameters(
dataBits = 32,
addrBits = 32,
idBits = 12)
case TLId => "L1toL2"
})
val io = new Bundle {
val nasti = new NastiIO()(adapterParams).flip
val reset = Bool(OUTPUT)
}
require(false, "TODO reimplement using debug port, not HTIF")
}