Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example of an operation written in sublime text3 verilog code

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the operation examples of sublime text3 verilog code writing, which is very detailed and has certain reference value. Friends who are interested must read it!

The usage of gvim

I think you will be surprised and admired. Of course, I also learned that this kind of quick command shortens the time, reduces repetitive writing, and greatly improves the efficiency of writing. But encounter a problem, gvim no keyword completion (thank you boss to correct, gvim keyword completion can be added in the configuration file, interested friends can try) and select Quanliang, so for my crippled party, it is easy to knock wrong, there is no hint, the final synthesis is all wrong, is not such a perfect editor? Of course the answer is yes, and it's very powerful. All right, now let's get down to business and do a wave with me.

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

2 install the Package Control plug-in and automatically manage the installation plug-in

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

Ctrl ~ call 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 complete, restart

3. Install the Chinese plug-in

Ctrl+shift+p pop-up search box enter install

Click the first entry, then pop up a box again later, type ChineseLocalizations, and then click install. Then there is a language option in the last line of the help in the menu bar. Choose simplified Chinese and OK.

4 the process of installing the verilog plug-in is the same as Sinicization. Finally, enter verilog, select the first installation, and then in the menu bar view syntax, there is a verilog option.

So far, sublime only implements the function of notepad++, and then implements the function of gvim.

5. Install the shortcut plug-in

Link: https://pan.baidu.com/s/1Szq3HfsvzpYP5Ophh_W9zA

Extraction code: whxb

Download these three plug-ins, extract to the path of the red box, this path is not the installation path, no matter which disk you install, there will be this path, I am the win7 system, other systems have not tested, there should not be too many differences, the yellow box is these three plug-ins, sublime will automatically identify and add these three plug-ins. The quick snippet code of verilog is stored in the green box.

Open this file as follows. A file is a fragment function, just like the file name.

Select the first file and select sublime to open the message. The yellow box is the code snippet, the red box is the shortcut command, and the white box is the mouse position after the code snippet is generated.

As shown in the following figure, ${x} this is the mouse position, and the numbers in it are the operation order. ${1} is that after generating the current clip, the mouse automatically jumps to this ${1} bit, and after the ${1} bit is written, you can press the table key to jump to the ${2} position to continue writing, and so on. This is a powerful feature.

6. When you are finished, let's enjoy the operation at the great god level.

7. Register Activation

Enter the registration code below in the menu bar Help-Enter License. If it fails, you can have it on Baidu.

-- BEGIN LICENSE SJOLZY.CN-- Alexey PlutalovSingle User LicenseEA7E-8607763DC19CC1 134CDF23 504DC871 2DE5CE55585DC8A6 253BB0D9 637C87A2 D8D0BA85AAE574AD BA7D6DA9 2B9773F2 324C5DEF17830A4E FBCF9D1D 182406E9 F883EA87E585BBA1 2538C270 E2E857C2 194283CA7234FF9E D0392F93 1D16E021 F191491763909E12 203C0169 3F08FFC8 86D06EA873DDAEF0 AC559F30 A6A67947 B60104C6Mury-- END LICENSE--

Summary: doing FPGA development is very slow, in order to improve work efficiency, writing code like this is very cool, but it is not suitable to get started, if you are just getting started, you still have your own practical development software, knock one by one, be familiar with keywords, take one step at a time, and lay a solid foundation. And these quick clips are modified according to your own habits.

Sublime is very powerful, which is only a small part of it. There are many continents waiting to be discovered on Baidu. There is a big god to add welcome exchanges, but also welcome to point out mistakes!

2018.11.19

1. Update two theme plug-ins

Agila theme and boxy theme

Preview the interface effect, it looks very comfortable

To install as above, select the following image in the color scheme

These two theme plug-ins have a lot of effects, but if you match them, they are the best ones.

two。 Add a few more quick operations

1) Mouse middle column operation

2) ctrl+shift+D copy and paste the current line

These are all the contents of this article entitled "examples of Operation written in sublime text3 verilog Code". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report