引言
工欲善其事,必先利其器。最近用verilog在FPGA上做一个简易的计算器,整个工程由6个模块组成,之前写的代码都是很小的,模块也很少,一般就一两个,没感觉出别扭。但是模块多了就发现,模块之间的关系就比较复杂,例化一个module时,要反复查看模块的接口,这要反复打开关闭对应的文件,比较麻烦。我之前是做嵌入式软件的,深知一个好的代码编辑工具的重要,其中source Insight是其中的佼佼者。所以就想用source Insight来写verilog,但是发现只支持VHDL,不支持verilog。事在人为,经过努力,终于搞定,效果还行。变量的索引,模块的索引,很方便。
2.1下载对应的clf文件
这有一个现成的。我刚传上去的。
http://download.csdn.net/detail/rill_zhen/4457944
官网链接:
http://www.sourceinsight.com/public/languages/
2.2 配置source Insight
1》以前有的,请删除
options-》preferences-》languages-》delete-》verilog
2》增加语言
options-》preferences-》languages-》import-》*.clf
这样会在左侧列表里增加一个verilog custom
3》增加类型
step1>
options-》document options-》add type
step2>
type name处填入:verilog
step3>
file filter处填入:*.v
step4>
在下面的language选择verilog custom
step5>
选中:symbol window
step6>
close
2.3测试
下图是我的测试结果。
可以看到,只要把鼠标移到对应的位置,在索引框里就可以看到索引结果和索引关系,比原来用notepad++和UE方便许多。
2.4小结
对于开发工作,一个好工具确实很重要,会提高工作效率,并节省人的精力,让我们把精力集中在有价值的地方。
分享到:
相关推荐
可以让sourceInsight支持verilog,很好用,内涵插件,安装方法,演示代码。具体效果,参考我的博客。
source insight软件的verilog配置文件,支持宏定义
verilog source insight插件
source insight 3.5 UTF-8中文乱码插件,提示! 我自己用3.5版本亲测有效,4.0版本我未测试过
sourceinsight40126-setup.exe sourceinsight40126-setup.exe sourceinsight40126-setup.exe sourceinsight40126-setup.exe sourceinsight40126-setup.exe sourceinsight40126-setup.exe sourceinsight40126-setup....
u-boot-sis文件配置 sourceinsight工程建立过程 u-boot-sis文件配置 sourceinsight工程建立过程 u-boot-sis文件配置 sourceinsight工程建立过程
Source Insight 4 仿 Sublime text 主题配置。使用方法:0. 解压压缩包1. `Options`->`load configuration`2. 选择`Submline-Config-for-si-4.xml`
sourceinsight支持SQL语言;在sourceinsight中查看SQL,很好的插件工具哦!!!!!
sourceinsight4084-setup.exe 从官方下载下载的,方便下载速度慢的同学。 Source Insight 4 - Latest Version Version 4.0.0084 - Feb 26, 2017 This requires a valid version 4.x license, OR you can run this ...
Source insight 4.0.89 的安装文件 1. 安装Source Insight Version 4.0.0089 2. 替换原来的sourceinsight4.exe 3.导入授权文件(Import a new license file):si4.pediy.lic
pc-lint用于sourceinsight上静态代码检测,亲测可以使用。
Source Insight Theme 参考配置后自己又调整的自用不刺眼护眼舒适黑色主题,Source Insight 4.0实用中,用着很舒适
----------------------------------- sourceinsight 4 注册系列号 -----------------------------------
sourceinsight 配置文档,个人喜欢的配置方案,字体颜色设置,看着舒服,
用于设置Soruce Insight兼容Verilog、MATLAB、Python、ARM和PHP工程语言插件
1. Macro event DocumentChanged was not called when a file was changed outside of Source Insight and then reloaded. 2. C++: Uniform initialization using braces was not working. For example: void ...
Source Insight 3支持Utf-8 如果打开是乱码,设置一下字体,为宋体,选择语言为GB2312
source insight的shell语言支持包,导入后在source insight中可以实现shell的高亮、跳转语义分析等。方便好用,亲测有效。
sourceinsight 源码编辑工具的配置文件,颜色更加合理舒服
让source insight支持AT&T汇编语法高亮 自定义语法高亮显示如何设置