diff options
| author | Donggyu | 2016-11-21 14:52:05 -0800 |
|---|---|---|
| committer | Jack Koenig | 2016-11-21 14:52:05 -0800 |
| commit | 11302f77c90512f81b882ad1cc623c53d45724f8 (patch) | |
| tree | afc1236dd4fb97e857d86cec79c6e640632106e5 /chiselFrontend/src/main/scala/chisel3/core | |
| parent | 3b4755716a74d4711efa3ce6799742479e17e80b (diff) | |
Remove deduplication from Chisel (#347)
Remove modName from Module
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Module.scala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Module.scala b/chiselFrontend/src/main/scala/chisel3/core/Module.scala index 62b6d5ce..bd406529 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Module.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Module.scala @@ -124,18 +124,9 @@ extends HasId { /** Legalized name of this module. */ final val name = Builder.globalNamespace.name(desiredName) - /** FIRRTL Module name */ - private var _modName: Option[String] = None - private[chisel3] def setModName(name: String) = _modName = Some(name) - def modName = _modName match { - case Some(name) => name - case None => throwException("modName should be called after circuit elaboration") - } - /** Keep component for signal names */ private[chisel3] var _component: Option[Component] = None - /** Signal name (for simulation). */ override def instanceName = if (_parent == None) name else _component match { |
