[docs]defcreate_tiles(self):''' This will be extendned in the class '''raiseNotImplementedError
[docs]classOpenFPGA_Placement_Generator:""" Template class to create OpenFPGA Placement generator """fpga_size=(0,0)""" (int, int): Size of the FPGA """netlist=(0,0)""" (sdn.netlist): Design netlist """fpga_grid=(0,0)""" (list(list)): Two dimentional list of mapping instances to grid """design_grid=None""" (GridFloorplanGen): Design grid markers """def__init__(self,grid_size,netlist,fpga_grid):self.fpga_size=grid_sizeself._netlist=netlistself._top_module=netlist.top_instance.referenceself.fpga_grid=fpga_gridself.design_grid=GridFloorplanGen(grid_size[0]*2+1,grid_size[1]*2+1,grid_x=200,grid_y=200)
[docs]defcreate_placement(self):''' This will be extendned in the class '''raiseNotImplementedError
[docs]defupdate_placement(self):''' This will be extendned in the class '''raiseNotImplementedError