Home >Development Tools >notepad >About the installation settings of Notepad++, a Verilog editing tool

About the installation settings of Notepad++, a Verilog editing tool

藏色散人
藏色散人forward
2020-12-31 14:59:373490browse

The following column notepad tutorial will introduce you to the installation settings of Notepad, a Verilog editing tool. I hope it will be helpful to friends in need!

About the installation settings of Notepad++, a Verilog editing tool

Notepad installation instructions

1. Installation

  1. It is recommended to install 32-bit Notepad, because many plug-ins only support 32-bit Notepad bit, the current version is Notepad 7.8.6

 

2. Settings

  1. Set display spaces

​ 2. Set the theme

​ 3. Set the shortcut key

​ Remove trailing spaces, TAB to convert spaces

# 4. Set the formula of the preferred option

# 3. Add plug -in to implement the code fragment automatically

    Add the plug-in FingerText
 

2. Click the plug-in (P), see that Finger Text has appeared, click Toggle on inside /off snippetDock, the workbar appears on the right side of the interface, click Open Snippet Editor

3. The setting of the code snippet is very simple, divided into 3 columns:

Column 1: Trigger word, type the trigger word after the setting is successful , press the Tab key to display the code snippet.
Column 2: Scope of use, the default is global, you can leave it unchanged, or you can change it to: Lang:Verilog
Column 3: Code snippets, fill in your own code snippets, and write the terminator < at the end End>That’s it. The symbol $[0[]0] is to set the last mouse rest position when generating this code snippet; the symbol $[![]!] is to set the jump position when pressing the Tab key; if $[ appears in many places in this code snippet ![a]!] symbol, then when writing code there, the code will be written together in all positions containing this symbol.

 

 4. Click "Export All" on the workbar to save all the code snippet files you have set

 5. Click "Import ftd" on the workbar File" can import code snippet files.

 

 6. If there is already a ready-made ftd file, the newly installed Notepad can directly import the ftd file and use the ready-made FingerText data:

 

4. Add plug-in to implement Verilog code inspection

1. Add plug-in NppExec

 

2. Add Execute command

After installing the NppExec plug-in, press F6 and enter

 cmd /k cd "$(CURRENT_DIRECTORY)" & vlib.exe work & vmap.exe work work & vlog.exe "$(FULL_CURRENT_PATH)" & ECHO. & EXIT

 

After clicking OK, the current file will be checked for syntax errors:

 

Recommended:《

notepad usage tutorial

The above is the detailed content of About the installation settings of Notepad++, a Verilog editing tool. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete