Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
diff CircuitNetlistCreator.c @ 19:ba3883d39e62
small changes
author | hausers |
---|---|
date | Fri, 02 Mar 2012 18:14:06 +0100 |
parents | b0e9969d8d15 |
children | 3a4be4048a21 |
line diff
1.1 --- a/CircuitNetlistCreator.c Mon Feb 20 19:07:31 2012 +0100 1.2 +++ b/CircuitNetlistCreator.c Fri Mar 02 18:14:06 2012 +0100 1.3 @@ -13,7 +13,7 @@ 1.4 timeFnPtr, dataPtr)\ 1.5 do{\ 1.6 commPath->idxOfFromElem = fromElIdx; \ 1.7 - commPath->idxOfFromOutPort = fromElIdx; \ 1.8 + commPath->idxOfFromOutPort = outPort; \ 1.9 commPath->idxOfToElem = toElIdx; \ 1.10 commPath->idxOfToInPort = inPort; \ 1.11 commPath->commTimeCalcFn = timeFnPtr;\ 1.12 @@ -92,8 +92,8 @@ 1.13 } 1.14 1.15 //Stefan: copy netlist struct with VMS malloc after VMS initialized? 1.16 - //Sean: yes, otherwise the user has to deal with VMS details. 1.17 - // So we should do this in HWSim__make_netlist_simulatable ? 1.18 + //ANSWER: yes, otherwise the user has to deal with VMS details. 1.19 + // So we should do this in HWSim__make_netlist_simulatable -> yes 1.20 // If so, I can do this 1.21 HWSimElem * 1.22 createAPingPongElem( HWSimNetlist *netlist )