Giter VIP home page Giter VIP logo

img_rom's Introduction

Imágenes a memorias

English


Hay varios programas:

  • Programa en lenguaje C que convierten imágenes a memorias ROM en VHDL
  • nesmem2vhd.py: Script en Python que convierte memorias de la NES a memorias ROM en VHDL. Para verilog nesmem2vrl.py
  • rvinstr2vhd.py: Script en Python que convierte el volcado de memoria de instrucciones del RISC-V en memoria ROM de instrucciones en VHDL. Se utiliza el RARS (https://github.com/TheThirdOne/rars) para volcar en memoria (formato de exportación: Text-Data segment window).
  • [vhdlrom2vrl.py] (src/vhdlrom2vrl.py): Script en Python que convierte una memoria ROM VHDL a verilog

Ejemplos:

  • examples hay ejemplos de imágenes y las memorias resultantes en VHDL
  • examples/nesrom hay ejemplos de las memorias de la NES en VHDL y verilog
  • examples/nesrom/projects ejemplos de projectos (por ahora solo la Tabla de Nombres) (VHDL, verilog, icestudio)
  • examples/instr hay ejemplos de las memorias de instrucciones del RISC-V.

Conversión de una imagen PPM, PGM o PBM en una memoria ROM en VHDL

Se debe guardar la imagen en formato .ppm .pgm o .pbm en ASCII. Para ello se puede usar programa como gimp o irfanview.

Luego compilar el código fuente y ejecutar el programa para convertir en un fichero VHDL

Lee el fichero img2rom.htm o la versión markdown img2rom.md

Tienes ejemplos VHDL examples/vhd

examples/vhd/readme.md


Image to memory

There are 3 different codes

Conversion of a a PPM, PGM or PBM image into a VHDL ROM memory file

You can save any image into an ASCII .ppm .pgm or .pbm format using image software, such as gimp or irfanview.

Then, compile the source and run the executable to convert it into a VHDL ROM memory file

Read the img2rom.htm (in Spanish) o the markdown version img2rom.md

Check the examples examples/vhd

examples/vhd/readme.md

img_rom's People

Contributors

felipe-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.