- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Anyone please help me, I have run a simulation on a convolution 3x3 project in ModelSim. The input is read from .bin file in which this file is actually a pixel values of an image. The problem is the output give 0 value and ModelSim give a warning: # ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0# Time: 0 ps Iteration: 0 Instance: /ro_filt_3x3_tb/UUT/window_3x3x/fifob# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0# Time: 0 ps Iteration: 0 Instance: /ro_filt_3x3_tb/UUT/window_3x3x/fifoa I try to debug the codes,but unsuccessful:(. Please advises me,thank you. I attach the project file alsoLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It means the input is a non numerical number, like "UUUU" or "XXXX" or something. This is often the case with inputs that havent been initialised - the proble occurs right at the beginning of simulatuion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tricky,
Actually the image is converted into their pixel values in Matlab and save in .bin file. Then, I use the .bin file as an input to my testbench in ModelSim. I check the input values in ModelSim, it shows unsigned values (35,32,etc.). If the problem occurs at the beginning, how this value can be inserted? How to initialised the inputs? Need advise and thanks for reponse
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page