Open piso77 opened 3 years ago
Yes you'll need to adapt icesugar.mk and create RTL/CONFIGS/icesugar_config.v plus a couple of other changes (I could not test it with the icesugar). It is not very difficult to do, let me know if you want to do it / test it and I'll help you.
@piso77 Hi, were you able to do a core on icesugar or icesugar-nano on the SPI flash?
I have a series of commits to enable ICESUGAR, but it never really worked - not sure if if was the flash chip or something in my memory map. Should give it another shot, or prepare a pull request if you want to try it out.
I had a luck running a laggy UART hello word from old version using the firmware.hex.
New versions of this repo is broken for icesugar, managed to edit for successful compile, but no luck to see it alive.
On Wed, Apr 13, 2022, 7:37 AM Paolo Pisati @.***> wrote:
I have a series of commits to enable ICESUGAR, but it never really worked
- not sure if if was the flash chip or something in my memory map. Should give it another shot, or prepare a pull request if you want to try it out.
— Reply to this email directly, view it on GitHub https://github.com/BrunoLevy/learn-fpga/issues/39#issuecomment-1097613923, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPIOWGSCQHFRPFVOOIPNCTVEZTSJANCNFSM44A6YHQQ . You are receiving this because you commented.Message ID: @.***>
UPDATE:
I managed to make the board icesugar-nano (ice40lp1k) work, and with the SPI flash!
Yes, the LED is blinking, and the UART is fine too, LUTs usage: ICESTORM_LC: 1134/ 1280 88%
.
I will post details and maybe patches too when I get some free time.
@piso77 checkout #66 for icesugar-nano, it works fine in my end, I don't have an icesugar board to test on it, however it's not very different, just re-naming and make sure the SPI pins in .PCF file are correct by looking at the board schematic.
@piso77 checkout #66 for icesugar-nano, it works fine in my end, I don't have an icesugar board to test on it, however it's not very different, just re-naming and make sure the SPI pins in .PCF file are correct by looking at the board schematic.
Thanks, i'll give it a shot later today or tomorrow.
learn-fpga/FemtoRV$ make ICESUGAR ... make[2]: Leaving directory '/home/flag/fpga_stuff/learn-fpga/FemtoRV/FIRMWARE/CRT' ==== Generated femtorv32 libs. make[1]: Leaving directory '/home/flag/fpga_stuff/learn-fpga/FemtoRV/FIRMWARE' make: *** No rule to make target 'FIRMWARE/firmware.hex', needed by 'ICESUGAR.synth'. Stop.