asiDefineDataAccessFunction??

E

Erik Wanta

Guest
I want to define a data access function for the zref() function for a
simulator other than spectre.

I have the following data access function:
procedure( dazref(specifier dataDir simData)

let((wave)
dprint(specifier)
wave = asiGetDrlData("element" list(concat("port0"))
asiGetDataDir(asiGetCurrentSession()))
wave
)
)

I define it:
asiDefineDataAccessFunction(asiGetTool('analog) 'zref 'dazref)

I check to see that it is defined:
daf = asiGetDataAccessFunction(asiGetTool('analog) 'zref)
dazref

I call zref(1) and dazref doesn't get called?? Any ideas why not?

Note I tried asiGetTool(asiGetCurrentSession()) instead of
asiGetTool('analog) also.
---
Erik
 
It seems I need to rebuild the cxt to test this.
---
Erik

erikwanta@starband.net (Erik Wanta) wrote in message news:<84018314.0401261945.4b19c55e@posting.google.com>...
I want to define a data access function for the zref() function for a
simulator other than spectre.

I have the following data access function:
procedure( dazref(specifier dataDir simData)

let((wave)
dprint(specifier)
wave = asiGetDrlData("element" list(concat("port0"))
asiGetDataDir(asiGetCurrentSession()))
wave
)
)

I define it:
asiDefineDataAccessFunction(asiGetTool('analog) 'zref 'dazref)

I check to see that it is defined:
daf = asiGetDataAccessFunction(asiGetTool('analog) 'zref)
dazref

I call zref(1) and dazref doesn't get called?? Any ideas why not?

Note I tried asiGetTool(asiGetCurrentSession()) instead of
asiGetTool('analog) also.
---
Erik
 

Welcome to EDABoard.com

Sponsor

Back
Top