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.

short delay using SRL & long delay using BRAM

Status
Not open for further replies.

icd

Junior Member level 3
Joined
Jan 25, 2012
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,506
Hi,

Any idea about how to write the code in vhdl to infer a delay using SRL (Shift Register LUT) or using BRAM. I was told that for a short delay it is better to use SRL and for a long delay it is better to use BRAM !
Also how to calculate the width of the register for a specific delay (say 32 or 64 cycles) ? Is it right in case we need 64 cycles that means 6_bit shift register ?

Thanks
 

Circuits, codes or modules whatever you named in VHDL is clock based(sequential type codes) so any time specifications should be based on clock.
32 cycles means counting 32 rising or falling edges of clock.

I don't understand it well but you want to give an output with a delay value such as 32 cycles. I mean you produced an value and outputted it after 32 cycles.
You can use 5 bits counter.
SRL or BRAM is used for element storage, I have never heard about short delay or long delay. For eg, you can write down VHDL code that infer BRAM and push data into BRAM. If you select first or last data as your output, according to length of BRAM it is delayed.

Good luck
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top