Skip to content

Elphel/oc_jpegencode_vdt

Repository files navigation

oc_jpegencode_vdt

This repository is fork of a fork - it is taken from https://github.com/chiggs/oc_jpegencode, just added Eclipse/VDT project files, made a few other changes so it can be imported into IDE as Eclipse project and run there.

These Verilog source files are not related to any of Elphel camera projects. Doxverilog generated documentaion is is browsable here.

Instructions below are preserved from the original (first fork) repo. With VDT plugin you need to install the plugin following the instructions and/or video tutorial, then clone this project and open it in VDT. Then open any of the Verilog source files in the editor and change perspective:

Window -> Perspective -> Open Perspective -> Other... -> Verilog/VHDL

Icarus and Cocotb tools will be available in the bottom-left panel, under "Simulation".

Cocotb will be cloned from the official Github repository and installed when you first run the simulation from the IDE GUI. Both Icarus simulation with traditional plain Verilog testbench and with Cocotb are supported.

Below is the original README.md content


Documentation Status Build Status Coverage Status

Fork of OpenCores jpegencode with Cocotb testbench. Uses the Python image library to send files through the encoder.

Original project page on Opencores: http://opencores.org/project,jpegencode

To run the testbench:

# Pre-requisites
sudo yum install -y python-imaging
sudo yum install -y iverilog

# Checkout git repositories
git clone https://github.com/potentialventures/cocotb.git
git clone https://github.com/chiggs/oc_jpegencode.git

# Environment
export COCOTB=`pwd`/cocotb

# Run the tests...
cd oc_jpegencode/tb
make

Documentation hosted on ReadTheDocs.