modelsim中文
时间: 2023-10-05 14:13:02 浏览: 296
modelsim中文使用教程
在ModelSim中显示中文的方法是通过更改编码设置。您可以按照以下步骤进行操作:
1. 点击菜单栏的 "Tools",然后选择 "Preferences"。
2. 在弹出的对话框中,找到 "source" 选项,然后双击 "encoding"。
3. 在编码类型的下拉选项中,选择 "gb2312"。
4. 点击 "OK" 保存设置。
5. 重新打开您的.v文件,您将能够正常显示中文字符。
至于您提到的生成"节"和"!"两个字的像素点阵列,每个字的像素点阵列是16行、64列。可以使用如下的代码来表示"节"和"!"两个字:
"节"的像素点阵列是:
{0x08,0x20,0x08,0x20,0xFF,0xFE,0x08,0x20,0x08,0x20,0x00,0x00,0x7F,0xF8,0x02,0x08,0x02,0x08,0x02,0x08,0x02,0x08,0x02,0x50,0x02,0x20,0x02,0x00,0x02,0x00,0x02,0x00}
"!"的像素点阵列是:
{0x00,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,0x00}
这些点阵数组可以用于在显示屏上显示对应的中文字符。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [ModelSim中文手册](https://download.csdn.net/download/qq_46475176/85788869)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Modelsim解决中文注释乱码](https://blog.csdn.net/weixin_46203807/article/details/129861073)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [modelsim仿真波形图显示任意汉字和字符](https://blog.csdn.net/weixin_58634335/article/details/126798741)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文