1 | /* |
---|
2 | |
---|
3 | Copyright (c) 1992, 1993 |
---|
4 | Regents of the University of California |
---|
5 | All rights reserved. |
---|
6 | |
---|
7 | Use and copying of this software and preparation of derivative works |
---|
8 | based upon this software are permitted. However, any distribution of |
---|
9 | this software or derivative works must include the above copyright |
---|
10 | notice. |
---|
11 | |
---|
12 | This software is made available AS IS, and neither the Electronics |
---|
13 | Research Laboratory or the Universify of California make any |
---|
14 | warranty about the software, its performance or its conformity to |
---|
15 | any specification. |
---|
16 | |
---|
17 | Author: Szu-Tsung Cheng, stcheng@ic.Berkeley.EDU |
---|
18 | 10/92 |
---|
19 | 10/93 |
---|
20 | |
---|
21 | $Header: /projects/development/hsv/CVSRepository/vl2mv/src/parser/vl_traverse.h,v 1.1.1.1 2001/07/09 23:22:42 fabio Exp $ |
---|
22 | |
---|
23 | |
---|
24 | */ |
---|
25 | |
---|
26 | |
---|
27 | #ifndef VL_PRINT_H |
---|
28 | #define VL_PRINT_H |
---|
29 | |
---|
30 | |
---|
31 | #define SYNCHRONIZED 1 |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | EXTERN void vl_step_module ARGS((FILE *, vl_module *)); |
---|
36 | EXTERN void vl_step_primitive ARGS((FILE *, vl_primitive *)); |
---|
37 | EXTERN void vl_step_prim_table ARGS((FILE *, short, lsList)); |
---|
38 | EXTERN void vl_step_basicdecl ARGS((FILE *, vl_decl *)); |
---|
39 | EXTERN void vl_step_arr_decl ARGS((FILE *, vl_decl *)); |
---|
40 | EXTERN void vl_step_rangedecl ARGS((FILE *, vl_rangedecl *)); |
---|
41 | EXTERN void vl_step_paramdecl ARGS((FILE *, vl_paramdecl *)); |
---|
42 | EXTERN void vl_step_netdecl ARGS((FILE *, vl_netdecl *)); |
---|
43 | EXTERN void vl_step_task ARGS((FILE *, vl_task *)); |
---|
44 | EXTERN void vl_step_function ARGS((FILE *, vl_function *)); |
---|
45 | EXTERN void vl_step_gate_inst_list ARGS((FILE *, vl_gate_inst_list *)); |
---|
46 | EXTERN void vl_step_gates ARGS((FILE *, lsList)); |
---|
47 | EXTERN void vl_step_prim_inst_list ARGS((FILE *, vl_mod_prim_inst_list *)); |
---|
48 | EXTERN void vl_step_prims ARGS((FILE *, lsList)); |
---|
49 | EXTERN void vl_step_mod_inst_list ARGS((FILE *, vl_mod_prim_inst_list *)); |
---|
50 | EXTERN void vl_step_mod_insts ARGS((FILE *, lsList)); |
---|
51 | EXTERN void vl_step_procstmt ARGS((FILE *, vl_procstmt *)); |
---|
52 | EXTERN int vl_step_begin_end_stmt ARGS((FILE *, vl_begin_end_stmt *)); |
---|
53 | EXTERN int vl_step_if_else_stmt ARGS((FILE *, vl_if_else_stmt *)); |
---|
54 | EXTERN int vl_step_case_stmt ARGS((FILE *, vl_case_stmt *)); |
---|
55 | EXTERN void vl_step_forever_stmt ARGS((FILE *, vl_forever_stmt *)); |
---|
56 | EXTERN void vl_step_repeat_stmt ARGS((FILE *, vl_repeat_stmt *)); |
---|
57 | EXTERN void vl_step_while_stmt ARGS((FILE *, vl_while_stmt *)); |
---|
58 | EXTERN void vl_step_for_stmt ARGS((FILE *, vl_for_stmt *)); |
---|
59 | EXTERN void vl_step_delay_control_stmt ARGS((FILE *, vl_delay_control_stmt *)); |
---|
60 | EXTERN int vl_step_event_control_stmt ARGS((FILE *, vl_event_control_stmt *)); |
---|
61 | EXTERN int vl_step_bassign_stmt ARGS((FILE *, vl_bassign_stmt *)); |
---|
62 | EXTERN void vl_step_wait_stmt ARGS((FILE *, vl_wait_stmt *)); |
---|
63 | EXTERN void vl_step_fork_join_stmt ARGS((FILE *, vl_fork_join_stmt *)); |
---|
64 | EXTERN void vl_step_task_enable_stmt ARGS((FILE *, vl_task_enable_stmt *)); |
---|
65 | EXTERN void vl_step_disable_stmt ARGS((FILE *, vl_disable_stmt *)); |
---|
66 | EXTERN void vl_step_deassign_stmt ARGS((FILE *, vl_deassign_stmt *)); |
---|
67 | EXTERN int vl_step_case_item ARGS((FILE *, vl_case_item *)); |
---|
68 | EXTERN int vl_step_event_expr ARGS((FILE *, vl_event_expr *)); |
---|
69 | EXTERN void vl_step_lval ARGS((FILE *, vl_lval *)); |
---|
70 | EXTERN void vl_step_expr ARGS((FILE *, vl_expr *)); |
---|
71 | EXTERN void vl_step_expr_list ARGS((FILE *, lsList)); |
---|
72 | EXTERN void vl_step_range ARGS((FILE *, vl_range *)); |
---|
73 | EXTERN void vl_step_delay ARGS((FILE *, vl_delay *)); |
---|
74 | EXTERN void vl_step_id_list ARGS((FILE *, lsList)); |
---|
75 | EXTERN void vl_step_id_range_list ARGS((FILE *, lsList)); |
---|
76 | EXTERN void vl_step_net_list ARGS((FILE *, lsList)); |
---|
77 | EXTERN void vl_step_net ARGS((FILE *, void *)); |
---|
78 | EXTERN char *vl_get_prim_symbol ARGS((unsigned char)); |
---|
79 | EXTERN char *vl_get_strength ARGS((int)); |
---|
80 | EXTERN char *vl_get_expr_op ARGS((int)); |
---|
81 | |
---|
82 | EXTERN void vl_step_ports ARGS((FILE *, lsList)); |
---|
83 | EXTERN void vl_step_mod_item_list ARGS((FILE *, lsList)); |
---|
84 | EXTERN void vl_step_mod_item ARGS((FILE *, void *)); |
---|
85 | EXTERN void vl_step_decl_list ARGS((FILE *, void *)); |
---|
86 | EXTERN int vl_step_stmt_list ARGS((FILE *, void *)); |
---|
87 | EXTERN void vl_step_strength ARGS((FILE *, int)); |
---|
88 | EXTERN void vl_step_prim ARGS((FILE *, vl_mod_prim_inst *)); |
---|
89 | EXTERN void vl_step_gate ARGS((FILE *, vl_gate_inst *)); |
---|
90 | EXTERN void vl_step_param_vals ARGS((FILE *, lsList)); |
---|
91 | EXTERN void vl_step_modinst ARGS((FILE *, vl_mod_prim_inst *)); |
---|
92 | EXTERN int vl_step_stmt ARGS((FILE *, void *)); |
---|
93 | EXTERN void vl_step_decl ARGS((FILE *, void *)); |
---|
94 | EXTERN void vl_step_cont_assign ARGS((FILE *, vl_cont_assign *)); |
---|
95 | |
---|
96 | EXTERN enum st_retval vl_step_desc ARGS((char *, char *, char *)); |
---|
97 | EXTERN void vl_step_port ARGS((FILE *, vl_port *)); |
---|
98 | EXTERN void vl_step_connects ARGS((FILE *, lsList)); |
---|
99 | EXTERN void vl_step_port_connect ARGS((FILE *, vl_port_connectPtr)); |
---|
100 | EXTERN void vl_step_id_range ARGS((FILE *, vl_id_range *)); |
---|
101 | |
---|
102 | EXTERN char *new_label ARGS(()); |
---|
103 | EXTERN vl_begin_end_stmt *vl_fake_wait_stmt ARGS((FILE *, vl_wait_stmt *)); |
---|
104 | EXTERN vl_module *vl_chk_param_dup_master ARGS((vl_mod_prim_inst_list *)); |
---|
105 | #endif |
---|