util.h File Reference

#include "verilog.h"

Defines

#define RubyVPI_util_write   vpi_printf
 An alias for vpi_printf().
#define RubyVPI_util_print(...)
 Marks the given message as being emitted from Ruby-VPI and prints it.
#define RubyVPI_util_puts(...)
 Marks the given message as being emitted from Ruby-VPI and prints it while ending the message with a new line.
#define RubyVPI_util_error(...)
 Marks the given message as being being an error message from Ruby-VPI and prints it while ending the message with a new line and then stopping the simulation.
#define RubyVPI_util_debug(...)
 A wrapper for RubyVPI_util_puts() which marks the given message as being debugging output.

Define Documentation

#define RubyVPI_util_debug ( ...   ) 

A wrapper for RubyVPI_util_puts() which marks the given message as being debugging output.

#define RubyVPI_util_error ( ...   ) 

Value:

RubyVPI_util_puts("error: " __VA_ARGS__); \
        vpi_control(vpiStop);
Marks the given message as being being an error message from Ruby-VPI and prints it while ending the message with a new line and then stopping the simulation.

Parameters:
... Arguments to RubyVPI_util_write()

#define RubyVPI_util_print ( ...   ) 

Value:

RubyVPI_util_write("[%s:%d] Ruby-VPI: ", __FILE__, __LINE__); \
        RubyVPI_util_write(__VA_ARGS__);
Marks the given message as being emitted from Ruby-VPI and prints it.

Parameters:
... Arguments to vpi_printf()

#define RubyVPI_util_puts ( ...   ) 

Value:

RubyVPI_util_print(__VA_ARGS__); \
        RubyVPI_util_write("\n");
Marks the given message as being emitted from Ruby-VPI and prints it while ending the message with a new line.

Parameters:
... Arguments to RubyVPI_util_write()

#define RubyVPI_util_write   vpi_printf

An alias for vpi_printf().

Parameters:
... Arguments to vpi_printf()


Generated on Sat Aug 2 15:14:51 2008 for Ruby-VPI by  doxygen 1.5.3