question on generics, constants in vhdl

G

geoffrey wall

suppose I want calculate the log2(N)
were N is an integer valued generic parameter
in my design, now, lets say i would like to
use log2(N) as a parameter in a for ... generate
statement, is there a way to do this?
I dont want the log2(N) to be synthesized into my
hardware, i just want to use the result in a loop
--
Geoffrey Wall
Masters Student in Electrical/Computer Engineering
Florida State University, FAMU/FSU College of Engineering
(e-mail address removed)
Cell Phone:
850.339.4157

ECE Machine Intelligence Lab
http://www.eng.fsu.edu/mil
MIL Office Phone:
850.410.6145

Center for Applied Vision and Imaging Science
http://cavis.fsu.edu/
CAVIS Office Phone:
850.645.2257
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top