macsim/src/noc/perfect.c
// Send a flit to a core
Send a flit to a core
Send a flit to a core
bool perfect_send_flit(node_t *node, rank_t dest, flit_t flit)
{
    if (!msg_enqueue(&((perfect_context_t *)nodes[dest]->noc_context)->recvbuf, 
        (uint8_t *)&flit, FLIT_LEN, node->rank))
            fatal("Out of memory");
    return 1;
}
bool perfect_send_flit ( node_t * node , rank_t dest , flit_t flit ) { if ( ! msg_enqueue ( & ( ( perfect_context_t * ) nodes [ dest ] -> noc_context ) -> recvbuf , ( uint8_t * ) & flit , FLIT_LEN , node -> rank ) ) fatal ( " " ) ; return 1 ; }
Send a flit to a core
Send a flit to a core