soloktanjung
Full Member level 6
Hi,
I would like to know the power consumption of arithmetic operations such as addition, subtraction, multiplication and division.
I've code each arithmetic opertion in Verilog and estimated the power using XPOWER from Xilinx tools, but it shows 0. Only leakge power consumption are estimated. I'm thinking that the design is simple and thus not consume much power.
This is a code I wrote:
Anyone can point me out how to estimate the power consumption of arithmetic operations? Should I modified the code above of write another one?
Thanks in advance.
I would like to know the power consumption of arithmetic operations such as addition, subtraction, multiplication and division.
I've code each arithmetic opertion in Verilog and estimated the power using XPOWER from Xilinx tools, but it shows 0. Only leakge power consumption are estimated. I'm thinking that the design is simple and thus not consume much power.
This is a code I wrote:
Code:
module adderpower(clk, a, b, sum);
input clk;
input signed [8:0] a, b;
output signed [9:0] sum;
reg [9:0] sum;
always@(posedge clk)
sum<=a+b;
endmodule
Anyone can point me out how to estimate the power consumption of arithmetic operations? Should I modified the code above of write another one?
Thanks in advance.