Verilog::Pli - Verilog PLI routine calls


Verilog-Pli documentation Contained in the Verilog-Pli distribution.

Index


Code Index:

NAME

Top

Verilog::Pli - Verilog PLI routine calls

SYNOPSIS

Top

  use Verilog::Pli;

DESCRIPTION

Top

This package allows access to Verilog PLI routines from perl. See the Verilog PLI Reference Manual for more information on these functions.

This package has only been tested with VCS. It should work with other simulators, though different header files may need to be included.

mc_scan_plusargs (switch)

Return string if switch is set on command line.

Verilog::Pli::io_printf (format, arg1)

Print a string using Verilog I/O. Try to use Verilog::Pli::IO instead of this routine.

tf_dofinish

Finish the simulation.

tf_dostop

Stop the simulation.

tf_gettime

Return simulation time.

tf_igettime

Return simulation time for the passed instance.

tf_getinstance

Return the current instance.

DISTRIBUTION

Top

The latest version is available from CPAN or http://www.veripool.com/.

Copyright 1998-2007 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License or the Perl Artistic License.

AUTHORS

Top

Wilson Snyder <wsnyder@wsnyder.org>

SEE ALSO

Top

Verilog::Pli::IO, Verilog::Pli::Net


Verilog-Pli documentation Contained in the Verilog-Pli distribution.

# Verilog::Pli - Verilog PLI
# $Id: Pli.pm 36 2007-01-02 15:24:59Z wsnyder $
# Author: Wilson Snyder <wsnyder@wsnyder.org>
######################################################################
#
# Copyright 1998-2007 by Wilson Snyder.  This program is free software;
# you can redistribute it and/or modify it under the terms of either the GNU
# General Public License or the Perl Artistic License.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
######################################################################

package Verilog::Pli;

require Exporter;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
@EXPORT = qw( mc_scan_plusargs
	      tf_dofinish tf_dostop tf_gettime tf_igettime tf_getinstance );

use strict;
use vars qw($VERSION);

######################################################################
#### Configuration Section

$VERSION = '1.703';

bootstrap Verilog::Pli;

######################################################################
#### Package return
1;