Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Oh that's great, does this apply to numbers that are not divisible by 2, if i just take the integer ? So what's the working principle for it ?. And how am I going to do that? I am a beginner. Thank you
I'm trying to write Verilog code to compute a base 2 log value of x, where x is an unsigned 16 bit number. At my teacher's request, I can't use Verilog's built-in function ($clog2) or built-in math operations like *, /, +, -, **. So it gives me a lot of trouble. Please help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.