Module topo_ring

Multi-Ring Topology.

Connects explicitly-provided RS ports in one or more rings. Each RS output gets MERGEd onto the ring, and each RS input is fed by a SPLIT. The topology expects a callback function which returns an array of rings, where each ring is itself an array of RS ports. These can be specified directly by object reference, or be strings representing hierarchical paths to the RS ports.

Usage:

    function ring_callback()
    	local ring1 = {'instA.iface1', 'instA.iface2', 'instB.someIface'}
    	local ring2 = {'instA.iface3', 'instC.fooBarIface'}
    	local rings = { ring1, ring2 }
    	return rings
    end
    ...
    b:system('mysys', make_topo_ring(ring_callback))

Functions

make_topo_ring (cb) Multi-ring topology function generator.


Functions

make_topo_ring (cb)
Multi-ring topology function generator. Returns a topology function.

Parameters:

  • cb function callback function that must return an array of arrays which contain RS interface names/references

Returns:

    function
generated by LDoc 1.4.3 Last updated 2016-02-26 13:23:52