VIS

src/sim/simSim.c

Go to the documentation of this file.
00001 
00031 #include "simInt.h"
00032 
00033 static char rcsid[] UNUSED = "$Id: simSim.c,v 1.2 1997/02/12 23:03:57 hsv Exp $";
00034 
00035 /*---------------------------------------------------------------------------*/
00036 /* Constant declarations                                                     */
00037 /*---------------------------------------------------------------------------*/
00038 
00041 /*---------------------------------------------------------------------------*/
00042 /* Static function prototypes                                                */
00043 /*---------------------------------------------------------------------------*/
00044 
00045 
00049 /*---------------------------------------------------------------------------*/
00050 /* Definition of exported functions                                          */
00051 /*---------------------------------------------------------------------------*/
00052 
00064 Ntk_Network_t *
00065 Sim_SimReadNetwork(
00066   Sim_Sim_t * sim)
00067 {
00068   return (sim->network);
00069 }
00081 st_table *
00082 Sim_SimReadNodeToMvfTable(
00083   Sim_Sim_t * sim)
00084 {
00085   return (sim->nodeToMvfTable);
00086 }
00098 char *
00099 Sim_SimReadInputFile(
00100   Sim_Sim_t * sim)
00101 {
00102   return (sim->inputFile);
00103 }
00104 
00115 int
00116 Sim_SimReadLineNumber(
00117   Sim_Sim_t * sim)
00118 {
00119   return (sim->lineNumber);
00120 }
00121 
00132 array_t *
00133 Sim_SimReadNodesArray(
00134   Sim_Sim_t * sim)
00135 {
00136   return (sim->nodesArray);
00137 }
00138 
00151 int
00152 Sim_SimReadCurrentStateHead(
00153   Sim_Sim_t * sim)
00154 {
00155   return (sim->currentStateHead);
00156 }
00157 
00170 int
00171 Sim_SimReadNextStateHead(
00172   Sim_Sim_t * sim)
00173 {
00174   return (sim->nextStateHead);
00175 }
00176 
00189 int
00190 Sim_SimReadOutputHead(
00191   Sim_Sim_t * sim)
00192 {
00193   return (sim->outputHead);
00194 }
00195 
00206 array_t *
00207 Sim_SimReadInitState(
00208   Sim_Sim_t * sim)
00209 {
00210   return (sim->initState);
00211 }
00212 
00224 array_t *
00225 Sim_SimReadVectorArray(
00226   Sim_Sim_t * sim)
00227 {
00228   return (sim->vectorArray);
00229 }
00230 
00241 boolean
00242 Sim_SimTestIsVerbose(
00243   Sim_Sim_t * sim)
00244 {
00245   return (sim->verbose);
00246 }
00247 
00248 
00249 
00250 
00251 
00252 
00253 
00254 
00255 
00256 
00257 
00258 
00259 
00260 
00261 
00262 
00263 
00264 
00265 
00266 
00267 
00268 
00269 
00270 
00271