Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > VHDL > Using a vector ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 6044 of 6417
Post > Topic >>

Using a vector as an index

by "M. Hamed" <mhs000@[EMAIL PROTECTED] > May 22, 2008 at 12:40 PM

Why is the Xilinx tool complaining about this (VHDL):

 timer_done <= timer(data_len);

Where data_len is a 4 bit std_logic_vector, and timer is a 16 bit
std_logic_vector.

I want the tool to automatically infer a MUX with data_len as the
selector and timer as the input.

I can use a CASE statement but that is a lot of coding. I think
Verilog can happily accept that.

Thanks.
 




 3 Posts in Topic:
Using a vector as an index
"M. Hamed" <  2008-05-22 12:40:53 
Re: Using a vector as an index
Dave <dhschetz@[EMAIL   2008-05-22 12:52:53 
Re: Using a vector as an index
Brian Drummond <brian_  2008-05-23 13:02:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 15:28:28 CST 2008.