def finalize(self):
        """
        Connects the wires.
        """
        self._check_finalized()
        self._final = True

        for dest_w, values in self.dest_instrs_info.items():
            mux_vals = dict(zip(self.instructions, values))
            dest_w <<= sparse_mux(self.signal_wire, mux_vals)
def finalize ( self ) : self . _check_finalized ( ) self . _final = True for dest_w , values in self . dest_instrs_info . items ( ) : mux_vals = dict ( zip ( self . instructions , values ) ) dest_w <<= sparse_mux ( self . signal_wire , mux_vals )
Connects the wires.