Continue to Site

Welcome to EDAboard.com

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.

MUX Array in MATLAB/Simulink or VHDL

Status
Not open for further replies.

DEEPTHIPENDYALA

Newbie level 3
Joined
Aug 21, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
London
Activity points
1,301
Hi all,
Well I have to design a base index generator. When I say base index it is nothing but indexing the output of a binary counter.

Well let me explain it clearly.

We have a 13-bit binary counter who outputs are quoting to 4096 locations on a RAM and we have 13 such stages which is like the counter should count to 4K for 13 stages. Now we have to generate base index addresses for this 4K x 13 operations.
The idea I devised is to insert an extra bit '0' or '1' in the 13bit output of the counter at the MSB position when we use the Big-Endian notation for the Stage 1 from count 0 to 4095 of that particular stage, then '0/1' at the MSB-1 position for Stage 2 from 0-4095, and MSB-3 for Stage 3 and so on till Stage 13.

For doing this I have thought of using an Array of 13 MUXes to choose between the 1's and 0's and the position of insertion depending on the stage..

Can anyone please implement this for me in MATLAB or VHDL...if You have any further queries pls ask me..I will be very thankful to whoever helps me on this pls
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top