4573 views|4 replies

288

Posts

0

Resources
The OP
 

Synchronous fifo read and write enable problem [Copy link]

As shown in the picture, my write fifo is written one by one intermittently, and the write enable high level is a global_clk. Can the FIFO_clk be inverted? (The picture was downloaded from the Internet, and I will use the picture to speak for myself)


FIFO读写使能.png (80.21 KB, downloads: 0)

FIFO读写使能.png
This post is from FPGA/CPLD

Latest reply

According to your diagram, it is possible, but how can you ensure that your write enable always strictly follows this timing? So it is recommended to invert the write enable and write data in the inverted clock domain.  Details Published on 2018-8-8 11:10
 

367

Posts

0

Resources
2
 
According to your diagram, it is possible, but how can you ensure that your write enable always strictly follows this timing? So it is recommended to invert the write enable and write data in the inverted clock domain.
This post is from FPGA/CPLD

Comments

Using D flip-flops for synchronization?  Details Published on 2018-8-8 13:24
Using D flip-flops for synchronization?  Details Published on 2018-8-8 13:13
 
 

288

Posts

0

Resources
3
 
coyoo posted on 2018-8-8 11:10 According to your diagram, it is possible, but how can your write enable ensure that it always strictly follows this timing? So it is recommended to invert the write enable and write data...
Use D flip-flop for synchronization?
This post is from FPGA/CPLD
 
 
 

288

Posts

0

Resources
4
 
coyoo posted on 2018-8-8 11:10 According to your diagram, it is possible, but how can your write enable ensure that it always strictly follows this timing? So it is recommended to invert the write enable and write data...
When a data comes, I will generate a high level of the global-clk cycle, and then when this data is written to the fifo, a write enable of a clock cycle is generated based on this high level.
This post is from FPGA/CPLD
 
 
 

288

Posts

0

Resources
5
 
The problem has been solved. The problem is not here. There is a small problem with the input and output signals I defined. After solving it, I found that whether FIFO_clk is inverted relative to global_clk has no effect on the final result.
This post is from FPGA/CPLD
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list