During the holiday period (Dec 24 – Jan 4), response times from our Global Support Team may be longer than usual.

文章详情

ID: 3014
实例类型: faq
分类: Architecture
相关: Memory EBR/Distributed
产品系列: All FPGA

搜索答案数据库

Search Text Image

MachXO2: How can shift register delay be optimized?

Often in designs, data path delays are implemented with the shift registers. Long delays require many shift registers, which consume a significant FPGA register resources.

In many cases, using RAM-based shift registers will improve resource utilization. In Lattice FPGA devices, slices can be configured as a distributed RAM. By using Distributed RAM along with control logic to implement the shift registers, register resource usage can be reduced.

For example, a 4-bit data bus and 16-cycle delay typically requires 32 logic slices (64 registers). However, it can be implemented using only 7 slices with a RAM-based shift register. This saves 78% of logic resource in this case.

The Lattice Diamond IPexpress tool is used to quickly and easily generate RAM-based shift registers logic.