search
HomeDevelopment Toolssublimeworth collecting! Sublime text3 verilog code writing advanced operations

The following tutorial column of sublime will introduce to you the advanced operations of sublime text3 verilog code writing. I hope it will be helpful to friends in need!

worth collecting! Sublime text3 verilog code writing advanced operations

2018.10.21

I haven’t written a blog for a long time. During this time, I have been learning and settling. However, I found that the more I learn, the less I will learn. , we can only hurry up!

It has been almost a year and a half since the blogger came into contact with FPGA during the summer vacation of his freshman year, and time flies by. When I first started, I used the editor that comes with Quartus. Later, I switched to notepad to write code. The interface is better than the introduction of Quartus. Later or in the last few months, I started using gvim. When I first saw other people using it, I felt that it was a god-level operation. It was so awesome.

Let’s take a look at the big guy’s magic operation first

I believe you will also be surprised and admired. Of course, I have also learned that this shortcut command shortens time, reduces repetitive writing, and greatly improves writing efficiency. But I encountered a problem, gvim does not have keyword completion (thank you for correcting me, gvim keyword completion can be added in the configuration file, interested friends can try it) and selected are all bright, so for It's easy for me, a handicapped person, to make mistakes. Is there any reminder? In the final synthesis, everything is wrong. Isn't there such a perfect editor? Of course the answer is yes, and it is very powerful. Now let’s get to the point and follow me.

1. First go to the official website to download sublime text3 http://www.sublimetext.com/, and install it directly Just install it

2Install the Package Control plug-in, automatically manage and install the plug-in

Package Control is not installed by default, we need to install it manually:

Ctrl ~ Bring up the console and paste the following command in the console:

import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

#  After the installation is completed, restart it3. Install the Chinese plug-in ctrl shift p pop up the search box and enter install,

Click Enter, wait a while and a box will pop up again, enter ChineseLocalizations, and then click Install. Then there is a language option in the last line of help in the menu bar. Just select Simplified Chinese.

4 The process of installing the verilog plug-in is the same as that of Chinese. Finally, enter verilog, select the first installation, and then in the menu bar View syntax, there are verilog options

So far, sublime has only implemented the function of notepad, and then it will implement the function of gvim

5. Install the shortcut plug-in,

链接:https://pan.baidu.com/s/1Szq3HfsvzpYP5Ophh_W9zA
提取码:whxb

下载这三个插件,解压到这个红色框的路径下,这个路径不是安装的路径,不管你装在那个盘,都会有这个路径,我是win7系统,其他系统没测试过,应该不会有太多出入,黄色框就是这三个插件,sublime会自动识别并添加这三个插件。绿色框里面存放了verilog快捷的片段代码

 打开这个文件如下,一个文件是一种片段功能,就如文件名一样,

 

选中第一个文件,邮件选择sublime打开。黄色框就是代码片段,红色框是快捷命令,白色框是生成代码片段后鼠标的位置。

 再如下图,${x}这个是鼠标位置,里面的数字是操作顺序,${1}是生成当前片段后鼠标自动跳到这个${1}位子,${1}位子编写完后可以按table键跳到${2}位置继续编写,以此类推。这是一个强大的功能。

 

6.完成后,来欣赏一下,大神级别的操作吧

 7.注册激活

菜单栏Help - Enter License输入下面注册码即可,如果失效,自己百度一下都有的

—– BEGIN LICENSE SJOLZY.CN —–
Alexey Plutalov
Single User License
EA7E-8607763DC19CC1 134CDF23 504DC871 2DE5CE55
585DC8A6 253BB0D9 637C87A2 D8D0BA85
AAE574AD BA7D6DA9 2B9773F2 324C5DEF
17830A4E FBCF9D1D 182406E9 F883EA87
E585BBA1 2538C270 E2E857C2 194283CA
7234FF9E D0392F93 1D16E021 F1914917
63909E12 203C0169 3F08FFC8 86D06EA8
73DDAEF0 AC559F30 A6A67947 B60104C6
—— END LICENSE ——

 总结:做FPGA开发很慢,为了提高工作效率,像这样的编写代码很爽,但是不适合入门就上手,如果你刚入门建议还是老实用开发软件自带的吧,一个一个的敲,熟悉关键字,一步一个脚印,把基础做扎实。还有这些快捷片段根据自己习惯修改。

