def __init__(self, width, height,
                 chip_resources={Cores: 18, SDRAM: 128*1024*1024,
                                 SRAM: 32*1024},
                 chip_resource_exceptions={}, dead_chips=set(),
                 dead_links=set()):
        """Defines the resources available within a SpiNNaker system.

        Parameters
        ----------
        width : int
        height : int
        chip_resources : {resource_key: requirement, ...}
        chip_resource_exceptions : {(x,y): resources, ...}
        dead_chips : set([(x,y,p), ...])
        dead_links : set([(x,y,link), ...])
        """
        self.width = width
        self.height = height

        self.chip_resources = chip_resources.copy()
        self.chip_resource_exceptions = chip_resource_exceptions.copy()

        self.dead_chips = dead_chips.copy()
        self.dead_links = dead_links.copy()
def __init__ ( self , width , height , chip_resources = { Cores : 18 , SDRAM : 128 * 1024 * 1024 , SRAM : 32 * 1024 } , chip_resource_exceptions = { } , dead_chips = set ( ) , dead_links = set ( ) ) : self . width = width self . height = height self . chip_resources = chip_resources . copy ( ) self . chip_resource_exceptions = chip_resource_exceptions . copy ( ) self . dead_chips = dead_chips . copy ( ) self . dead_links = dead_links . copy ( )
Defines the resources available within a SpiNNaker system.

        Parameters
        ----------
        width : int
        height : int
        chip_resources : {resource_key: requirement, ...}
        chip_resource_exceptions : {(x,y): resources, ...}
        dead_chips : set([(x,y,p), ...])
        dead_links : set([(x,y,link), ...])