macsim/src/noc/perfect.c
// Receive a flit from a specified core
Receive a flit from a specified core
Receive a flit from a specified core
bool perfect_recv_flit(node_t *node, rank_t src, flit_t *flit)
{
    uint32_min_t l;
    bool r = msg_dequeue_rank(&((perfect_context_t *)node->noc_context)->recvbuf, 
        (uint8_t *)flit, &l, src);
    return r;
}
bool perfect_recv_flit ( node_t * node , rank_t src , flit_t * flit ) { uint32_min_t l ; bool r = msg_dequeue_rank ( & ( ( perfect_context_t * ) node -> noc_context ) -> recvbuf , ( uint8_t * ) flit , & l , src ) ; return r ; }
Receive a flit from a specified core
Receive a flit from a specified core