Beispiel #1
0
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);
}
Beispiel #2
0
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);
}
Beispiel #3
0
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);
}
Beispiel #4
0
void ac_noc_s::sendReadPacket(FLITTYPE nocaddr, FLITTYPE memaddr) {
  nocaddr.range(15, 8) = address(7, 0);
  sendFlit(nocaddr);
  sendFlit(1);
  sendFlit(memaddr);
}
Beispiel #5
0
// escravo
void ac_noc_s::sendAnswer2ReadPacket(FLITTYPE nocaddr, FLITTYPE data) {
  nocaddr.range(15, 8) = address(7, 0);
  sendFlit(nocaddr);
  sendFlit(1);
  sendFlit(data);
}