Giter VIP home page Giter VIP logo

Comments (3)

dennowiggle avatar dennowiggle commented on July 21, 2024

I still have apio version 0.5.4 installed on my Raspberry Pi. I synthesized the original FPGA verilog code from github and then ran a timing analysis with the command "apio time" that showed a max clock of 21MHz. This was the output.

[Sun Dec 11 08:11:36 2022] Processing upduino

icetime -d up5k -P sg48 -C "/home/pi/.apio/packages/toolchain-ice40/share/icebox/chipdb-5k.txt" -mtr hardware.rpt hardware.asc
// Reading input .asc file..
// Reading 5k chipdb file..
// Creating timing netlist..
Warning: timing analysis not supported for cell type HFOSC
// Timing estimate: 46.01 ns (21.74 MHz)
================================================================= [SUCCESS] Took 8.01 seconds =================================================================

I did play with the Lattice tool Radiant. Unfortunately Lattice & Synplify tools do not support initial conditions, despite the FPGA and yosys supporting them, so I can't generate a functional image to compare like with like. However I did see that Radiant also cannot meet timing and that the CRC32 design is where the critical timing path is. Another approach to generating CRC32 might improve timing there but lowering the clock to 24MHz and using the latest apio also works.

Hope that helps.

from bf-romulator.

dennowiggle avatar dennowiggle commented on July 21, 2024

While VRAM reads work now, this was in standalone mode (not plugged into the computer). When romulator is plugged into the computer the computer no longer works. I'm guessing timing of the address/data bus is messed up.

I will try and take a look in the week and learn about PLL's to see if they could be a solution. Perhaps constraints might help......

from bf-romulator.

dennowiggle avatar dennowiggle commented on July 21, 2024

A 24Mhz clock does work and meet timing if I back out the typo changes in "spi_flash_reader.v" detailed in thread for issue #19
#19 (comment)

My test computer is an Apple IIe which boots, runs code, and displays a 40 column mode remote screen on canvas.html with other changes I am playing with.

A more thorough approach to cleaning up the typo's in "spi_flash_reader.v" is still needed.......... [EDIT: ...Now done]

from bf-romulator.

Related Issues (12)

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.