Last change
on this file since 16 was
1,
checked in by buchmann, 17 years ago
|
Initial import from CVS repository
|
File size:
1.1 KB
|
Line | |
---|
1 | /*------------------------------------------------------------\ |
---|
2 | | | |
---|
3 | | Tool : systemcass | |
---|
4 | | | |
---|
5 | | File : fsm_rules.h | |
---|
6 | | | |
---|
7 | | Author : Buchmann Richard | |
---|
8 | | | |
---|
9 | | Date : 10_05_2005 | |
---|
10 | | | |
---|
11 | \------------------------------------------------------------*/ |
---|
12 | #ifndef __FSM_RULES_H__ |
---|
13 | #define __FSM_RULES_H__ |
---|
14 | |
---|
15 | #ifdef CHECK_FSM_RULES |
---|
16 | |
---|
17 | namespace sc_core { |
---|
18 | |
---|
19 | typedef enum { TRANSITION, GEN_MOORE, GEN_MEALY, STIMULI, ELABORATION} casc_fsm_step_t; |
---|
20 | extern casc_fsm_step_t casc_fsm_step; |
---|
21 | |
---|
22 | inline const char *get_step_name () |
---|
23 | { const char *s[] = {"TRANSITION", "MOORE GENERATION", "MEALY GENERATION", "SIMULATION LOOP", "ELABORATION"}; return s[casc_fsm_step]; } |
---|
24 | |
---|
25 | } // end of sc_core namespace |
---|
26 | |
---|
27 | #endif |
---|
28 | |
---|
29 | #endif |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.