/[smarc]/smarc/src/vmachine/vmachine.h
ViewVC logotype

Diff of /smarc/src/vmachine/vmachine.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by misto, Fri Jan 3 22:18:00 2003 UTC revision 1.17 by misto, Sat Jan 4 01:37:44 2003 UTC
# Line 43  class vmachine { Line 43  class vmachine {
43                  PSR psr, ppsr, pppsr;                  PSR psr, ppsr, pppsr;
44    
45                  enum stall {stall_no, stall_load, stall_jmpl };                  enum stall {stall_no, stall_load, stall_jmpl };
46                  vector<bool> phase_active;                  vector<bool> phase_active, phase_was_active, phase_was_stall;
47                  vector<stall> phase_stall;                  vector<stall> phase_stall;
48                  bool on;                  bool on;
49    
# Line 102  class vmachine { Line 102  class vmachine {
102    
103                  bool is_on( void ){ return on; }                  bool is_on( void ){ return on; }
104                  void off( void ) { on = false; }                  void off( void ) { on = false; }
105                  bool is_active( phase p ){ return phase_active[p]; }                  bool is_active( phase p ){ return phase_was_active[p]; }
106                    bool is_stall( phase p ){ return phase_was_stall[p]; }
107                                    
108                  void step( void );                  void step( void );
109                  void do_ADDR( void );                  void do_ADDR( void );

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26