reorder_organ_pins

spydrnet_tmr.transformation.switch_organ_pins.reorder_organ_pins(voter_map, primary_input_port_name, suffix)

Reorders the input pins of each organ until the primary input pin is driven by the organ’s own domain (i.e. at first, reg_TMR_2_VOTER’s primary input is driven by reg_TMR_0, but after will be driven by reg_TMR_2). This makes the XilinxCombinedOrgan work.

Parameters
  • voter_map – the dictionary returned by the dictionary returned by insert_organs

  • primary_input_port_name – name of the primary input port (e.g. ‘I0’)

  • suffix – string appended to the replicated instances’ names (e.g. ‘TMR’)

Returns

void