OpenCores
URL https://opencores.org/ocsvn/sc2v/sc2v/trunk

Subversion Repositories sc2v

[/] [sc2v/] [trunk/] [README] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 35 jcastillo
/*
2
 *  This program is free software; you can redistribute it and/or modify
3
 *  it under the terms of the GNU General Public License as published by
4
 *  the Free Software Foundation; either version 2 of the License, or
5
 *  (at your option) any later version.
6
 *
7
 *  This program is distributed in the hope that it will be useful,
8
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 *  GNU Library General Public License for more details.
11
 *
12
 *  You should have received a copy of the GNU General Public License
13
 *  along with this program; if not, write to the Free Software
14
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
 */
16
 
17
  Authors:
18
 
19
            Pablo Huerta (pablo.huerta@urjc.es)
20
            Javier Castillo (javier.castillo@urjc.es)
21
 
22
  Contributors:
23
 
24
         David Moloney
25
         Harald Devos
26
         Chris Stratford
27
 
28
 
29
INSTRUCTIONS OF USE:
30
 
31
1- Compiling the sources:
32
 
33
The sc2v translator is based on lex and yacc tools. You need lex and yacc
34
installed before trying to compile sc2v.
35
 
36
For compiling the sources just type "make" under the directory you unzipped the
37
fonts. It will generate three executables: sc2v_step1 and sc2v_step2 sc2v_step3.
38
 
39
 
40
2- Translating an SystemC module:
41
 
42
To translate use sc2v.sh script in the /bin directory just writting sc2v.sh module_name
43
 
44
3- Format and restrictions of the SystemC files:
45
 
46
        - Each module must have a .h file with the declarations of ports,
47
        signals, and processes, and there must exist a .cpp file with the code
48
        of the processes.
49
 
50
        - For writing to a port or a signal you must ALWAYS use the .write()
51
        method.
52
 
53
        -Macros not fully supported.
54
 
55
        -Only data types: bool, sc_int, sc_bigint, sc_uint and sc_biguint are
56
        supported.
57
 
58
        -No global variables supported.
59
 
60
4- Known bugs
61
 
62
        -The usage of macros and defines may cause some errors.
63
 
64
5- For testing the application we recommend to use the systemcdes,systecaes and
65
systemcmd5 cores, available at www.opencores.org.
66
 
67
 
68
TODO:
69
 
70
        - Repair all known bugs.
71
        - Make macros fully supported.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.