Giter Site home page Giter Site logo

Convert to mem.yaml format about jtcores HOT 2 OPEN

jotego avatar jotego commented on September 26, 2024
Convert to mem.yaml format

from jtcores.

Comments (2)

somhi avatar somhi commented on September 26, 2024

1943 moving to mem.yaml wip commit

Empezando a mirarme la migración de cores a mem.yaml. Dudas iniciales:

  • JTFRAME_SDRAM_BANKS entiendo se debe poner siempre en macros.def
  • No he sabido identificar que usase más de 1 banco por lo que solo uso 1
  • Todos los wire prom_xx_we = hay que inicializarlos y a que valor ?
  • No me queda claro que valores poner en la sección download en mem.yaml

si prefieres en inglés contesta directamente en inglés y seguiremos así.

from jtcores.

jotego avatar jotego commented on September 26, 2024

Let's try in English. If you find it troublesome we can switch to Spanish.

  • JTFRAME_SDRAM_BANKS is added automatically, don't do anything.
  • the original code only uses one bank, you can leave it like that for now.

The tough part here is moving the jt1943_prom_we module to mem.yaml and the game. That module did these functions:

  1. collect the ROM download sent by the firmware through ioctl_wr
  2. reorder some address signals so that the data is written in a different order than it comes in
  3. for the final part of the rom, where the PROMs go, it identifies the different files in it and signals to each jtframe_prom module when to take data in

When you move to mem.yaml, number 1 comes for free, but you have to specify number 2. There are several ways of doing it. Checkout the Confluence documentation. If you do not do it right, the game will normally start but graphics will be corrupted.

For the PROMs, you basically move the code to the game module. Check out how these signals are done in other cores that have mem.yaml

from jtcores.

Related Issues (20)

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.