OpenFPGA Arch Parser¶
- class util.openfpga_arch.OpenFPGA_Arch(vpr_arch, openfpga_arch, layout: None)[source]¶
This is an architecture parser which parses the VPR and OpenFPGA XML files and provides easy interface APIs
Note
The idea here is not to parse complete architecture and rebuild the openfpga and VPR mapping
Methods:
Return width of selected layout
Return height of selected layout
Returns the dictionary of avaialble layouts in the architecture
Set specific layout as primary layout
Checks if the device is homogeneous device or heterogenous
Returns columns numbers of given heterogenesous pb_type
Returns row numbers of given heterogenesous pb_type
Attributes:
Returns list of pb_types in the architecture
Returns list of tiles in the architecture
Returns selected layout name
- property pb_types¶
Returns list of pb_types in the architecture
- property tiles¶
Returns list of tiles in the architecture
- property layout¶
Returns selected layout name
- get_layouts()[source]¶
Returns the dictionary of avaialble layouts in the architecture
- Returns
Available layouts as a key and (width, height) as a value of each key
- Return type
dict