Download Hardware-Software Co-Design for Sensor Nodes in Wireless

Transcript
Table 4.8: MCU’s Memory Footprints in Bytes
Tasks on
MCUs
AES
Other tasks
Total
single processor
sensor node
codes on MCU
2253
10900
13153
multiprocessor node
codes on
MCU processor
0
11819
11819
multiprocessor node
w/ a MCU coprocessor
codes on MCU coprocessor
2253
3104
5357
Table 4.9: FPGA’s Resource Costs
Tasks on FPGAs
AES
Three-layered SPI framework
Total
Number of Slice Registers
791
479
1270
Number of LUTs
3698
863
4561
Number of occupied Slices
2162
496
2658
computation-intensive tasks, we simulated the sensor nodes’ computation-intensive applications (AES-128, CubeHash-512 and Cordic) in SUNSHINE. The network setup in simulation
is the same as the actual testbeds as shown in Section 4.8.2. Comparisons between simulation and actual hardware results are shown in Figure 4.24(a). Since the CubeHash-512
application running on a single processor node and a MCU coprocessor node takes orders
of magnitude more time than other applications, other applications’ results cannot be recognized in Figure 4.24(a). An additional figure (Figure 4.24(b)) is provided to show other
applications’ results. Since all the simulation results are a little less-estimated than actual
boards as depicted in the figure, we computed the average accuracy variance between simulation and actual hardware results and added the less-estimated value to the simulation.
After adjustments, the deviation between the two results of the all experiments is within
5%. The experiments demonstrate that SUNSHINE can be used for accurately simulating
computation-intensive applications for multiprocessor sensor nodes in network environment.
After validating SUNSHINE’s capability of accurately simulating multiprocessor nodes, we
set up a tree network in simulation as shown in Figure 4.25. We used TDMA scheme to
assign each leaf node (node 5 to node 10) a time slot to process tasks and to send one packet
to their parents (node 2, 3, 4) respectively. After receiving packets from their children, the
116