2014-12-01 13:53:46 +01:00
|
|
|
#ifndef INCLUDED_FROM_NETLIST_SIM_C
|
|
|
|
#define state_t void
|
|
|
|
#endif
|
|
|
|
|
|
|
|
state_t *setupNodesAndTransistors(netlist_transdefs *transdefs, BOOL *node_is_pullup, nodenum_t nodes, nodenum_t transistors, nodenum_t vss, nodenum_t vcc);
|
2019-09-08 13:36:11 +01:00
|
|
|
void destroyNodesAndTransistors(state_t *state);
|
2014-12-01 13:53:46 +01:00
|
|
|
void setNode(state_t *state, nodenum_t nn, BOOL s);
|
|
|
|
BOOL isNodeHigh(state_t *state, nodenum_t nn);
|
|
|
|
unsigned int readNodes(state_t *state, int count, nodenum_t *nodelist);
|
|
|
|
void writeNodes(state_t *state, int count, nodenum_t *nodelist, int v);
|
|
|
|
|
|
|
|
void recalcNodeList(state_t *state);
|
|
|
|
void stabilizeChip(state_t *state);
|