报错:
ERROR: [Common 17-53] User Exception: The file specified with the MODELSIM environment variable is not writeable! Please check the file permissions.
解决办法:
1.添加用户环境变量
左下角搜索框搜“编辑系统环境变量”;点击“环境变量”,用户变量中“新建”
2.环境变量名:MODELSIM,环境变量的值为:modelsim安装路径下modelsin.ini文件,如D:\modelsim_10.7\modelsim.ini
如果有MODELSIM环境变量指向modelsim.ini文件,找到该文件,右键选择属性,把文件的只读属性取消勾选,关联完成后记得修改回只读。