Skip to content

Commit 06345cc

Browse files
committed
Merge branch 'master' into release
# Conflicts: # build.sbt
2 parents e6428cc + 12b033e commit 06345cc

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#### NOTE: This README.md describes (and associated repository contains) version 2.x of Chisel, and while we continue to support this version of Chisel, we encourage people to migrate to the new version: [Chisel3](https://github.com/ucb-bar/chisel3)
2+
3+
We've removed the Getting Started section of this document.
4+
If you're just getting started, you should be using Chisel3.
5+
16
About Chisel
27
============
38

@@ -13,18 +18,10 @@ types, and type inference.
1318
Visit the [community website](http://chisel.eecs.berkeley.edu/) for more
1419
information.
1520

16-
**NOTE**: This README.md describes (and associated repository contains)
17-
version 2.x of Chisel, and while we continue to support this version of
18-
Chisel, we encourage people to migrate to the new version:
19-
[Chisel3](https://github.com/ucb-bar/chisel3)
20-
21-
We've removed the Getting Started section of this document.
22-
If you're just getting started, you should be using Chisel3.
23-
2421
Documentation
2522
-------------
2623

27-
Documentation has been moved to a separate [repo](https://github.com/ucb-bar/chisel-doc).
24+
Documentation has been moved to a separate [repository](https://github.com/ucb-bar/chisel-doc).
2825

2926

3027
Chisel3

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ def versionToArray(v: String): Array[String] = v.split('.')
22

33
lazy val chiselBuildSettings = Seq (
44
organization := "edu.berkeley.cs",
5-
// version := "2.2.38",
6-
version := "2.2.38",
5+
// version := "2.2.39",
6+
version := "2.2.39",
77
name := "Chisel",
8-
scalaVersion := "2.11.7",
9-
crossScalaVersions := Seq("2.10.6", "2.11.7"),
8+
scalaVersion := "2.11.11",
9+
crossScalaVersions := Seq("2.10.6", "2.11.11"),
1010
//sourceDirectory := new File("@srcTop@"),
1111
publishMavenStyle := true,
1212
publishArtifact in Test := false,

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.11
1+
sbt.version=0.13.16

src/main/scala/Driver.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ import sys.process.{BasicIO,stringSeqToProcess}
3636
import BuildInfo._
3737

3838
object Driver extends FileSystemUtilities{
39+
// Indicate this version of Chisel is deprecated and advise moving to chisel3.
40+
val deprecatedWarning = new ChiselError(() => "Chisel2 is deprecated. Please use Chisel3: https://github.com/freechipsproject/chisel3", null, ChiselError.warningLevel)
41+
42+
def done: Unit = {
43+
deprecatedWarning.print()
44+
}
45+
3946
def apply[T <: Module](args: Array[String], gen: () => T, wrapped:Boolean): T = {
4047
initChisel(args)
4148
try {
@@ -46,6 +53,7 @@ object Driver extends FileSystemUtilities{
4653
println("Re-running Chisel in debug mode to obtain erroneous line numbers...")
4754
apply(args :+ "--lineNumbers", gen, wrapped)
4855
}
56+
done
4957
}
5058
}
5159

@@ -69,6 +77,7 @@ object Driver extends FileSystemUtilities{
6977
} finally {
7078
Tester.close
7179
}
80+
done
7281
}
7382
mod
7483
}

src/main/scala/testers/TesterDriver.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ object TesterDriver {
6060
c.step(1)
6161
c.finish
6262
}
63+
Driver.done
6364
true
6465
} catch {
6566
case e: Throwable =>

0 commit comments

Comments
 (0)