PDA

View Full Version : svpp: *E,PEXFML: too many actual parameters in specialization



babusattur
07-01-2008, 01:42 AM
I am trying to compile what OVM-1.1 given example code.But i am getting following error.

svpp: *E,PEXFML: too many actual parameters in specialization 'ovm_nonblocking_master_imp #( REQ , RSP ,
this_type ,
tlm_fifo #( REQ ) , tlm_fifo #( RSP )
)'. Declaration has only 2. file=/workspace/tools/IUS62_lnx86/tools/ovm/src/tlm/tlm_req_rsp.svh, line=77
irun: *E,SVPPERR: An error occurred during preprocessing of Verilog files. Review the log file for errors with the code *E and fix those identified problems to proceed. Exiting with code (status 255).

I am using cadence 6.20 -s003.

I am using following command

irun -ovm hello_world.sv

pls tell how to fix this issue

Thanks,
Suresh

phuynh
07-01-2008, 11:51 AM
Hi Suresh,
IUS62-s003 did not ship with OVM-1.1 (since OVM-1.1 was released after IUS62-s003). You have 2 options:
1/ Download IUS81; this version has OVM-1.1
2/ Go into "ius62_installation"<ius62-s003 installation="">/tools directory:</ius62-s003>
- rename "ovm" directory to something else
- create a symbolic link to your ovm-1.1 (ln -s <your ovm1.1="" path="">"path to your ovm1.1" ovm)

</your>

stephenh
07-02-2008, 12:41 AM
Or a simpler way without hacking the installation of IUS:
add the "-ovmhome $OVMHOME" flags to your irun command, where $OVMHOME points to your own ovm 1.1 installation directory.

mike.russell.lsi
07-09-2008, 02:33 PM
I tried to use the "-ovmhome $OVMHOME" flag with IUS 6.20.007 and still had the same issue.

I also don't see the "$IUS/tools/ovm" directory in our installation.

babusattur
07-09-2008, 06:48 PM
Hi

To run OVM 1.1 with IUS version 8.1 where OVM is preloaded at
`ncroot`/tools/ovm, or to run with 6.20.007 OVM must placed manually at `ncroot`/tools/ovm

Thanks,
Suresh

mike.russell.lsi
07-10-2008, 07:51 AM
The issue that I ran into was caused by using winzip to extract the ovm library. When I used gtar to extract the library everything worked as expected.

These are the commands that I used...
gtar -zxvf ovm-1.1.tar.gz
irun -ovm -ovmhome $OVMHOME -incdir $OVMHOME my_svcode.sv

-Mike

daniel.preda
07-30-2008, 03:16 AM
Actually, if you download ovm-1.1.zip and ovm-1.1.tar.gz and make a diff over all SV files, you'll see that all have differences. And that's because the .zip contains files under DOS format.
In May, when ovm-1.1 was released, I downloaded the .zip version and tried it in IUS 06.20-s005 which, I think, is a newer version than s004(which the README states that is supported). I got the same "svpp: *E,PEXFML: too many actual parameters" error and concluded that my IUS does not support ovm-1.1... Until yesterday when I discovered the difference between the two archives.
For about 3 months I was convinced that my IUS version does not support ovm-1.1...most unpleasant...