Scatter-Gather Types

These types store information about about scatter-gather routing patterns

struct t_scatter_gather_pattern

Struct containing information of a <sg_pattern> tag. When instantiated in the device using sg_locations, a scatter-gather pattern defined by this struct gathers connections according to gather_pattern, moves through the device using one of the sg_links and fans out or scatters the connections according to scatter_pattern.

Struct containing information of a <sg_link> tag. This tag describes how and where the scatter (fanout) happens relative to the gather (fanin).

Public Members

std::string name

Name of the sg_link.

std::string mux_name

Name of the multiplexer used to gather connections.

std::string seg_type

Segment/wire used to move through the device to the scatter location.

int x_offset

X offset of where the scatter happens relative to the gather. If set, the y and z offsets must be zero.

int y_offset

y offset of where the scatter happens relative to the gather. If set, the x and z offsets must be zero.

int z_offset

z offset of where the scatter happens relative to the gather. If set, the x and y offsets must be zero.

struct t_sg_location

Struct containing information of an <sg_location> tag. An <sg_location> tag instantiates the scatter-gather pattern in some switchblock locations within the device. region is only valid if type == e_sb_location::E_XY_SPECIFIED.

Public Members

e_sb_location type

Type of locations that the pattern is instantiated at.

t_specified_loc region

Specification of the region where gather is applied.

int num

Number of scatter-gather pattern instantiations per location.

Name of scatter-gather link to be used.