URL
https://opencores.org/ocsvn/sc2v/sc2v/trunk
Subversion Repositories sc2v
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 28 to Rev 29
- ↔ Reverse comparison
Rev 28 → Rev 29
/trunk/ChangeLog
1,3 → 1,9
20-07-2005 Version 0.4.5 |
|
Fix bug in functions parameters |
Update sglib.h library |
|
|
20-05-2005 Version 0.4.4 |
|
Fix bug using comments with -- and ++ operators |
/trunk/src/sc2v_step2.c
121,6 → 121,7
{ |
|
PortNode *pll; |
|
SGLIB_LIST_MAP_ON_ELEMENTS (PortNode, list, pll, next, |
{ |
printf ("%s ", pll->tipo); |
155,10 → 156,10
} |
|
void |
EnumeratePorts (PortNode * list) |
EnumeratePorts (PortNode *list) |
{ |
PortNode *pll; |
|
|
SGLIB_LIST_MAP_ON_ELEMENTS (PortNode, list, pll, next, |
{ |
if (pll->next == NULL) |
588,13 → 589,15
void ShowFunctionInputs (FunctionInputNode * list){ |
|
FunctionInputNode *fll; |
|
|
SGLIB_LIST_REVERSE(FunctionInputNode,list, 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); |
else |
printf("input %s;\n",fll->name); |
printf("input %s;\n",fll->name); |
}); |
} |
|