source: sources/src/internal.h @ 11

Last change on this file since 11 was 11, checked in by nipo, 15 years ago

More header correctness

File size: 2.2 KB
Line 
1/*------------------------------------------------------------\
2|                                                             |
3| Tool    :                  systemcass                       |
4|                                                             |
5| File    :                   internal.h                      |
6|                                                             |
7| Author  :                 Buchmann Richard                  |
8|                                                             |
9| Date    :                   09_07_2004                      |
10|                                                             |
11\------------------------------------------------------------*/
12#ifndef __INTERNAL_H__
13#define __INTERNAL_H__
14
15#include "internal_ext.h"
16#include <map>
17#include <string>
18
19namespace sc_core {
20
21// Method Process List
22extern method_process_t *method;
23extern method_process_list_t method_process_list;
24
25// Module Naming Stack
26typedef std::vector<std::string> module_name_stack_t;
27extern module_name_stack_t module_name_stack;
28
29// Hash Table Port -> Module
30typedef std::map</*const */sc_port_base*, const sc_module*> port2module_t;
31extern port2module_t port2module;
32
33// Functions for Elaboration step
34void sort_equi_list ();
35void create_signals_table ();
36void bind_to_table ();
37
38// Debug Functions
39void print_table (std::ostream&);
40void print_table_stats (std::ostream&);
41void print_registers_writing_stats (std::ostream&);
42
43extern bool   is_clock (const sc_interface &inter);
44
45// Flags
46extern bool        check_port_dependencies;
47extern bool        dump_all_graph;
48extern const char* dump_module_hierarchy;
49extern bool        dump_netlist_info;
50extern bool        dump_funclist_info;
51extern bool        dynamic_link_of_scheduling_code;
52extern bool        keep_generated_code;
53extern bool        nosimulation;
54extern bool        notrace;
55extern bool        print_user_resources;
56extern char*       save_on_exit;
57extern int         scheduling_method;
58extern bool        use_port_dependency;
59
60#define NO_SCHEDULING          0
61#define BUCHMANN_SCHEDULING    1
62#define MOUCHARD_SCHEDULING    2
63#define CASS_SCHEDULING        4
64
65// More
66extern uint64 trace_start;
67}
68
69#endif
70
Note: See TracBrowser for help on using the repository browser.