Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / api / ams / ams_API.h
1 #include "avt_API_types.h"
2
3 void ams_DriveCommandFile (Netlist *origlf, Netlist *lf, char *filename);
4 void ams_SetPowerSupply (Netlist *lf, char *name, double vss, double vdd);
5 void ams_DriveWaveCommandFile (Netlist *lf, char *TOP, char *name);
6 void ams_LoadMainFile (char *filename, char *format);
7 void ams_DumpADvanceMSDeck (char *testbench);
8 int ams_SetContext (char *outname, char *spiname, char *figname);
9
10 /*
11 MAN ams_LoadMainFile
12 DESCRIPTION
13 loads the file <filename> assuming the file format is <format>. Available formats are: spice, tlf4, tlf3, lib, verilog, vhdl, spf, dspf, inf.
14 It also sets the <filename> to be included for ADvance-MS deck generation.
15 RETURN VALUE
16 none.
17 ERRORS
18 none.
19 */
20 /*
21 MAN ams_DumpADvanceMSDeck
22 DESCRIPTION
23 dumps the ADvance-MS deck. It needs the name of <testbench> to generate the compilation script.
24 It includes :
25 ams_blackbox_file.v : contains blackbox definition.
26 ams_command_file.cmd : command file for simulation.
27 ams_compile : compilation script.
28 RETURN VALUE
29 none.
30 ERRORS
31 none.
32 */