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

Subversion Repositories sc2v

[/] [sc2v/] [trunk/] [src/] [sc2v_step2.c] - Diff between revs 24 and 29

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

Rev 24 Rev 29
Line 119... Line 119...
void
void
ShowPortList (PortNode * list)
ShowPortList (PortNode * list)
{
{
 
 
  PortNode *pll;
  PortNode *pll;
 
 
  SGLIB_LIST_MAP_ON_ELEMENTS (PortNode, list, pll, next,
  SGLIB_LIST_MAP_ON_ELEMENTS (PortNode, list, pll, next,
  {
  {
        printf ("%s ", pll->tipo);
        printf ("%s ", pll->tipo);
        if (pll->size != 0 && pll->size != 1)
        if (pll->size != 0 && pll->size != 1)
        {
        {
Line 587... Line 588...
 
 
void ShowFunctionInputs (FunctionInputNode * list){
void ShowFunctionInputs (FunctionInputNode * list){
 
 
  FunctionInputNode *fll;
  FunctionInputNode *fll;
 
 
 
  SGLIB_LIST_REVERSE(FunctionInputNode,list, next);
 
 
  SGLIB_LIST_MAP_ON_ELEMENTS (FunctionInputNode,list, fll,next,
  SGLIB_LIST_MAP_ON_ELEMENTS (FunctionInputNode,list, fll,next,
  {
  {
        if(fll->lenght!=1)
        if(fll->lenght!=1)
     printf("input [%d:0] %s;\n",(fll->lenght)-1,fll->name);
     printf("input [%d:0] %s;\n",(fll->lenght)-1,fll->name);
    else
    else

powered by: WebSVN 2.1.0

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