当前位置:网站首页>C1 -- vivado configuration vs code text editor environment 2022-07-21
C1 -- vivado configuration vs code text editor environment 2022-07-21
2022-07-23 11:00:00 【Xiao Xiao and evening rain Xiao Xiao】
vivado The built-in editor has automatic syntax rule checking , Font settings , Color configuration and other functions . But in the actual process of writing code , Find many deficiencies , For example, you cannot zoom in or out , The alignment function is not easy to use . Text editors have many choices , for example Notepad、Sublime Text、VS Code etc. , Choose an editor that suits you , Help develop your own code style and contribute to FPGA Development provides great convenience . Let's say VS Code For example , Describes how to configure a text editor .
1. install VS Code
visit VS Code Official website Download the software and provide instructions , Check the installation steps as follows .( The simple steps of selecting a path and clicking install are omitted in the middle )


2. Sinicization VS Code
① Install the Chinese package plug-in , As shown in the figure below . Click extensions Or use shortcut keys 【Ctrl+Shift+X】, Input chinese, Click on Install Install Chinese Simplified .


② To configure VS Code Language pack
Using shortcut keys 【Ctrl+Shift+P】 Pop up the search command box , Input language, find Configure
Display Language, Click on , choice locale The attribute is "zh-CN", As shown in the figure below .



③ Restart software , The Chinese environment is in place .

3. install verilog Syntax highlighting plug-in
① Search in the plug-in library verilog, Click the Install button in the red box ( If not installed , The words installation... Will be displayed )

② See the recommended installation in the introduction of the plug-in ctags-win32 plug-in unit , Click the green link shown in the figure below to download .

③ Download and extract to the specified path , Follow the steps below , stay vscode It is specified in ctags.exe The path of .


4. install iverilog Grammar detection tools
① visit iverilog Official website download Icarus Verilog

② Check during installation ( The remaining steps are omitted )


notes : Antivirus software may lead to unsuccessful addition of environment variables , If it is not added successfully , You can add it manually .
C:\xxxxx\iverilog\bin (xxxxx Choose according to your own directory )
C:\xxxxx\iverilog\gtkwave\bin (xxxxx Choose according to your own directory )
③ open CMD window , Input iverilog The following information shows that the installation is successful .

④ Open the installed syntax highlighting plug-in , Make the following two configurations in the extension settings , That is to finish iverilog Configuration of

5.VS Code And Vivado Set correlation
① open vivado, single click tools--> choice settings

② single click "text editor", single click " arrow ", choice "Custom Editor" Customize editor settings , Then click the ellipsis , Configure the path of the editor .

③ The installation path of the editor is within double quotation marks , The rest is written in accordance with ok.

6. other
① In actual use , Often found in vs perhaps notepad The Chinese notes of the code written below are vivado Garbled in the editor , This is because of the problem of coding ,vs And notepad The default is UTF-8 code ,vivado This encoding is not supported , So in preservation .v When you file , Use ANSI perhaps GBK Saving the code can solve this problem .

② Press and hold the mouse wheel and right button at the same time to realize vertical line selection , It's very convenient .
边栏推荐
- 【视觉SLAM】ORB-SLAM: Tracking and Mapping Recognizable Features
- Matlab中的滤波器
- Understand asp Net core - Cookie based authentication
- 3dMax先蒙皮刷权重,再附加合并
- 疫情时期加中年危机——游荡在十字街口的三个月
- FFmpeg 音频编码
- Custom events in components
- Cadence (IX) 17.4 rules and spacing settings
- FPGA - SPI bus control flash (2) (including code)
- Murata power maintenance switch server power maintenance and main functional features
猜你喜欢

Error reporting when installing opencv in Anaconda virtual environment

Pytorch (V) -- pytorch advanced training skills

Three implementation methods of C # client program calling external program

Leetcode skimming -- bit by bit record 023

Redis source code and design analysis -- 5. Integer set
![[visual slam] orb slam: tracking and mapping recognizable features](/img/bb/d6a99bb1bff6bbe1f781e567cc1176.png)
[visual slam] orb slam: tracking and mapping recognizable features

Qt样式的语法定义获得途径,可查资料,可自动生成

Cadence learning path (VIII) PCB placement components

Redis源码与设计剖析 -- 6.压缩列表

A case study on the collaborative management of medical enterprise suppliers, hospitals, patients and other parties by building a low code platform
随机推荐
排序
9、光线追踪
讲师征集令 | Apache DolphinScheduler Meetup分享嘉宾,期待你的议题和声音!
MySQL log understanding
Mysql database foundation
【视觉SLAM】ORB-SLAM: Tracking and Mapping Recognizable Features
Jump statement and debugger
What does resource pooling and resource pooling mean?
Redis source code and design analysis -- 9. String object
TS type gymnastics intermediate type gymnastics challenge closing battle
Comprehensive experiment of realizing private network interworking under mGRE environment
Two strategies for building AI products / businesses (by Andrew ng)
【无标题】
Meyer burger Siemens industrial computer maintenance and machine tool maintenance
Important knowledge of application layer (interview, reexamination, term end)
SVG, canvas, drawing line segments and filling polygon, rectangle, curve drawing and filling
Common neural network parameters and calculations
Visual studio 2022 interesting and powerful intelligent auxiliary coding
sort
第12届 蓝桥杯 嵌入式设计与开发项目