Re: Driver Access Functions


Subject: Re: Driver Access Functions
From: Kevin Cameron (Kevin.Cameron@nsc.com)
Date: Mon Sep 23 2002 - 18:36:53 PDT


I notice in Section 8.10.3 that there is a bit-pattern definition for the return of $driver_strength.
I was wondering can we not define it and just supply simulator dependent macros that work
on the returned integer instead, e.g.:

  `include "driver_access.vams" // I forget what this is actually called

    integer ds,
               s1,s0;
    ...
        ds = $driver_strength(in,0);
        s1 = `driver_strength1(ds);
        s0 = `driver_strength0(ds);

The definition seems a bit strange to me - does "the value returned is 0 or 1" refer to
$driver_strength or $driver_state, and why are there two values anyway?

Kev.



This archive was generated by hypermail 2b28 : Mon Sep 23 2002 - 18:37:31 PDT