Refactor package hierarchy. (#25)
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
package sifive.blocks.devices.mockaon
|
||||
|
||||
import Chisel._
|
||||
import config._
|
||||
import regmapper._
|
||||
import uncore.tilelink2._
|
||||
import freechips.rocketchip.config.Parameters
|
||||
import freechips.rocketchip.regmapper._
|
||||
import freechips.rocketchip.tilelink._
|
||||
|
||||
import sifive.blocks.util.GenericTimer
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
package sifive.blocks.devices.mockaon
|
||||
|
||||
import Chisel._
|
||||
import config.Field
|
||||
import diplomacy.{LazyModule, LazyMultiIOModuleImp}
|
||||
import rocketchip.{HasSystemNetworks, HasCoreplexRISCVPlatform}
|
||||
import uncore.tilelink2.{IntXing, TLAsyncCrossingSource, TLFragmenter}
|
||||
import util.ResetCatchAndSync
|
||||
import freechips.rocketchip.config.Field
|
||||
import freechips.rocketchip.diplomacy.{LazyModule, LazyMultiIOModuleImp}
|
||||
import freechips.rocketchip.chip.{HasSystemNetworks, HasCoreplexRISCVPlatform}
|
||||
import freechips.rocketchip.tilelink.{IntXing, TLAsyncCrossingSource, TLFragmenter}
|
||||
import freechips.rocketchip.util.ResetCatchAndSync
|
||||
|
||||
case object PeripheryMockAONKey extends Field[MockAONParams]
|
||||
|
||||
|
@ -2,12 +2,13 @@
|
||||
package sifive.blocks.devices.mockaon
|
||||
|
||||
import Chisel._
|
||||
import config._
|
||||
import diplomacy._
|
||||
import uncore.tilelink2._
|
||||
import freechips.rocketchip.config.Parameters
|
||||
import freechips.rocketchip.diplomacy._
|
||||
import freechips.rocketchip.tilelink._
|
||||
import freechips.rocketchip.util._
|
||||
import sifive.blocks.devices.gpio.{GPIOPin, GPIOOutputPinCtrl, GPIOInputPinCtrl}
|
||||
import sifive.blocks.util.{DeglitchShiftRegister, ResetCatchAndSync}
|
||||
import util._
|
||||
|
||||
/* The wrapper handles the Clock and Reset Generation for The AON block itself,
|
||||
and instantiates real pad controls (aka pull-ups)*/
|
||||
|
||||
|
@ -3,7 +3,7 @@ package sifive.blocks.devices.mockaon
|
||||
|
||||
import Chisel._
|
||||
import Chisel.ImplicitConversions._
|
||||
import util._
|
||||
import freechips.rocketchip.util._
|
||||
import sifive.blocks.util.SRLatch
|
||||
|
||||
import sifive.blocks.util.{SlaveRegIF}
|
||||
|
@ -3,7 +3,7 @@ package sifive.blocks.devices.mockaon
|
||||
|
||||
import Chisel._
|
||||
import Chisel.ImplicitConversions._
|
||||
import util.AsyncResetReg
|
||||
import freechips.rocketchip.util.AsyncResetReg
|
||||
|
||||
import sifive.blocks.util.{SlaveRegIF, GenericTimer}
|
||||
|
||||
|
Reference in New Issue
Block a user