FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > Verilog

Verilog comp.lang.verilog newsgroup / usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2007, 04:33 AM
[email protected]
Guest
 
Posts: n/a
Default How to make a pli return a value

Usually all the pli's are system tasks. How do we make them system
functions
I think we can do somethign with the tab file to do so?
-Parag

Reply With Quote
  #2 (permalink)  
Old 03-23-2007, 08:08 AM
[email protected]
Guest
 
Posts: n/a
Default Re: How to make a pli return a value

On Mar 23, 7:33 am, "parag_p...@hotmail.com" <parag_p...@hotmail.com>
wrote:
> Usually all the pli's are system tasks. How do we make them system
> functions
> I think we can do somethign with the tab file to do so?
> -Parag


Sorry for bothering
but I have already got the answer

in the pli tab file for (Synopsys tools)
type the following

$pli call=pli size=1

this will ensure that we have size for the return and thus it is a
funciton

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a module only with a fundtion thomasc Verilog 2 03-08-2005 02:28 PM
VCS -- return value Mark W Brehob Verilog 3 09-20-2004 02:55 PM
Return value for $fscanf on EOF. John Verilog 3 11-18-2003 07:37 PM
PLI system functions, size checking, return values and simulatordifferences Peter Riocreux Verilog 3 08-22-2003 02:32 AM


All times are GMT +1. The time now is 02:23 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved