如何将ModelSim仿真输出的数据导入txt文档
借鉴国外论坛的一段:
一开始我找不到List在哪里,后来发现是在ModelSim的主窗口里,在Wave窗口里找肯定是找不到的啦。保存的lst文件可以用window自带的写字板打开。
> I figured out a way to do it.
>
> 1. From the ModelSim console window, select "View" -> "List". A
> separate List window will pop up.
> 2. Go to the waveform view, and select the signals you want to save as
> data.
> 3. Drag and drop the signals into the "List" window, opened in step 1.
> 4. The left row will be shown as time, the right row as signal status
> at that time.
> 5. From the List window, chose "File" -> "Write List" -> "Tabular" to
> save data.
>
> The saved data can now be opened in programs like Microsoft Excel.
>
> 1. From the ModelSim console window, select "View" -> "List". A
> separate List window will pop up.
> 2. Go to the waveform view, and select the signals you want to save as
> data.
> 3. Drag and drop the signals into the "List" window, opened in step 1.
> 4. The left row will be shown as time, the right row as signal status
> at that time.
> 5. From the List window, chose "File" -> "Write List" -> "Tabular" to
> save data.
>
> The saved data can now be opened in programs like Microsoft Excel.