code: def inspect(self, w):
          
          wire = self.block.wirevector_by_name.get(w, w)
          return self.value[wire]
docs: Get the value of a wirevector in the last simulation cycle.
  
          :param w: the name of the WireVector to inspect
              (passing in a WireVector instead of a name is deprecated)
          :return: value of w in the current step of simulation
  
          Will throw KeyError if w does not exist in the simulation.