Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > very large no. of interconnections

Reply
Thread Tools

very large no. of interconnections

 
 
junaid.ece@gmail.com
Guest
Posts: n/a
 
      01-17-2006
Hi,

I want to have some arbitrary number of instanstiations and the
interconnection are not in regular fashion( there is no fixed
relationship to derive interconnections)..

Can anybody tell how to make for eg.

generate
genvar i;
for(i=0;i<=15;i=i+1) //Lowest level L1
begin:rout1
di
#(.INPUT_WIDTH( (4 + L2)),
.OUTPUT_WIDTH((4 + L2)) ,
.ADDR_BIT_WIDTH(ADDR_BIT_WIDTH)
)
)
d1_dut_11(
.clk(clk),
.reset(reset),
.data_in1(data_temp2[i])
.data_in2(data_temp5[i])
.data_in3(data_temp6[i])
);
end
endgenerate

My problem:
In port map(named association) I must have some arbirary way of
connections. So its really difficult to derive from genvar i. I am
planning to use

1.some function call to map into this arbitrary way. eg
..data_in1(data_temp2[map_fun(i)])
2. Use some array to use its .data_in1(data_temp2[map_arr[i]])

Is it possible to do this or is there any other smart way? Please let
me know...

--Junaid

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Latest Nvidia Drivers WHQL certification but very very Large.. EMB NZ Computing 6 08-15-2008 11:18 AM
SOAP and very very large numbers bmm Ruby 0 04-18-2006 11:14 PM
very very very long integer shanx__=|;- C Programming 19 10-19-2004 03:55 PM
Quick Book file access very very very slow Thomas Reed Computer Support 7 04-09-2004 08:09 PM
very Very VERY dumb Question About The new Set( ) 's Raymond Arthur St. Marie II of III Python 4 07-27-2003 12:09 AM



Advertisments