summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel/Driver.scala
diff options
context:
space:
mode:
authorHenry Cook2015-08-04 16:53:20 -0700
committerAndrew Waterman2015-08-05 16:35:44 -0700
commitcac4a521b0eea3b715d4a8136cc0efbfd5ebaa3f (patch)
tree80fcf436290ca78d0f2ee0e24783ea6b95b9da17 /src/main/scala/Chisel/Driver.scala
parent481fb882619265c475a962ee6b664165a79cbf1e (diff)
Remove all references to Backends, only backend is FIRRTL
Diffstat (limited to 'src/main/scala/Chisel/Driver.scala')
-rw-r--r--src/main/scala/Chisel/Driver.scala28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/main/scala/Chisel/Driver.scala b/src/main/scala/Chisel/Driver.scala
index f561e156..5baaafaf 100644
--- a/src/main/scala/Chisel/Driver.scala
+++ b/src/main/scala/Chisel/Driver.scala
@@ -264,7 +264,6 @@ object Driver extends FileSystemUtilities{
case "--vcd" => isVCD = true
case "--vcdMem" => isVCDMem = true
case "--v" => backendName = "v"
- // case "--moduleNamePrefix" => Backend.moduleNamePrefix = args(i + 1); i += 1
case "--inlineMem" => isInlineMem = true
case "--noInlineMem" => isInlineMem = false
case "--assert" => isAssert = true
@@ -300,21 +299,6 @@ object Driver extends FileSystemUtilities{
isDebug = true
emitTempNodes = true
}
- /*
- // Dreamer configuration flags
- case "--numRows" => {
- if (backend.isInstanceOf[FloBackend]) {
- backend.asInstanceOf[FloBackend].DreamerConfiguration.numRows = args(i+1).toInt
- }
- i += 1
- }
- case "--numCols" => {
- if (backend.isInstanceOf[FloBackend]) {
- backend.asInstanceOf[FloBackend].DreamerConfiguration.numCols = args(i+1).toInt
- }
- i += 1
- }
- */
case any => ChiselError.warning("'" + arg + "' is an unknown argument.")
}
i += 1
@@ -323,17 +307,6 @@ object Driver extends FileSystemUtilities{
if (!isVCD) {
isVCDinline = false
}
- // Set the backend after we've interpreted all the arguments.
- // (The backend may want to configure itself based on the arguments.)
- backend = backendName match {
- case "v" => new VerilogBackend
- case "c" => new CppBackend
- case "flo" => new FloBackend
- case "dot" => new DotBackend
- case "fpga" => new FPGABackend
- case "sysc" => new SysCBackend
- case _ => Class.forName(backendName).newInstance.asInstanceOf[Backend]
- }
}
var warnInputs = false
@@ -370,7 +343,6 @@ object Driver extends FileSystemUtilities{
var hasMem = false
var hasSRAM = false
var sramMaxSize = 0
- var backend: Backend = null
var topComponent: Module = null
val components = ArrayBuffer[Module]()
val sortedComps = ArrayBuffer[Module]()