Forum Discussion
Altera_Forum
Honored Contributor
14 years agoA processor based system to send stimulus and capture data is the ideal solution but obviously takes some effort.
If you don't need to go for such task then I will use three onchip ram blocks. one ram to store stimulus(can be editable through insystem editor), the other ram to store captured data and the third to store reference output data from a model. You then compare internally and send flag through signaltap. But remember hardware bit true testing is not that easy. You need to use valid out and synchronise rams to compare at right time. You also need to take care of bit true issues like saturation, rounding methods and their locations in the design and match them to your model. edit: you may use two rams only as well. One to store stimulus, the other to store reference data then you read ref data aligned with data output by your module. Other issues that may arise is the start and tail of filtered outputs which may differ between model and realtime hardware, issues of NCO phase...etc.