??? 05/06/09 07:47 Read: times |
#165094 - seems that not the real MCU Responding to: ???'s previous message |
Rita Singh said:
thnks for reply..actualy i need to simulate the data on ports..u can c in my program their are three things that are need to be work with..
1. Input 2. target 3. output. if we can simuate the target and output on the ports then we can have a facility available in keil that's is static analyzer..if we can provide the target and can be able to see the output on ports then my problem will be solved..bec in static analyzer(in keil) we will just select the ports and we have the graph for the target and output..which i have to observe.... The input and target is provided at as such in my program double Input[NUMPAT+1][NUMIN+1] = { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1 }; double Target[NUMPAT+1][NUMOUT+1] = { 0, 0, 0, 0, 0, 1, 0, 1, 0, 0 }; and the output is generated at.. for( p = 1 ; p <= NumPattern ; p++ ) { printf("n%dt", p) ; for( i = 1 ; i <= NumInput ; i++ ) { printf("%ft", Input[p][i]) ; } for( k = 1 ; k <= NumOutput ; k++ ) { printf("%ft%ft", Target[p][k], Output[p][k]) ; } } What kind of MCS-51 simulator that you used? The C code only for code number where's the ports..? Thank you Jeckson Ben |