From 3506c54b87abfd6e0269effb4685a58c881a890e Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 14 Apr 2016 17:42:18 -0700 Subject: Eliminate RefMap It's an unconvincing means to pretend there isn't mutable state when there really is. It's more confusing and less performant than just calling a spade a spade. --- src/main/scala/Chisel/Module.scala | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/scala/Chisel/Module.scala') diff --git a/src/main/scala/Chisel/Module.scala b/src/main/scala/Chisel/Module.scala index 463c2f81..22c1f9c3 100644 --- a/src/main/scala/Chisel/Module.scala +++ b/src/main/scala/Chisel/Module.scala @@ -53,8 +53,6 @@ abstract class Module(_clock: Clock = null, _reset: Bool = null) extends HasId { val reset = Bool(INPUT) private[Chisel] def addId(d: HasId) { _ids += d } - private[Chisel] def ref = Builder.globalRefMap(this) - private[Chisel] def lref = ref private def ports = (clock, "clk") :: (reset, "reset") :: (io, "io") :: Nil -- cgit v1.2.3