Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Yeps, I've tried that but still the same result after the counter reaches 57672. Could it be that I have reached some kind of limit with my ModelSim Starter Edition? --- Quote End --- Post a .zip file with source and a simulation script, and I'll try it in SE. --- Quote Start --- Assuming I get the data reading to work, I have a question related to Avalon ST this time: Is my implementation of endofpacket correct? if (i == `NUMBER_OF_PIXEL_VALUES-1) src_transaction.endofpacket = 1; I am not too sure if end of packet means the end of the whole of the data to be transferred. --- Quote End --- You won't break anything in simulation, so your best bet is to just try the obvious and see what happens. I haven't tested ST interfaces with the verification suite, so cannot offer any experience. --- Quote Start --- Also, how do I get output values from the device under test to go to snk_transaction.data? --- Quote End --- I would look at the Avalon-ST example provided in the verification IP suite. Hopefully they show how to use the ST API and connect it to something. I think the main thing to keep in mind, is just to try stuff, look at the waveform view, and try and clear up anything that is red. The other thing to do is look at the source code for the verification functions. Cheers, Dave