1 #include "avt_API_types.h"
9 void ctk_API_AtLoad_Initialize();
11 void SET_CTK_NETLIST(Netlist
*netlist
);
13 Netlist
*GET_CTK_NETLIST();
15 void SET_CTK_CONTEXT(CtkContext
*cc
);
17 CtkContext
*GET_CTK_CONTEXT();
19 void ctk_SetCtkRatio(CtkContext
*cc
, Signal
*victim
, Signal
*aggressor
, double ratio
);
21 void ctk_SetInternalCrosstalkToGround(CtkContext
*cc
, double ratio
);
23 void ctk_SetExternalCrosstalkRatio(CtkContext
*cc
, double ratio
);
25 List
*ctk_GetAllVictims();
27 CtkContext
*ctk_CreateContext();
29 void ctk_FreeContext(CtkContext
*cc
);
31 /* functions in ctk_API.c related to crosstalk information */
34 MAN ctk_LoadAggressionFile
37 Loads the crosstalk database (generated with {stb} in crosstalk mode), and back-annotates a stability figure
39 stbfig % Pointer on the stability figure to back-annotate
41 extern void ctk_LoadAggressionFile( StabilityFigure
*stbfig
);
44 MAN ctk_LoadCrosstalkResults
47 ctk_LoadCrosstalkResults <{timingfigure}>
49 Puts the UTD in the same state as after the crosstalk analysis was done. The corresponding StabilityFigure is returned.
50 Functions 'ttv_LoadCrosstalkFile', 'stb_LoadSwitchingWindows' then 'ctk_LoadAggressionFile' are called to do this action.
52 timingfigure % TimingFigure to put into post-crosstalk analysis state
53 EXAMPLE % {set stabfig [ctk_LoadCrosstalkResults $myUTD]}.
56 void ctk_LoadCrosstalkResults(void); // (void) disables the gns wrappers
62 Drives a {.ctk} crosstalk analysis report file
64 stbfig % Pointer on the stability figure associated
66 extern void ctk_DriveStatCtk( StabilityFigure
*stbfig
);
72 Builds the internal crosstalk table of statistics for events and delays
74 stbfig % Pointer on the stability figure associated
76 void ctk_BuildCtkStat( StabilityFigure
*stbfig
);
79 MAN ctk_GetStatNodeProperty
82 Returns a property of a crosstalk node. A Property is a polymorphic type, the returned type depends on the property code.
84 stbfig % Pointer on a stability figure
85 index % Number between 1 and the value returned by {ctk_GetNumberOfCtkStatNode}
86 property % Property code; for available property codes, see the {StatNode} object section
89 Property
* ctk_GetStatNodeProperty( StabilityFigure
*stbfig
, int index
, char *property
);
92 MAN ctk_GetAggressorList
95 Returns the list of all the aggressors of an event. This list must be freed with the {ctk_FreeAggressorList} command.
97 stbfig % Pointer on a stability figure
98 event % Pointer on a timing event
100 AggressorList
* ctk_GetAggressorList( StabilityFigure
*stbfig
, TimingEvent
*event
);
103 MAN ctk_GetAggressorProperty
106 Returns a property of a aggressor node. A Property is a polymorphic type, the returned type depends on the property code.
108 aggressor % Pointer on a aggressor
109 property % Property code; for available property codes, see the {Aggressor} object section
111 Property
* ctk_GetAggressorProperty( Aggressor
*aggressor
, char *property
);
114 MAN ctk_FreeAggressorList
117 Frees the list given by {ctk_GetAggressorList}
119 list % Pointer on the aggressor list to be freed
121 void ctk_FreeAggressorList( AggressorList
*list
);
124 MAN tcl+ctk_SortCtkStatNode
127 Sorts crosstalk noise statistics according to various criteria
129 stbfig % Pointer on a stability figure
130 criterion % {SCORE}, {SCORE_NOISE}, {SCORE_ACTIVITY}, {SCORE_CTK}, {SCORE_INTERVAL}, {NOISE_INSIDE_ALIM_MAX}, {NOISE_INSIDE_ALIM_REAL}, {NOISE_RISE_MAX}, {NOISE_RISE_REAL}, {NOISE_FALL_MAX} or {NOISE_FALL_REAL}.
133 void ctk_SortCtkStatNode( StabilityFigure
*stbfig
, char *criterion
);
136 MAN ctk_GetNumberOfCtkStatNode
139 Returns the number crosstalk node statistics
141 stbfig % Pointer on a stability figure
143 int ctk_GetNumberOfCtkStatNode( StabilityFigure
*stbfig
);
146 MAN ctk_GetCtkStatNodeFromEvent
149 Returns the crosstalk statistic index of a given timing event
151 stbfig % Pointer on a stability figure
152 event % Pointer on a timing event
154 int ctk_GetCtkStatNodeFromEvent( StabilityFigure
*stbfig
, TimingEvent
*event
);
157 MAN ctk_SortCtkStatLine
160 Sorts crosstalk delay statistics according to various criteria
162 stbfig % Pointer on a stability figure
163 criterion % {ABSOLUTE_DELAY}, {ABSOLUTE_MAX_DELAY}, {ABSOLUTE_MIN_DELAY}, {RELATIVE_DELAY}, {RELATIVE_MAX_DELAY}, {RELATIVE_MIN_DELAY}, {ABSOLUTE_SLOPE}, {ABSOLUTE_MAX_SLOPE}, {ABSOLUTE_MIN_SLOPE}, {RELATIVE_SLOPE}, {RELATIVE_MAX_SLOPE} or {RELATIVE_MIN_SLOPE}.
165 void ctk_SortCtkStatLine( StabilityFigure
*stbfig
, char *criterion
);
168 MAN ctk_GetNumberOfCtkStatLine
171 Returns the number crosstalk delay statistics
173 stbfig % Pointer on a stability figure
175 int ctk_GetNumberOfCtkStatLine( StabilityFigure
*stbfig
);
178 MAN ctk_GetStatLineProperty
181 Returns a property of a crosstalk delay line. A Property is a polymorphic type, the returned type depends on the property code.
183 stbfig % Pointer on a stability figure
184 index % Number between 1 and the value returned by {ctk_GetNumberOfCtkStatLine}
185 property % Property code; for available property codes, see the {StatLine} object section
187 Property
* ctk_GetStatLineProperty( StabilityFigure
*stbfig
, int index
, char *property
);