source: branches/with_autoconf/src/fsm_rules.h @ 8

Last change on this file since 8 was 8, checked in by nipo, 16 years ago

Checkin autotools magic

File size: 1.2 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 HAVE_CONFIG_H
16#include "config.h"
17#endif
18
19#ifdef CONFIG_CHECK_FSM_RULES
20
21namespace sc_core {
22
23typedef enum { TRANSITION, GEN_MOORE, GEN_MEALY, STIMULI, ELABORATION} casc_fsm_step_t;
24extern casc_fsm_step_t casc_fsm_step;
25
26inline const char *get_step_name   () 
27{ const char *s[] = {"TRANSITION", "MOORE GENERATION", "MEALY GENERATION", "SIMULATION LOOP", "ELABORATION"}; return s[casc_fsm_step]; }
28
29} // end of sc_core namespace
30
31#endif
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.