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.

xilinx fifo depth and reading 00's

Status
Not open for further replies.

electronrancher

Advanced Member level 1
Joined
Mar 24, 2002
Messages
447
Helped
46
Reputation
92
Reaction score
11
Trophy points
1,298
Activity points
6,935
Hi,

Might be a dumb question, but I'd appreciate a serious answer nonetheless. I built a fifo in coregen (FWFT) of depth 16 and latched 1 word of data to it. I found that I had to read out 00's 15 times before I saw my data word. This seems... wrong. Is it? I was expecting to get my first word on the first read, not have to shift through a bunch of garbage before I got my data.
 

This is not expected behaviour. You would expect to see the data in the first address appear on the output port soon after being stored. The action of reading the data increments the FIFO read address.

Without seeing code or waveforms it is hard to say exactly what is the cause of the problem.

r.b.
 

Yeah no kidding. Thanks guys for the sanity check, I bet the problem is wr_en going high initially and stuffing empty data. The debug was made more difficult because even in version 9.2, the default behavioral models just don't act right. You'd think they'd be able to get it accurate after 9 major releases and who knows how many updates. But structural model seems to be working right.
 

There were some issues in the behavioural models earlier on, but I thought they were fixed. If the 9.2 you are referring to is the version of ISE, then you should update to the latest version, which is 14.7.

r.b.
 

Indeed. That and other assorted other weirdness more or less settled around version 11. I was also thinking "why the hell punish yourself with 9.2?", but you're probably stuck with it due to this being an old project or some such? Because if this is not an old project ==> use something from the 14.x range.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top