Project IceStorm aims at documenting the bitstream format of Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstream files.
See http://bygone.clairexen.net/icestorm/ for more information.
Most of Project IceStorm is licensed under the ISC license:
See https://github.com/YosysHQ/nextpnr/pull/1128
Hi,
I'm wondering if anyone might be able to help with a rather confusing issue I have, using yosys and an icestick FPGA board.
If I assign values to my BRAM within a clock cycle as in - https://github.com/chrisruk/matrixchip/blob/19553ce721103666b77f76f664355b2f1454d42b/src/matrix.v#L54
The output bitstream, which goes to an 8x8 SK9822 LED matrix to display a font, but the letter appears upside down.
But if I move the font assignments to an initial begin statement, it appears the correct way up on the LED matrix -
initial begin
fonts[0] = 64'he0_60_6c_76_66_66_e6_00; // h
fonts[1] = 64'h00_00_78_cc_fc_c0_78_00; // e
fonts[2] = 64'h70_30_30_30_30_30_78_00; // l
fonts[3] = 64'h00_00_78_cc_cc_cc_78_00; // o
end
Just wondering if anyone has any idea how this could happen?
In a simulation with each version, both output clock and data bitstreams appear the same.
1) support PHASE_AND_DELAY + SHIFTREG feedback, which uses a 4x VCO multiplier behind the scenes
2) allow overriding clock constraints, just in case you like to live on the edge. my testing suggests that the 10 MHz F_pfd minimum is highly flexible, for example
It's rumoured these devices still exist even though Lattice seems to have gone out of their way to bury them. None of the development tools are available anymore, not from any site, so unless you were lucky to grab a copy then, you're out of luck. Supposedly, these are little different from the first iCE40 chips, just in a larger process that's 5V tolerant.
I had issue with installation of pre-requisites
sudo apt install xdot pkg-config python python3 libftdi-dev
How I fixed it: Removed "python".
sudo apt install qt5-default python3-dev libboost-all-dev cmake
How I fixed it:
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
According to the Qt forum for "Issue with sudo apt-get install qt5-default".
Then removing "qt5-default" from installation command.
Note: I am not an expert on this topic, please ping me back if my solution is faulty. Please update the installation process.
I accessed the tutorial from: https://clifford.at/icestorm
f4pga-arch-defs expects to find an executable called icebox.py
on the PATH, and while the file exists, it is not marked +x, so configuration fails.