next up previous
Next: Results Up: IEEE FireWire and Net Previous: Graph view vs. implementation

Net update algorithm

Net update (re)starts executing on a bus whenever the local bus topology has changed (removal or insertion of bridge portals), or when one of the bridge portal's information was adjusted because of net update executing on an adjacent bus. It consists of the following consecutive operations, presented in the graph terminology for sake of clarity and compactness. We assume extra variables per bridge for the net identity, for the distance to the root bus in the net tree, and a destroy flag for each possible bus id.
  1. loop elimination: if the information of the bridge portals indicates a loop in the topology, then one edge must be taken out of the net tree and bus trees. One of the following applies:
  2. spanning & destroying trees: each bridge attached to the bus is adjusted so that a selected net tree is spanned, and each bus tree is either destroyed (if in conflict), spanned (if no conflict but not yet complete) or left unchanged (otherwise).
  3. completion For each bridge not adjacent to a bus where net update is busy, all destroy flags are set to false.

next up previous
Next: Results Up: IEEE FireWire and Net Previous: Graph view vs. implementation
Wieger Wesselink 2004-05-24