URL
https://opencores.org/ocsvn/sc2v/sc2v/trunk
[/] [sc2v/] [trunk/] [README] - Diff between revs 36 and 39
Show entire file |
Details |
Blame |
View Log
Rev 36 |
Rev 39 |
Line 29... |
Line 29... |
INSTRUCTIONS OF USE:
|
INSTRUCTIONS OF USE:
|
|
|
1- Compiling the sources:
|
1- Compiling the sources:
|
|
|
The sc2v translator is based on lex and yacc tools. You need lex and yacc
|
The sc2v translator is based on lex and yacc tools. You need lex and yacc
|
installed before trying to compile sc2v.
|
installed before trying to compile sc2v. On Windows operating systems, you can
|
|
find them in MinGW package.
|
|
|
For compiling the sources just type "make" under the directory you unzipped the
|
For compiling the sources just type "make" under the directory you unzipped the
|
fonts. It will generate three executables: sc2v_step1 and sc2v_step2 sc2v_step3.
|
fonts. It will generate three executables: sc2v_step1 and sc2v_step2 sc2v_step3.
|
|
|
|
|
2- Translating an SystemC module:
|
2- Translating an SystemC module:
|
|
|
To translate use sc2v.sh script in the /bin directory just writting sc2v.sh module_name
|
To translate use sc2v.sh script in the /bin directory just writting sc2v.sh module_name
|
|
(or sc2v.bat module_name on windows)
|
|
|
3- Format and restrictions of the SystemC files:
|
3- Format and restrictions of the SystemC files:
|
|
|
- Each module must have a .h file with the declarations of ports,
|
- Each module must have a .h file with the declarations of ports,
|
signals, and processes, and there must exist a .cpp file with the code
|
signals, and processes, and there must exist a .cpp file with the code
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.