Skip to content


Browse files Browse the repository at this point in the history
sim.cxxsim: reset newly added Python-only signals (#439).
  • Loading branch information
whitequark committed Sep 29, 2020
1 parent 070036f commit 67e175d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nmigen/sim/
Expand Up @@ -120,6 +120,7 @@ def _add_rtl_signal(self, signal):
def _add_sim_signal(self, signal):
signal_parts = [cxxrtl_object.create(cxxrtl_type.WIRE, len(signal))]
signal_state = _CxxSignalState(signal, signal_parts, owned=True)
return self._add_signal(signal, signal_state)

def get_signal(self, signal):
Expand Down

0 comments on commit 67e175d

Please sign in to comment.