source: vis_dev/vl2mv-2.3/src/parser/vl_create.h @ 104

Last change on this file since 104 was 18, checked in by cecile, 13 years ago

vl2mv added

File size: 5.8 KB
Line 
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_create.h,v 1.3 2009/03/09 20:25:57 fabio Exp $
22
23
24*/
25
26
27
28
29#ifndef VL_CREATE_H
30#define VL_CREATE_H
31
32#include "util.h"
33
34EXTERN vl_desc *vl_create_desc ARGS((char *));
35EXTERN vl_type *vl_create_typedecl ARGS((char *, vl_type_specifier *));
36EXTERN vl_type_specifier *vl_create_type_specifier ARGS((short, vl_enum_type*));
37EXTERN vl_enum_type *vl_create_enum_type ARGS((char *, lsList));
38EXTERN vl_enumerator *vl_create_enumerator ARGS((char *, int));
39EXTERN vl_module *vl_create_module ARGS((vl_id_range *,  lsList, lsList));
40EXTERN vl_module *vl_copy_rename_module ARGS((vl_module*, char*));
41EXTERN vl_primitive *vl_create_primitive ARGS((vl_id_range*, lsList, lsList, lsList));
42EXTERN vl_prim_entry *vl_create_prim_entry ARGS((lsList, unsigned char,
43                                                 unsigned char));
44EXTERN vl_decl *vl_create_basicdecl ARGS((short, lsList));
45EXTERN vl_rangedecl *vl_create_rangedecl ARGS((vl_type *, short, vl_range*, lsList, int));
46EXTERN vl_paramdecl *vl_create_paramdecl ARGS((short, lsList));
47EXTERN vl_netdecl *vl_create_netdecl ARGS((vl_type *, short, int, vl_range *, vl_delay *, lsList));
48EXTERN vl_netdecl *vl_create_netdecl_assigned ARGS((vl_type *, short, int, vl_range *, vl_delay *, lsList));
49EXTERN vl_task *vl_create_task ARGS((vl_id_range*, lsList, lsList));
50EXTERN vl_function *vl_create_function ARGS((short, vl_range *, vl_id_range*, lsList, lsList));
51EXTERN vl_gate_inst_list *vl_create_gate_inst_list ARGS((short, int, vl_delay *, lsList));
52EXTERN vl_gate_inst *vl_create_gate_inst ARGS((vl_id_range*, lsList));
53EXTERN vl_mod_prim_inst *vl_create_prim_inst ARGS((vl_id_range*, vl_expr*));
54EXTERN vl_procstmt *vl_create_procstmt ARGS((short, void*));
55EXTERN vl_begin_end_stmt *vl_create_begin_end_stmt ARGS((vl_id_range*, void*, void*));
56EXTERN vl_if_else_stmt *vl_create_if_else_stmt ARGS((vl_expr *, void *, void *else_));
57EXTERN vl_case_stmt *vl_create_case_stmt ARGS((short, vl_expr*, lsList));
58EXTERN vl_forever_stmt *vl_create_forever_stmt ARGS((void *));
59EXTERN vl_repeat_stmt *vl_create_repeat_stmt ARGS((vl_expr *, void *));
60EXTERN vl_while_stmt *vl_create_while_stmt ARGS((vl_expr *, void *));
61EXTERN vl_for_stmt *vl_create_for_stmt ARGS((vl_bassign_stmt *, vl_expr *, vl_bassign_stmt *, void *));
62EXTERN vl_delay_control_stmt *vl_create_delay_control_stmt ARGS((vl_delay *, void *));
63EXTERN vl_event_control_stmt *vl_create_event_control_stmt ARGS((vl_event_expr *, void *));
64EXTERN vl_cont_assign *vl_create_cont_assign_stmt ARGS((int, vl_delay *, lsList));
65EXTERN vl_bassign_stmt *vl_create_bassign_stmt ARGS((short, vl_lval *, void *, vl_expr *));
66EXTERN vl_wait_stmt *vl_create_wait_stmt ARGS((vl_expr *, void *));
67EXTERN vl_fork_join_stmt *vl_create_fork_join_stmt ARGS((vl_id_range*, void *, void *));
68EXTERN vl_task_enable_stmt *vl_create_task_enable_stmt ARGS((short, vl_id_range*, lsList));
69EXTERN vl_disable_stmt *vl_create_disable_stmt ARGS((vl_id_range*));
70EXTERN vl_deassign_stmt *vl_create_deassign_stmt ARGS((vl_lval *));
71EXTERN vl_case_item *vl_create_case_item ARGS((short, lsList, void *));
72EXTERN vl_event_expr *vl_create_event_expr ARGS((short, vl_expr *));
73EXTERN vl_lval *vl_create_lval ARGS((short, vl_id_range*, vl_range *, lsList));
74EXTERN vl_expr *vl_create_expr ARGS((short, int, double, void *, void *, void *));
75EXTERN vl_delay *vl_create_delay ARGS((vl_expr *, vl_expr *, vl_expr *));
76EXTERN vl_id_range*vl_create_id ARGS((char *));
77
78
79EXTERN vl_range_or_typePtr vl_create_range_or_type ARGS((short, vl_rangePtr));
80EXTERN vl_id_rangePtr vl_create_id_range ARGS((char*, vl_range*));
81EXTERN vl_rangePtr vl_create_range ARGS((vl_expr *, vl_expr *));
82EXTERN vl_port *vl_create_port ARGS((short, vl_id_range*, lsList));
83EXTERN vl_port_connect *vl_create_port_connect ARGS((short, vl_id_range*, vl_expr *));
84EXTERN vl_send_event_stmt *vl_create_send_event_stmt ARGS((vl_id_range*));
85EXTERN typestruct *vl_add_find_mod_prim_instances ARGS((vl_id_range*, vl_delay *, int, lsList));
86EXTERN vl_mod_prim_inst_list *vl_create_mod_prim_inst_list ARGS((vl_id_range*, int, vl_delay *, lsList));
87
88
89EXTERN vl_term *vl_create_term ARGS((vl_id_range*, int, int));
90EXTERN symbolic_var *vl_create_symbolic_var ARGS((char*));
91EXTERN char *new_pc ARGS(());
92EXTERN lsList get_lhs_ids ARGS((lsList));
93
94
95EXTERN blif_latch *create_latch ARGS((vl_id_range*, vl_term*, vl_term*));
96EXTERN vl_term *create_rename_term ARGS((vl_id_range*, char*, int, int));
97EXTERN syndrome_expr *create_syndrome_expr ARGS((char*, vl_term*, st_table*, int));
98EXTERN const_term *create_const_term ARGS((vl_expr*, vl_term*));
99EXTERN vl_term *new_term ARGS((vl_range*, int, int));
100EXTERN vl_term *typed_new_term ARGS((vl_type*, vl_range*, int, int));
101EXTERN multi_concat *vl_create_mconcat ARGS((vl_expr*, lsList));
102
103
104EXTERN vl_id_range *vl_copy_id_range ARGS((vl_id_range *));
105EXTERN vl_term *vl_copy_term ARGS((vl_term *));
106EXTERN var_info *copy_var_info ARGS((var_info*));
107EXTERN var_info *create_var_info ARGS((vl_id_range*, vl_term*));
108
109
110
111EXTERN void vl_free_id ARGS((vl_id_range*));
112EXTERN void vl_free_term ARGS((vl_term *));
113EXTERN void free_var_info ARGS((var_info*));
114EXTERN vl_mod_prim_inst *vl_create_mod_prim_inst ARGS((vl_id_range *name,
115                                                       lsList ports));
116
117#endif
Note: See TracBrowser for help on using the repository browser.