Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / api / ttv / ttv_API_util.h
1 #define TTVAPI_NONE -1
2 #define TTVAPI_DN 0
3 #define TTVAPI_UP 1
4 #define TTVAPI_EITHER 2
5
6 #define TTV_API_ONLY_HZ 1
7 #define TTV_API_ONLY_NOTHZ 2
8
9 #define TTV_GETDETAIL_CHECK_IDEAL 0xfab71212
10
11 cnsfig_list *ttvutil_cnsload(char *figname, inffig_list *ifl);
12 char ttv_getUorD(char dir);
13 chain_list *ttv_internal_GetPaths(ttvfig_list *tf, char *clock, char *start, char *end, char *dir, long number, char *all, char *path, char *minmax);
14 chain_list *ttv_internal_GetPaths_EXPLICIT(ttvfig_list *tf, chain_list *clock, chain_list *start, chain_list *end, char *dir, long number, char *all, char *path, char *minmax);
15 void ttv_DirectionStringToIndices(char *dir, int *a, int *b);
16 chain_list *ttv_GetClockPath(ttvpath_list *tp, ttvevent_list **connector, ttvevent_list **pathcmd);
17 int ttv_DirectionToIndex(char dir);
18 int ttv_DirectionStringToIndicesHZ(char *dir);
19 double ttv_GetLatchIntrinsicQuick(ttvfig_list *tvf, ttvevent_list *latch, ttvevent_list *cmd, int setup, ttvline_list **rline);
20
21 //#define _TODL(x) ((x)*1e-12/TTV_UNIT)
22 //#define _TOLD(x) mbk_long_round((x)*1e12*TTV_UNIT)
23 //double ttv_GetLatchIntrinsicQuick(ttvfig_list *tvf, ttvevent_list *latch, ttvevent_list *cmd, int setup);