Code Monkey home page Code Monkey logo

image_displayer's Introduction

Image Displayer

This design displays 100x100 8-color images for a 640x480 display. It also allows to load new images sending it through serial, using serial_img_send python script (under sw folder).

Prerequisites

You need to have installed the next tools:

  • Yosys
  • FuseSoc

To add this design to your FuseSoC libraries :

cd $PATH && git clone https://github.com/imuguruza/image_displayer
fusesoc library add imagedisplayer $PATH

Targets

The target of the design is the Alhambra II board.

To synthesize the design execute fusesoc run --target=top imagedisplayer.

There are also three different test benches you can execute:

  • fusesoc run --target=top_tb imagedisplayer, which checks the top module design
  • fusesoc run --target=uartrx_tb imagedisplayer, which checks if uart rx works
  • fusesoc run --target=baudgen_tb imagedisplayer, which checks if the baud generator works

Material and pinout

I have used a VGA Pmod to create the RGB[8] and VGA control signals.

You can find the pinout in data/pinout.pcf.

In addition to this, you need to connect GND and 3v3 to feed the VGA Pmod

More info

More info about the design, in my blog!

TODO

The script serial_img_send sends images that are split in lines and coded in hex format, but without 0x. This is because of verilog $readmemh used to store the default image in RAM at synth.

A more flexible script that accepts lists split by commas and other formats would be a good to have.

image_displayer's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.