Selected Documentation for Messaging-Cells Library
Macros | Functions
global.h File Reference

Global functions. It is included in cell.hh. More...

#include "debug.h"
#include "shared.h"
#include "loader.h"
#include "trace.h"
+ Include dependency graph for global.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define mck_set_sub_module_id(id)   { MC_WORKERU_INFO->current_sub_module_id = (id); }
 Sets a sub module id to 'id'.
 
#define mck_is_ro_co_workeru(ro, co)   ((MC_WORKERU_INFO->the_workeru_ro == (ro)) && (MC_WORKERU_INFO->the_workeru_co == (co)))
 True if this workeru is in row 'ro' and column 'co'.
 
#define mck_is_nn_workeru(nn)   (MC_WORKERU_INFO->the_workeru_nn == (nn))
 True if this workeru has number 'nn'.
 
#define mck_is_id_workeru(id)   (MC_WORKERU_INFO->the_workeru_id == (id))
 True if this workeru has id 'id'.
 

Functions

void mck_abort (mc_addr_t err, char *msg) mc_external_code_ram
 

Detailed Description

Global functions. It is included in cell.hh.


Function Documentation

void mck_abort ( mc_addr_t  err,
char *  msg 
)

This function aborts execution. It saves the stack trace and the Zynq side will print it after aborting.

+ Here is the caller graph for this function: