diff options
| author | Richard Lin | 2016-03-14 12:22:32 -0700 |
|---|---|---|
| committer | Richard Lin | 2016-03-14 12:22:32 -0700 |
| commit | 291a275abdfec9b5fc4e23f653742080cdc5d351 (patch) | |
| tree | 9ded3b0ad45f78d0b47e5e6b9419a8a0f3b2165e /src/main/scala/Chisel/Main.scala | |
| parent | 62794befadd8477af26919e453d4bdbbad83dd1f (diff) | |
| parent | 541b2d4cb0b3e01d22f442b4cae7dcc6f910af41 (diff) | |
Merge pull request #119 from ucb-bar/scalastyle
Scalastyle cleanup - no functional differences.
Diffstat (limited to 'src/main/scala/Chisel/Main.scala')
| -rw-r--r-- | src/main/scala/Chisel/Main.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/scala/Chisel/Main.scala b/src/main/scala/Chisel/Main.scala index 349f8b18..0151a288 100644 --- a/src/main/scala/Chisel/Main.scala +++ b/src/main/scala/Chisel/Main.scala @@ -1,14 +1,14 @@ -// See LICENSE for details +// See LICENSE for license details. package Chisel import java.io.File @deprecated("chiselMain doesn't exist in Chisel3", "3.0") object chiselMain { - def apply[T <: Module](args: Array[String], gen: () => T) = + def apply[T <: Module](args: Array[String], gen: () => T): Unit = Predef.assert(false) - def run[T <: Module] (args: Array[String], gen: () => T) = { + def run[T <: Module] (args: Array[String], gen: () => T): Unit = { def circuit = Driver.elaborate(gen) def output_file = new File(Driver.targetDir + "/" + circuit.name + ".fir") Driver.parseArgs(args) |
