Comments (11)
In fact, Tool.xilinx.install. path is not used in the plugin because it needs to be combined with other functionality. You need to add vivado and XSCT to the environment variable
from digital-ide.
I will stick to working projects on XilinxGUI, but I want to edit source files in VSCode. Now I added permanent environment variables, bash shell detected vivado
and xsct
. Still, syntax checking or grammar diagnosis is not working. I changed HDL.LINTING.LINTER settings as xvhdl, and nothing happened on .vhdl files.
Errors
While I followed the start gif the file property.json is not generated properly, the opened folder did not creat any files or directory. And it prints this: property file already exists!!!
According to the printing of extension launch, I am not sure if it is a terminal incompatible problem.
$ vivado -mode tcl -s /home/tiger/.vscode/extensions/sterben.fpga-support-0.1.15/out/../resources/tool/Xilinx/Script/Vivado/Run.tcl -notrace -nolog -nojournal
****** Vivado v2020.2.2 (64-bit)
**** SW Build 3118627 on Tue Feb 9 05:13:49 MST 2021
**** IP Build 3115676 on Tue Feb 9 10:48:11 MST 2021
** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.
source /home/tiger/.vscode/extensions/sterben.fpga-support-0.1.15/out/../resources/tool/Xilinx/Script/Vivado/Run.tcl -notrace
WARNING: [Vivado 12-818] No files matched '*'
No entry for terminal type "xterm-256color";
using dumb terminal settings.
No entry for terminal type "xterm-256color";
using dumb terminal settings.
$ xsct
rlwrap: warning: your $TERM is 'xterm-256color' but rlwrap couldn't find it in the terminfo database. Expect some problems.
****** Xilinx Software Commandline Tool (XSCT) v2020.3
**** SW Build 3173277 on Wed Apr 7 05:07:21 MDT 2021
** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.
from digital-ide.
Please look at the location where your property.json was generated. If it is in the .vscode folder, the file is hidden. Also, enter xvlog --version
and xvhdl --version
in bash to see if the version information is returned properly. Finally, enter the vivado -mode gui
to see if the Vivado GUI opens properly.
from digital-ide.
Please enter the vivado -mode tcl
command into bash again to see if the Vivado terminal will be forced to exit
from digital-ide.
property.json is in ~/.vscode, it seems to relate to project set up, which is not my final goals. Though I made a copy of it in the working folder, nothing happened.
$ xvlog --version
Vivado Simulator v2020.2.2
$ xvhdl --version
Vivado Simulator v2020.2.2
$ vivado -mode gui
****** Vivado v2020.2.2 (64-bit)
**** SW Build 3118627 on Tue Feb 9 05:13:49 MST 2021
**** IP Build 3115676 on Tue Feb 9 10:48:11 MST 2021
** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.
start_gui
INFO: [Common 17-206] Exiting Vivado at Tue Jul 6 20:28:50 2021...
$ vivado -mode tcl
****** Vivado v2020.2.2 (64-bit)
**** SW Build 3118627 on Tue Feb 9 05:13:49 MST 2021
**** IP Build 3115676 on Tue Feb 9 10:48:11 MST 2021
** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.
No entry for terminal type "xterm-256color";
using dumb terminal settings.
No entry for terminal type "xterm-256color";
using dumb terminal settings.
Vivado%
While I click on FPGA tools> FPGA options> GUI, the console in vivado2020.2 prints below.
start_gui
source /home/tiger/.vscode/extensions/sterben.fpga-support-0.1.15/out/../resources/tool/Xilinx/Script/Vivado/Run.tcl -notrace
INFO: [IP_Flow 19-234] Refreshing IP repositories
INFO: [IP_Flow 19-1704] No user IP repositories specified
INFO: [IP_Flow 19-2313] Loaded Vivado IP repository '/opt/Xilinx/Vivado/2020.2/data/ip'.
WARNING: [Vivado 12-818] No files matched '*'
from digital-ide.
When you click on FPGA tools> FPGA options> GUI ,does the vivado GUI launch successfully? So far, your configuration seems to be fine. How did you test the Grammar Diagnosis function? Did you write out an error grammar , save it, and never respond all the time?
from digital-ide.
- vivadoGUI launched successfully, just opened the folder without project, no project summary
- I found it works if I operate on source files that are copied out of project directory, save it and red mark prints.
If I do it in my project folder, it won't work. Keywords is marked in red if I comment process or component declaration. Nothing will happen if I comment signal or sequencial sentenses. I made copy of property.json here, but the situation is different from above, very strange.
However, some other problems still remain unsolved. 1. property.json file generation 2. warning about $XTERM, it seems you are windows developer, and I am a Linux user.
Besides, I looked into property.json file in ~/.vscode, chip selection is very limited, my chip is XC7A100TCSG324-1, artya7-100t board.
from digital-ide.
The property.json chip support can be added by yourself, or you can input your model number directly. This will warn you but will not prevent the project from being built.In addition, it is recommended for Linux users to place property.json in the root directory of the workspace, which is still valid and will not be hidden.
from digital-ide.
Finally, the property.json needs to be saved before the project structure can be built.For your chip type property.json example:
{
"FPGA_VERSION": "xilinx",
"PRJ_NAME": {
"FPGA": "tempt"
},
"SOC_MODE": {
"soc": "none"
},
"enableShowlog": true,
"Device": "xc7a100tcsg324-1"
}
You can also use this method to add your chip type to support and restart VS Code to take effect.
from digital-ide.
For this plug-in, I basically use JS language for refactoring, trying to smooth the gap between the platforms, but unfortunately I do not have Linux environment. I am alone. Thank you for your support and understanding.
from digital-ide.
I really appreciate your effort on this project, this is the only extension I found that supports xilinx development tools in vscode market. I searched around and I think windows developer are majority user of xilinx tools, little thread or post talks about software problems in linux platform.
However, I finally managed to made vscode as vivado text editor, and it works stable now. I configured the settings within vivado, choosed custom editor, filled in code [file name]
, then everything goes well. I might explore further with this extension, for now I don't need to migrate project environment into vscode. And thank you for your work, this project should take time for good doc and powerful features.
from digital-ide.
Related Issues (20)
- 关于Digital的一些建议-望采纳 HOT 1
- verilog module 是否支持数组输入?
- 不支持 .svh 头文件识别? HOT 1
- systemverilog语法识别问题 HOT 1
- 关于在多个.v文件的补全
- Architecture 中无法识别ip文件夹中的ip
- 使用generate批量例化的模块层级关系在architecture中无法正确地被识别 HOT 1
- 自动例化对于没有写在head的变量不
- 使用时自动补全功能消失。
- 10个月没更新,是关闭项目了吗
- I hope to designate the top-level design file within the configuration profile.
- 宏 误报错
- 找不到修改testbench模板的命令
- 中文README404,仅剩知乎版本
- 使用生成property.json的命令时,报错找不到这个命令 HOT 1
- 仿真时报错error: Unknown module type HOT 1
- how to deal the command not find
- 请问是否会加入Vivado TCL自动补全+纠错功能
- 在插件中使用vivado仿真波形无变化
- 未来是否会支持任意形式下全文件夹内的文件都可以解析
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from digital-ide.