OpenCores
URL https://opencores.org/ocsvn/sc2v/sc2v/trunk

Subversion Repositories sc2v

[/] [sc2v/] [trunk/] [src/] [sc2v_step2.h] - Diff between revs 31 and 35

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 31 Rev 35
Line 33... Line 33...
{
{
  char name[MAX_NAME_LENGTH];
  char name[MAX_NAME_LENGTH];
  char tipo[MAX_NAME_LENGTH];
  char tipo[MAX_NAME_LENGTH];
  int size;
  int size;
  struct _port_node *next;
  struct _port_node *next;
 
  int pflag;
} PortNode;
} PortNode;
 
 
typedef struct _signal_node
typedef struct _signal_node
{
{
  char name[MAX_NAME_LENGTH];
  char name[MAX_NAME_LENGTH];
  int size;
  int size;
  int arraysize;
  int arraysize;
  struct _signal_node *next;
  struct _signal_node *next;
 
  int sflag;
} SignalNode;
} SignalNode;
 
 
typedef struct _bind_node
typedef struct _bind_node
{
{
  char nameport[MAX_NAME_LENGTH];
  char nameport[MAX_NAME_LENGTH];
Line 63... Line 65...
typedef struct _funcinput_node
typedef struct _funcinput_node
{
{
  int lenght;
  int lenght;
  char name[MAX_NAME_LENGTH];
  char name[MAX_NAME_LENGTH];
  struct _funcinput_node *next;
  struct _funcinput_node *next;
 
  int sgnflag;
} FunctionInputNode;
} FunctionInputNode;
 
 
 
 
typedef struct _function_node
typedef struct _function_node
{
{
  char name[MAX_NAME_LENGTH];
  char name[MAX_NAME_LENGTH];
  int outputlenght;
  int outputlenght;
  FunctionInputNode *list;
  FunctionInputNode *list;
  struct _function_node *next;
  struct _function_node *next;
 
  int sgnflag;
} FunctionNode;
} FunctionNode;
 
 
typedef struct _sensibility_node
typedef struct _sensibility_node
{
{
  char tipo[MAX_NAME_LENGTH];
  char tipo[MAX_NAME_LENGTH];
Line 136... Line 140...
WriteNode *InsertWrite (WriteNode *list,char *name);
WriteNode *InsertWrite (WriteNode *list,char *name);
int IsWrite (WriteNode *list,char *name);
int IsWrite (WriteNode *list,char *name);
WriteNode *ReadWritesFile (WriteNode *list,char *name);
WriteNode *ReadWritesFile (WriteNode *list,char *name);
 
 
/* Functions for ports list*/
/* Functions for ports list*/
PortNode *InsertPort (PortNode *list,char *name, char *tipo, int size);
PortNode *InsertPort (PortNode *list,char *name, char *tipo, int size, int pflag);
void ShowPortList (PortNode *list);
void ShowPortList (PortNode *list);
void EnumeratePorts (PortNode *list);
void EnumeratePorts (PortNode *list);
 
 
/* Functions for signals list*/
/* Functions for signals list*/
SignalNode *InsertSignal (SignalNode *list,char *name, int size,int arraysize);
SignalNode *InsertSignal (SignalNode *list,char *name, int size,int arraysize,int sflag);
void ShowSignalsList (SignalNode* list, WriteNode* writeslist);
void ShowSignalsList (SignalNode* list, WriteNode* writeslist);
int IsWire (char *name, InstanceNode * list);
int IsWire (char *name, InstanceNode * list);
 
 
/* Functions for sensitivity list*/
/* Functions for sensitivity list*/
SensibilityNode *InsertSensibility (SensibilityNode * list, char *name, char *tipo);
SensibilityNode *InsertSensibility (SensibilityNode * list, char *name, char *tipo);
Line 170... Line 174...
void ShowEnumListList (EnumListNode * list);
void ShowEnumListList (EnumListNode * list);
int findEnumList (EnumListNode * list, char *name);
int findEnumList (EnumListNode * list, char *name);
int findEnumerateLength (EnumListNode * list, int offset);
int findEnumerateLength (EnumListNode * list, int offset);
 
 
/* Functions for functions inputs list*/
/* Functions for functions inputs list*/
FunctionInputNode *InsertFunctionInput (FunctionInputNode * list, char *name, int lenght);
FunctionInputNode *InsertFunctionInput (FunctionInputNode * list, char *name, int lenght, int flag);
void ShowFunctionInputs (FunctionInputNode * list);
void ShowFunctionInputs (FunctionInputNode * list);
 
 
/* Functions for functions list*/
/* Functions for functions list*/
FunctionNode *InsertFunction (FunctionNode *list, char *name,FunctionInputNode *InputsList,int outputlenght);
FunctionNode *InsertFunction (FunctionNode *list, char *name,FunctionInputNode *InputsList,int outputlenght,int flag);
void ShowFunctionCode (FunctionNode *list);
void ShowFunctionCode (FunctionNode *list);
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.