File:Gtkwave cocotb.png
Andrey.filippov uploaded File:Gtkwave cocotb.png GTKWave viewer after cocotb simulation finished
New page
== Summary ==GTKWave viewer after cocotb simulation finished
== Licensing ==
{{GNU FDLv1.3 }} Andrey.filippov
File:Finish cocotb.png
Andrey.filippov uploaded File:Finish cocotb.png VDT+cocotb after simulation finished
New page
== Summary ==VDT+cocotb after simulation finished
== Licensing ==
{{GNU FDLv1.3 }} Andrey.filippov
File:Continue cocotb.png
Andrey.filippov uploaded File:Continue cocotb.png Screenshot of the running cocotb after client ran several commands
New page
== Summary ==Screenshot of the running cocotb after client ran several commands
== Licensing ==
{{GNU FDLv1.3 }} Andrey.filippov
File:Launch cocotb.png
Andrey.filippov uploaded File:Launch cocotb.png
New page
== Licensing =={{GNU FDLv1.3 }} Andrey.filippov
X393
Simulation with Cocotb
← Older revision Revision as of 21:25, 15 November 2017 Line 16: Line 16: VDT plugin does not use Vivado GUI, in the case of x393 it only uses Vivado synthesis and implementation command line tools. Other projects (x353) for older FPGA devices use Xiinx ISE, it is possible to use Intel/Altera Quartus also. VDT plugin does not use Vivado GUI, in the case of x393 it only uses Vivado synthesis and implementation command line tools. Other projects (x353) for older FPGA devices use Xiinx ISE, it is possible to use Intel/Altera Quartus also. ==Simulation with Cocotb== ==Simulation with Cocotb== +Simulation with cocotb uses client-server model. + +First you launch Cocotb simulation (double-click on 'Cocotb Python Verification' menu item in the bottom-right panel of VDT perspective. This should launch simulation, and after all the initialization steps are done, simulation will be suspended, waiting for the client to communicate. + +Client is a Python application that may run either in the physical camera, or on a GNU/Linux computer. In that case all hardware-dependent functionality (access to the memory or FPGA registers) is replaced by the interaction with Cocotb simulation (see this blog post [https://blog.elphel.com/2016/07/i-will-not-have-to-learn-systemverilog/]) + +Examples of the commands to launch in the client program are available like comment sin the end of the file [https://git.elphel.com/Elphel/x393/blob/master/py393/x393_jpeg.py] and can be copy-pasted from there. Program is ran from the top directory of the cloned x393 project: + ./py393/test_mcntrl.py @py393/cocoargs --simulated=localhost:7777 + +Next lines are the actual commands to be executed, starting with the DDR memory initialization. The whole command block can be copy-pasted simultaneously, and they will start running - that may take a long times (from tens to hundreds of minutes with small but actual image acquisition and compression on all ports). +As soon as the client will start, Cocotb simulation in VDT should come to life again and output commands executed + + measure_all "*DI" Andrey.filippovX393
starting page
New page
x393 is a project for the FPGA (Xilinx Zynq 7030) that powers Elphel NC393 camera.==Code repository==
[https://git.elphel.com/Elphel/x393/]
==Installation instructions==
[https://git.elphel.com/Elphel/x393/blob/master/README.md]
==Introduction==
The project uses Verilog HDL, it is distributed as a project of [[VDT]] plugin for Eclipse IDE. When VDT plugin (and related software) is installed you may launch simulation and implementation tools from this IDE.
Simulation uses Icarus Verilog simulator and Cocotb Python co-simulator (Cocotb still uses Icarus).
Proprietary Implementations tools (x393 project uses only free for download WebPack edition of Xilinx Vivado tools) may be installed on the same computer as the development environment, or on a separate computer - in that case VDP plugin uses ssh+rsync to communicate with teh installed software. Such separation allows to comply with Xilinx WebPack license that requires that computer with Vivado WebPack installation should be connected to the Internet, and at the same time preserve security of the files on your workstation - communication between the two computers is one-way and Vivado can not reach files on the workstation.
VDT plugin does not use Vivado GUI, in the case of x393 it only uses Vivado synthesis and implementation command line tools. Other projects (x353) for older FPGA devices use Xiinx ISE, it is possible to use Intel/Altera Quartus also.
==Simulation with Cocotb== Andrey.filippov
Using 10359 mux with10393
Eclipse/ExDT/VDT plugins
marked as legacy, added link to current page
← Older revision Revision as of 20:40, 15 November 2017 Line 1: Line 1: +{{Legacy}} +Current page is [[VDT]] + == About == == About == Eclipse/ExDT (and its special version for Verilog - Eclipse/VDT) is a plugin for Eclipse developed by [http://www.excelsior-usa.com Excelsior,LLC] for Elphel,Inc. Eclipse/ExDT (and its special version for Verilog - Eclipse/VDT) is a plugin for Eclipse developed by [http://www.excelsior-usa.com Excelsior,LLC] for Elphel,Inc. Andrey.filippovVdt
Andrey.filippov moved page Vdt to VDT without leaving a redirect
Andrey.filippovTemplete:legacy
Andrey.filippov moved page Templete:legacy to Template:Legacy without leaving a redirect
Andrey.filippovUsing 10359 mux with10393
Phase adjustments
← Older revision Revision as of 20:35, 15 November 2017 Line 65: Line 65: ** inspect image ** inspect image ** TESTSENSOR=0x10008 - color bars mode, see Fig.3 ** TESTSENSOR=0x10008 - color bars mode, see Fig.3 −** MULTI_PHASE1=0x10000 (this worked for )+** MULTI_PHASE1=0x10000 (this worked for the tested setup) ** MULTI_PHASE2=0x10000 ** MULTI_PHASE2=0x10000 ** MULTI_PHASE3=0x10050 ** MULTI_PHASE3=0x10050 OlegTemplete:legacy
Templete:legacy
general legacy template
New page
<font color=red>This is a legacy page. Information may not reflect the current state of the products or code</font> Andrey.filippovUsing 10359 mux with10393
Template:Manual legacy pages
Using 10359 mux with10393
Vdt
created page for VDT plugin
New page
VDT plugin for Eclipse is designed to integrate different tools for Verilog-based FPGA design.Currently it supports only GNU/Linux operating system and tool specification file support
Icarus Verilog simulator and Xilinx ISE and Vivado Webpack design suites. It also works with Altera
Quartus tools for synthesising FPGA code for Altera devices.
Code repository: [https://git.elphel.com/Elphel/vdt-plugin/]
Installation instructions are: [https://git.elphel.com/Elphel/vdt-plugin/blob/master/README.md]
Video tutorial: [https://blog.elphel.com/2016/05/tutorial-02-eclipse-based-fpga-development-environment-for-elphel-cameras] Andrey.filippov
Using 10359 mux with10393
Using 10359 mux with10393
Pages