sublime很强大,这只是一小部分,自己多百度有很多大陆等待发现。有大神需要补充的欢迎交流,也欢迎指出错误!!!!!

2018.11.19

1.更新两个主题插件

agila theme 和 boxy theme

预览一下界面效果,看着很舒服

 安装与上面的操作一样,在配色方案里面选择下图所示

这两个主题插件有很多效果,自己可是这配一下,适合自己才是最好的

 2.再补充几个快捷操作

1)鼠标中间  列操作

2)ctrl+shift+D  复制粘贴当前这行

The above is the detailed content of worth collecting! Sublime text3 verilog code writing advanced operations. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:cnblogs. If there is any infringement, please contact admin@php.cn delete
sublime怎么用replacesublime怎么用replaceApr 03, 2024 am 05:51 AM

Sublime Text 替换功能允许用户搜索和替换文本。该功能可通过 "查找" 菜单中的 "替换" 选项启用。使用此功能的步骤包括:输入要搜索的文本、输入替换文本、选择是否启用正则表达式、选择替换所有或选择性替换。高级选项包括匹配大小写、匹配整个单词和使用选区。

sublime怎么显示运行结果sublime怎么显示运行结果Apr 03, 2024 am 07:06 AM

Sublime Text 中可通过以下三种方法显示运行结果:使用控制台窗口:打开控制台窗口并使用 print 语句打印结果。使用快速面板:打开快速面板,选择终端选项卡并运行代码。使用第三方插件:安装 SublimeREPL 或 Console 2 等插件,运行代码后结果将在专属窗口中显示。

sublime怎么执行sublime怎么执行Apr 03, 2024 am 07:15 AM

是,Sublime Text可以通过以下步骤执行代码:为特定编程语言安装插件配置构建系统创建构建文件使用键盘快捷键(Mac:Command + B;Windows/Linux:Control + B)执行代码

sublime怎么编写python代码sublime怎么编写python代码Apr 03, 2024 am 05:30 AM

在 Sublime Text 中编写 Python 代码,请按照以下步骤操作:安装 Sublime Text。创建新项目并保存文件为 .py。通过快捷键 Ctrl + B (Windows) / Cmd + B (Mac) 运行 Python 代码。此外,还可以通过安装 Python 插件、设置 Python 解释器、启用自动缩进和语法高亮等方式增强 Python 代码编写体验。

phpstudy配置文件怎么改phpstudy配置文件怎么改Apr 02, 2024 pm 03:57 PM

可以通过以下步骤修改 phpStudy 配置文件:找到配置文件(Windows:C:\Windows\phpStudy\php\php.ini;Mac:/Applications/phpStudy/php/php.ini)使用文本编辑器打开并查找要修改的设置编辑设置的值,如修改时区:date.timezone = Asia/Shanghai保存更改并重启 Apache 服务

sublime怎么运行结果sublime怎么运行结果Apr 03, 2024 am 07:24 AM

在 Sublime 中运行代码的方法包括:使用快捷键 (Ctrl + B)通过菜单 (工具 > 构建 > 运行)使用命令面板 (Ctrl + Shift + P > 输入“运行”)使用构建系统 (工具 > 构建系统 > 选择一个构建系统)设置默认构建系统 (首选项 > 设置 - 用户 > 添加“build_system”键值)

Flask和Sublime Text集成: Python web应用程序开发技巧(第六部分)Flask和Sublime Text集成: Python web应用程序开发技巧(第六部分)Jun 17, 2023 pm 04:08 PM

Flask和SublimeText集成:Pythonweb应用程序开发技巧(第六部分)SublimeText和Flask都是Pythonweb应用程序开发中的重要工具。然而,如何将二者集成起来,使得开发过程更加高效呢?本文将介绍一些SublimeText的插件和配置技巧,帮助你更方便地开发Flask应用程序。一、安装SublimeText插件F

sublime怎么用浏览器打开sublime怎么用浏览器打开Apr 03, 2024 am 05:45 AM

在 Sublime Text 中使用浏览器打开文件,只需:1. 打开文件;2. 将光标置于文件内,按下 Ctrl + Alt + B(Windows)或 Command + Option + B(Mac)快捷键即可。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft