diff options
| author | Andrew Waterman | 2015-08-31 10:35:17 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2015-08-31 11:05:45 -0700 |
| commit | 445f65d9a39d20e067bfa127584928c4d862c71b (patch) | |
| tree | 22570bcf26aaa7a1992451851f943f3a5c7c57fe | |
| parent | 0cc0090d353570b1c6e1ee65d25be7626635bf0e (diff) | |
FIRRTL keywords don't need to be name-mangled, AFAICT
| -rw-r--r-- | src/main/scala/Chisel/Builder.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/scala/Chisel/Builder.scala b/src/main/scala/Chisel/Builder.scala index 668a2bcd..3cce042f 100644 --- a/src/main/scala/Chisel/Builder.scala +++ b/src/main/scala/Chisel/Builder.scala @@ -26,8 +26,6 @@ private class Namespace(parent: Option[Namespace], keywords: Set[String]) { def child: Namespace = child(Set()) } -private class FIRRTLNamespace extends Namespace(None, Set("mem", "node", "wire", "reg", "inst")) - private class IdGen { private var counter = -1L def next: Long = { @@ -70,7 +68,7 @@ class RefMap { private class DynamicContext { val idGen = new IdGen - val globalNamespace = new FIRRTLNamespace + val globalNamespace = new Namespace(None, Set()) val globalRefMap = new RefMap val components = ArrayBuffer[Component]() var currentModule: Option[Module] = None |
