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.

Can memory arbiter be realized with combinational logic?

Status
Not open for further replies.

dBUGGER

Advanced Member level 4
Joined
Apr 18, 2005
Messages
108
Helped
13
Reputation
26
Reaction score
1
Trophy points
1,298
Location
Milky Way
Activity points
2,430
Hi all,
Can memory arbiter be realized with combinational logic or it cumpolsarily be sequential logic. Please explain.

Best Regards,
 

Re: Memory arbiter

You willl usally find this as a sequential logic because of the timing constraints of the memory ( usally memories don't operate at the speed of your digital logic) But if you are using SRAM then may be you could go for purely combinational logic . It all depends on the speed of your memory blocks please go through the data sheet of your memory then u will be in a better shape to decide what needs to be done.
 

Re: Memory arbiter

Basically, comb logic and sequential logic is the same except that the timing is different. Therefore, you can implement in both depending on you timing budget of you design. If your design is not timing critical, just use comb logic since it is simple and gains in area and power.

For logic design, there are two things that you will concern. One is throughput. The other is latency. Your constrain is system requirment and area. Good design always has a good trade of between performance and area.
 

    dBUGGER

    Points: 2
    Helpful Answer Positive Rating
Memory arbiter

Only the most trivial of arbitration schemes can be implemented with combinatorial logic.
 

Memory arbiter

Hi,
yes as lucano suggested the problem i am facing is with respect to latency. Now my controller puts a address on the address bus and expects the data in the next cycle but with a sequential arbiter I get 2 cycle delay as the address passes from controller to arbiter and then data from flash to controller through arbiter both consume one extra cycle so the whole logic goes for a six. So can anyone suggest what to do in that case. I can't insert wait states for every cycle as it will slow down the process a lot

Best Regards,
 

Re: Memory arbiter

If additional cycles could not be inserted for your system requirment you could just use the comb logic. The typical case is you have a CPU and a lot of peripherals. Just use pure comb logic on high address for Chip Select signal for each of your peripheral. In most cases, the peripherals are seamless to the processor. Therefore, you don't need the re-budget the timing. The data bus can be conneted directly to different peripherals.

Don't worry about the driving ability of the data bus. Even the processor but will drive a lot of peripheral bus you could solve the driving problem by adding the buffer branch to 4~6 peripherals each.
 

Memory arbiter

Compared with nomal arbiter, what is special for memory arbiter ?
 

Memory arbiter

I just curious about how to realize a round-robin arbiter in pure combinational logic. and make it synthesisable.

the key problem is the timming loop occurs in this circuit. which make synthesis tools hard to work
 

Memory arbiter

round-robin arbiter is same as others...

MUX bank, the select pin is controlled by your control logic, comb or seq, depending on your timing budget and timing reqirement. In your case, often a count and some comb logic for the control logic.

Draw a timing diagram you get it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top