void ac_noc_s::sendWritePacket(FLITTYPE nocaddr, FLITTYPE memaddr, FLITTYPE data){ nocaddr.range(15,8) = address(7,0); sendFlit(nocaddr); sendFlit(2); sendFlit(memaddr); sendFlit(data); }
void ac_noc::sendReadPacket(FLITTYPE nocaddr, FLITTYPE memaddr) { // printf("\t ac_noc.cpp - sendReadPacket \n"); nocaddr.range(15, 8) = address(7, 0); sendFlit(nocaddr); sendFlit(1); sendFlit(memaddr); }
void ac_noc::sendWritePacket(FLITTYPE nocaddr, FLITTYPE memaddr, FLITTYPE data) { // printf("\t ac_noc.cpp - sendWritePacket \n"); nocaddr.range(15, 8) = address(7, 0); sendFlit(nocaddr); sendFlit(2); sendFlit(memaddr); sendFlit(data); }
void ac_noc_s::sendReadPacket(FLITTYPE nocaddr, FLITTYPE memaddr) { nocaddr.range(15, 8) = address(7, 0); sendFlit(nocaddr); sendFlit(1); sendFlit(memaddr); }
// escravo void ac_noc_s::sendAnswer2ReadPacket(FLITTYPE nocaddr, FLITTYPE data) { nocaddr.range(15, 8) = address(7, 0); sendFlit(nocaddr); sendFlit(1); sendFlit(data); }