fifo generated using core generator is not working fine and i need some one to help me with a soluti

OP (Company: BEL) #3396113
Rate this post
• ▲ useful
▼ not useful
i am using  xylinx v 13.1 and using this i have written an fsm to 
interact between processor and fifo for a FIFO generated using core 
generator. the problem which i am facing is that the data will write and 
den the write data count of fifo will also rise but this happens only 
after 3 write write cylces. because of this am not able to obtain the 
data which i have written when i am enabling the read signal of the fifo 
. the write data count which should remain constant is also decrementing 
when i am reading the data. but the data read is only the second data 
written at this case. the problem which i found was that fifo full which 
was high inititally is going low only after 2 write clocks and the fifo 
empty is going low only after 3 write clocks. when i noticed this 
problem i added another state  to solve this issue but then when i 
enable read signal of fifo it is only reading the first data.can any one 
help me with a soulution?
OP (Company: BEL) #3396114
Rate this post
• ▲ useful
▼ not useful
i am using  xylinx v 13.1 and using this i have written an fsm to 
interact between processor and fifo for a FIFO generated using core 
generator. the problem which i am facing is that the data will write and 
den the write data count of fifo will also rise but this happens only 
after 3 write write cylces. because of this am not able to obtain the 
data which i have written when i am enabling the read signal of the fifo 
. the write data count which should remain constant is also decrementing 
when i am reading the data. but the data read is only the second data 
written at this case. the problem which i found was that fifo full which 
was high inititally is going low only after 2 write clocks and the fifo 
empty is going low only after 3 write clocks. when i noticed this 
problem i added another state  to solve this issue but then when i 
enable read signal of fifo it is only reading the first data.can any one 
help me with a soulution?
Guest #3396552
Rate this post
• ▲ useful
▼ not useful
hm, fifo control is not a big thing, mostly counting sime numbers and 
gatin at the right points of time

you seem to have difficulties with a time line issue caused by the 
latency most probably. did you write down the time line for your code? 
usually documenting this in detail prior start shows the issue before a 
false implementation is began

from here it is difficult so guess, where there might be a problem, 
since we do not have a clear image what you already did and what you 
really intend

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.