Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


get_resolution()

get_resolution() returns the current simulator resolution as a real number. For example, 1 femtosecond corresponds to 1e-15.

Syntax

resval := get_resolution(); 

Returns

Name
Type
Description
resval
real

The simulator resolution represented as a real

Arguments

None

Related functions

to_real()

to_time()

Example

If the simulator resolution is set to 10ps, and you invoke the command:

resval := get_resolution(); 

the value returned to resval would be 1e-11.


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase