Re: verilog code for square of a number without using * oper
Hello,
It is better to use a multiplierso that you use combinational logic. However, if you like to use pipelining in your "square" circuit, you should write code for something like the diagram below. Note that this is a vaiable delay circuit, which means that you'll wait for 10^2 longer than 5^2