
288 CHAPTER 11 Processor Design with ArchC
1
..
2
call .set asm (" call %disp30 " );
3
call .set decoder (op=0x01 ) ;
4
call .jump ( ) ;
5
call .delay (1);
6
7
be. set asm ( "be %an, label " );
8
be . set decoder (op=0x00 , cond=0x01 , op2=0x02 ) ;
9
be . branch ( ) ;
10
be. delay (1);
11
...
FIGURE 11.8
Optimization for compiled simulation.
Nowadays, ArchC interpreted simulators are capable of running up to 40 MIPS
(million instructions/sec) while compiled simulators may reach up to 200 MIPS.
Which simulator to pick is a choice that depends on your goals. If integration
into a SystemC platform model is the final goal for the simulator, the interpreted
simulator is most ...