|
Last change
on this file since 38 was
27,
checked in by buchmann, 16 years ago
|
|
SystemCASS now uses autoconf/automake to build the API. Regression tests still
use the old Makefiles.
(thanks to Nicolas Pouillon)
The library directory no longer is "lib-arch-system". The directory now is "lib-linux". Everyone needs to pay attention about SYSTEMCASS environment variable.
Changes:
- system header includes
- Add includes to config.h (generated by autoconf/automake)
- test:
- linux preprocessor macro instead of _WIN32
- CONFIG_DEBUG instead of DEBUG
Removes:
- Makefile
- guess_endianness.cc
- guess_os.sh
- assert.h (we now use standard assert.h)
- Options.def
|
|
File size:
1.2 KB
|
| Rev | Line | |
|---|
| [1] | 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 | |
|---|
| [27] | 15 | #ifdef HAVE_CONFIG_H |
|---|
| 16 | #include "config.h" |
|---|
| 17 | #endif |
|---|
| [1] | 18 | |
|---|
| [27] | 19 | #ifdef CONFIG_CHECK_FSM_RULES |
|---|
| 20 | |
|---|
| [1] | 21 | namespace sc_core { |
|---|
| 22 | |
|---|
| 23 | typedef enum { TRANSITION, GEN_MOORE, GEN_MEALY, STIMULI, ELABORATION} casc_fsm_step_t; |
|---|
| 24 | extern casc_fsm_step_t casc_fsm_step; |
|---|
| 25 | |
|---|
| 26 | inline 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.