ModelSim: [1] (Unresolved) The simulation is normal, but the data display error.

This is a new column, and I want to summarize some of the problems and experiences I encountered in the process of using Quartus and ModelSim.

The cause of the matter is that we encountered strange software bugs during the use process, which led to a lot of detours. I hope it can be of value to readers.

Table of contents

Problem Description


Problem Description

As shown in the figure below, during the ModelSim simulation process, the digital display error occurs. It can be seen from the merged value that the number is -1, but after expanding it to check the value of each digit, it is obviously not -1.

This error caused me to fall into self-doubt all night. It has not been resolved yet, and I will update it when I find the reason.

solution

The currently found solution is to use $display to print the corresponding data, which further proves that the waveform data (combined data) is indeed a software display error.


This is the whole content of this issue. If you like my article, don't forget to like and collect it, and share it with your friends~

Guess you like

Origin blog.csdn.net/Alex497259/article/details/125515092