SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
Loading...
Searching...
No Matches
Functions
simple_compressor.c File Reference

SpiNNaker routing table minimisation. More...

#include <spin1_api.h>
#include <debug.h>
#include <malloc_extras.h>
#include "compressor_includes/compressor.h"
#include "rt_single.h"

Go to the source code of this file.

Functions

void compress_start (uint unused0, uint unused1)
 The callback for setting off the router compressor.
 
bool standalone (void)
 Whether this is a standalone compressor.
 
void c_main (void)
 the main entrance.
 

Detailed Description

SpiNNaker routing table minimisation.

Minimises a routing table loaded into SDRAM and load the minimised table into the router using the specified application ID.

the exit code is stored in the user0 register

The memory address with tag "1" is expected contain the following struct (entry_t is defined in routing_table.h but is described below).

Definition in file simple_compressor.c.

Function Documentation

◆ compress_start()

void compress_start ( uint  unused0,
uint  unused1 
)

The callback for setting off the router compressor.

Parameters
[in]unused0unused
[in]unused1unused

Definition at line 39 of file simple_compressor.c.

◆ standalone()

bool standalone ( void  )

Whether this is a standalone compressor.

Returns
Always true

Definition at line 97 of file simple_compressor.c.

◆ c_main()

void c_main ( void  )

the main entrance.

Definition at line 102 of file simple_compressor.c.