Move a bunch more things into util package
A lot of utility code was just being imported willy-nilly from one package to another. This moves the common code into util to make things more sensible. The code moved were * The AsyncQueue and AsyncDecoupledCrossing from junctions. * All of the code in rocket's util.scala * The BlackBox asynchronous reset registers from uncore.tilelink2 * The implicit definitions from uncore.util
This commit is contained in:
@ -8,9 +8,8 @@ import junctions._
|
||||
import uncore.tilelink._
|
||||
import uncore.tilelink2._
|
||||
import uncore.devices._
|
||||
import util.{ParameterizedBundle, ConfigStringOutput, GraphMLOutput}
|
||||
import util._
|
||||
import rocket._
|
||||
import rocket.Util._
|
||||
import coreplex._
|
||||
|
||||
// the following parameters will be refactored properly with TL2
|
||||
|
@ -5,12 +5,12 @@ package rocketchip
|
||||
import Chisel._
|
||||
import junctions._
|
||||
import rocket._
|
||||
import rocket.Util._
|
||||
import uncore.agents._
|
||||
import uncore.tilelink._
|
||||
import uncore.tilelink2.{LazyModule}
|
||||
import uncore.devices._
|
||||
import uncore.converters._
|
||||
import util._
|
||||
import coreplex._
|
||||
import scala.math.max
|
||||
import scala.collection.mutable.{LinkedHashSet, ListBuffer}
|
||||
|
@ -3,6 +3,7 @@ package rocketchip
|
||||
import Chisel._
|
||||
import uncore.devices.{DebugBusIO, AsyncDebugBusTo, AsyncDebugBusFrom, DebugBusReq, DebugBusResp, DMKey}
|
||||
import junctions._
|
||||
import util._
|
||||
import cde.{Parameters, Field}
|
||||
|
||||
case object IncludeJtagDTM extends Field[Boolean]
|
||||
|
@ -12,7 +12,7 @@ import uncore.converters._
|
||||
import uncore.devices._
|
||||
import uncore.agents._
|
||||
import uncore.util._
|
||||
import rocket.Util._
|
||||
import util._
|
||||
import rocket.XLen
|
||||
import scala.math.max
|
||||
import coreplex._
|
||||
|
@ -4,8 +4,7 @@ package rocketchip
|
||||
|
||||
import Chisel._
|
||||
import cde.{Parameters, Field}
|
||||
import rocket.Util._
|
||||
import util.LatencyPipe
|
||||
import util._
|
||||
import junctions._
|
||||
import junctions.NastiConstants._
|
||||
|
||||
|
@ -6,9 +6,9 @@ import cde.{Parameters, Dump}
|
||||
import junctions._
|
||||
import uncore.devices._
|
||||
import rocket._
|
||||
import rocket.Util._
|
||||
import coreplex._
|
||||
import uncore.tilelink2._
|
||||
import util._
|
||||
|
||||
import java.nio.file.{Files, Paths}
|
||||
import java.nio.{ByteBuffer, ByteOrder}
|
||||
|
Reference in New Issue
Block a user