Lines Matching defs:ad
1044 // bool request_address(int ad);
1051 bool cycle_model::request_address(int ad) {
1054 // if(ad==<ADDRESS OF THE PERIPH>) {
1060 if(ad==0x10) {
1066 if(ad==0x11) {
1272 // int cycle_model::fetch_instr(int ad)
1277 int cycle_model::fetch_instr(int ad) {
1279 sc_assert((ad<MEM_SIZE)&&(ad>=0));
1284 int opcode = instr_mem[ad];
1286 printf("Fetch instruction @0x%x (= 0x%x)\n",ad,opcode);
1292 // int cycle_model::fetch_data(int ad)