check_organs

spydrnet_tmr.utils.design_rule_check.drc_insert_organs.check_organs(insertion_points, organs, organ_names, suffix)

Checks to see if organs were inserted (using insert_organs) correctly by checking:

  • if organs are found where they were intended to be inserted

  • if each organ outputs to elements in its own domain (e.g. VOTER_TMR_0 outputs to something else in TMR_0)

  • if each organ inputs from different domains (e.g. voter inputs from TMR_0, TMR_1, and TMR_2)

Parameters
  • insertion_points – list of outer pins of where organs should have been inserted

  • organs – the dictionary returned by insert_organs

  • organ_names – list of names of the organs inserted into the design (e.g. [‘VOTER’, ‘DETECTOR’])

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