Scoreboard for fifo integrity

Why OSVVM?ForumsVHDLScoreboard for fifo integrity

This topic has 2 voices, contains 1 reply, and was last updated by Avatar of Jim Lewis Jim Lewis 1295 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
November 11, 2013 at 11:07 #728
Avatar of bobby
bobby

Hi everybody,

I have design a VHDL fifo and I want to add a unit that checks the fifo integrity is good, kind of a scoreboard.

What is the easiest way to achieve this goal? I was thinking of creating a reference memory , after that compare it with the fifo dut. Would this work? How can I compare two arrays from different hierarchy levels?

Any advice would be appreciated.

Thanks and regards,

Bobby

November 11, 2013 at 16:01 #729
Avatar of Jim Lewis
Jim Lewis

Is there anything special about the data that flows through the FIFO – such as checksum?  Otherwise, there is no reason not to use an incrementing data pattern at the input and then  check the same values at the output.   The only concern with an incrementing pattern is that you drop so many that the counter wraps around and has a matching value – unlikely and you can make sure it did not happen by keeping a stimulus generation count and check count and make sure they match at the end of the test.

What you need to do with the FIFO is vary the traffic enough that you try to do a read while the FIFO is empty and try to do a write while the FIFO is full – in both cases you want to see the interface stop correctly.   This can be accomplished simply by randomizing bursts of traffic and blocks of delay. 

I go more into this in our VHDL Testbenches and Verification class:  http://www.synthworks.com/vhdl_testbench_verification.htm

I also cover scoreboards in the class.

We have an online session of the class starting on November 18th.

Jim

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.