| Login | | Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name. | |
| Who's Online | There are currently, 42 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here | |
 | |
|
Verification Guild: Forums |
|
| View previous topic :: View next topic |
| Author |
Message |
Ivan Newbie


Joined: Aug 02, 2004 Posts: 1
|
Posted: Mon Aug 02, 2004 5:21 am Post subject: Does PSL support all cpp macros? |
|
|
Hello.
Could somebody clarify this sentence from PSL Reference Manual 1.1, page 17:
| Quote: | | VHDL and GDL flavors support cpp pre-processing directives (e.g., #define, #ifdef, #else, #include, and #undef). |
Does that mean that these flavors support all cpp preprocessing directives, or just the ones stated in parenthesis?
I am asking this because the tool I am using does not support PSL macros yet, so I decided to use cpp preprocessor on psl file before compiling it, but I don't want to create psl code which is not compliant to standard. |
|
| Back to top |
|
 |
avigail Junior


Joined: Aug 11, 2004 Posts: 8
|
Posted: Wed Aug 11, 2004 2:36 am Post subject: |
|
|
Yes, the VHDL and GDL flavors support all cpp directives.
The idea is that the PSL tool can run a cpp tool before it starts parsing the PSL code, just like a C compiler would do. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|