MACIo T
MACIo T
I. I NTRODUCTION
The Internet of Things (IoT) refers to a giant network that
Fig. 1: Block diagram of IoT device.
extends to everyday objects, namely ’Things’. These things,
while not considered computers, can be sensors, actuators,
wearables, mechanical machines, home appliances or even
persons that are able to communicate with other objects and
computers through the Internet via embedded systems without the components that make up an ARM core; one of the most
human intervention. Fig. 1 depicts the components of an IoT pervasive processors in the world that are embedded in a wide
device. Sensors in each IoT device are used to monitor and range of products from cell phones to vehicles [2].
collect data from the surrounding environment; local processor DSP applications are typically performed by Multiply-
or microcontroller (MCU) is used to process these data and Accumulate unit which multiplies two numbers and accumu-
interface to a wireless device for connectivity [1]. lates the result onto an accumulator. MAC unit is a fundamen-
Typically, mobile IoT devices transfer a small amount of tal block that maximizes the performance of the processor.
data and are powered through rechargeable batteries and/or
This paper introduces a new design for a low-power MAC
ambient energy sources such as solar energy, thermal energy,
unit capable of performing several 16-bit, dual 16-bit, and 32-
wind energy, electromagnetic energy from radio transmitters,
bit operations in which up to three operands are involved;
vibrations or physical motion. This is reason that power
two operands are the multiplicand and multiplier while the
dissipation has become an important concern, where it is
third operand is used for optional accumulation and subtraction
essential for devices to use minimal power and provide a
purposes. The proposed MAC operations can be carried out on
good performance. Power consumption depends on the type
signed and unsigned numbers and the result can be 32-bit or
of sensors, microcontroller and radio transceiver within the
64-bit according to the type of operation. In order to maximize
device.
the performance, all the MAC operations are executed in one
Unlike the traditional embedded devices, which would
cycle.
contain two separate processor, most cutting-edge devices
can handle the interface and manipulate DSP applications by The rest of this paper is organized as follows: section I
means of one single-core microcontroller. Single-core micro- introduces the architecture and the design of the proposed
controllers can reduce power consumption and has the com- MAC unit in details, the simulation and results are discussed
putational power to process real-time signals. Fig. 2 abstracts in section II. Finally, section III concludes the paper.
357
R [63:0] B [31:0] A [31:0]
64 32 32
ABS ABS
ABS (B) [31:0] ABS (B [31:16]) ABS (B [15:0]) ABS (A) [31:0] ABS (A [31:16]) ABS (A [15:0])
32 16 16 32 32 16 16 32
MUX MUX
64
32 32 Sign 32 32
MUX
64 MULTIPLICATION_RESULT
ADDER64 ADDER32
64 ADR64_Y 32 ADR32_Y
MUX
64 ACCUMULATOR_RESULT
Y [63:0]
358
Y A(31) B(31)
32
32 32 32
ADDER
32
SIGN(Y)
Fig. 5: vedic scheme for 4x4-bit multiplier.
Fig. 8: The design of the ‘Sign’ block.
M3 & X"0000" X"0000" & M2 M1 X"0000" & M0 [31:16]
48 48 32 32
ADDER ADDER
Y2 X"0000" & Y1
48 48
M0 [15:0]
(a) With guard evaluation.
ADDER
48 16
359
Fig. 10: The simulation results of the MAC unit.
mented in this work. The proposed MAC unit is implemented [2] Andrew Sloss, Dominic Symes, and Chris Wright. ARM System De-
using VHDL on Nexys 4 development board featuring Xilinx’s veloper’s Guide: Designing and Optimizing System Software. Morgan
FPGA. The implementation results obtained from simulation Kaufmann Publishers Inc., San Francisco, CA, USA, 2004.
[3] V. Kulkarni, L. Kulkarni, and V. Kulkarni. High speed and area efficient
show that power consumption is very low of about 22 mW and vedic multiplier. In 2012 International Conference on Devices, Circuits
the delay is very small. Although the implemented MAC unit and Systems, pages 360-364, March 2012.
has a minimum power consumption, it is expected that such [4] C. Ravishankar, J. H. Anderson and A. Kennings, ”FPGA Power
Reduction by Guarded Evaluation Considering Logic Architecture,” in
unit will have further reduction after being integrated with the IEEE Transactions on Computer-Aided Design of Integrated Circuits
other components of the processor. Future work will focus on and Systems, vol. 31, no. 9, pp. 1305-1318, Sept. 2012.
improving the power results for the whole processor to fit the
IoT power budge.
R EFERENCES
[1] Pallavi Sethi and Smruti R. Sarangi. Internet of things: Architectures,
protocols, and applications. J. Electrical and Computer Engineering,
2017:9324035:1–9324035:25, 2017.
360