Skip to content

Router reference

AxiRouter

Bases: Router

Router class to describe a single-AXI router

Check if the number of links is correct.

render(**kwargs)

Declare the router in the generated code.

NarrowWideRouter

Bases: Router

Router class to describe a narrow-wide router

Check if the number of links is correct.

render(**kwargs)

Declare the router in the generated code.

Router

Bases: BaseModel, ABC

Abstract router class of an actual router

Check if the number of links is correct.

render() abstractmethod

Declare the router in the generated code.

RouterDesc

Bases: BaseModel

Router class to describe (arrays of) a router

array_int_to_tuple(v) classmethod

Convert array to tuple if it is an int

dict_to_coord_obj(v) classmethod

Convert dict to Coord object.

tree_int_to_tuple(v) classmethod

Convert tree to tuple if it is an int