Create micro-architecture and write an RTL code for a design that calculates the square of a given number.
a^2 = a*a = Sum(a) (a times)If we add a, a-times that should give the square of a.For example: 5^2 = 5+5+5+5+5 (5 added 5 times)
Post a Comment
1 comment:
a^2 = a*a = Sum(a) (a times)
If we add a, a-times that should give the square of a.
For example: 5^2 = 5+5+5+5+5 (5 added 5 times)
Post a Comment