FPGA #3 - ICE40HX Architecture & Datasheet

  Рет қаралды 2,054

John's Basement

John's Basement

11 ай бұрын

A discussion of the ICE40HX Architecture. Datasheet, and some terminology.
The github repo shown in this video: github.com/johnwinans/2057-IC...
Ice40HX datasheet: www.latticesemi.com/view_docu...
You can support this channel on Patreon! / johnsbasement
This video is part of a KZfaq Playlist: • FPGA
Music used in this video (Vibe Tracks, Alternate) was downloaded from the KZfaq Audio Library.
#fpga
#ice40

Пікірлер: 30
@andyhu9542
@andyhu9542 Ай бұрын
Efinix has FPGAs with RISC-V cores in them.
@DavidLatham-productiondave
@DavidLatham-productiondave 11 ай бұрын
Nice!
@JohnsBasement
@JohnsBasement 10 ай бұрын
Thanks!
@asmi06
@asmi06 11 ай бұрын
Regarding 4k vs 8k - it's binning. Same die, but with defects. Other FPGA vendors do that too - for example Xilinx Atrix-7 A15, A35 and A50 all have the same die. It could also be market segmentation, but in case of Xilinx devices I mostly work with I haven't heard of anyone turning say A15 into A50. Speed grades though is a matter of characterization, and you can program speed grade 1 device as if it's a speed grade 2, it may or may not work, and would consume more power than usual, so it's kind of like CPU or GPU overclocking - results will depend on a luck.
@JohnsBasement
@JohnsBasement 11 ай бұрын
I can understand differentiating them by speed. But feature defects is a whole different ballgame. They'd have to declare what parts of the die are the official 4k subset. Else the PAR tool would have to know which parts of the FPGA to avoid. Without a 2-way communication path, that seems like a pretty complex 'feature'.
@asmi06
@asmi06 11 ай бұрын
@@JohnsBasement There are ways to deal with this. For example, you can have config logic program one of several routes depending on fuses which are lasered off before packaging, or they can connect one route to multiple block RAM (or other HW blocks) and laser trim excess connections after testing. For example, I know for a fact that Xilinx laser trims off multi gigabit transceivers and PCIE blocks on dies for packages which do not bond them out so that they won't waste power, so maybe Lattice is doing something similar.
@gcewing
@gcewing 10 ай бұрын
However it's done, the toolchain still has to know how much of the hardware on the chip being targeted is actually functional, and how to address it. That's the weird part. And I can't see it being practical to read that info from the chip itself, otherwise the design would need to be recompiled for each individual chip. That would be okay for prototyping, but not for mass production.
@JohnsBasement
@JohnsBasement 10 ай бұрын
@@gcewing I agree. Hopefully someone has a solid answer. It is possible that a buyer wanted a 4K chip & Lattice decided it was cheaper to make one with the 8K die... maybe the timeline or a prototype 4K yield was bad?
@user-qh5br9jl9g
@user-qh5br9jl9g 8 ай бұрын
​@@JohnsBasementu didn't touch in the DSP's!!!
@captaindunsell8568
@captaindunsell8568 11 ай бұрын
Lot sorting before the die is cut … Intel does this all the time… chips closer to the center perform better and can possibly be overclocked… towards the outer edge chips have a higher failure rate and run slower
@alexloktionoff6833
@alexloktionoff6833 11 ай бұрын
Can you use open-source only tools for ICE40HX development? There are many not expensive FPGAs on the market but all of them are vendor-locked, not so good for DIY.
@JohnsBasement
@JohnsBasement 11 ай бұрын
Yes we can. FOSS tools are what I use with the ICE40 chips. Huge plus indeed.
@asmi06
@asmi06 11 ай бұрын
Microchip/Microsemi has SoCs with FPGA fabric and hard RISC-V CPU.
@JohnsBasement
@JohnsBasement 11 ай бұрын
Thanks for letting me know! I gotta check that out. We should be seeing plenty like that on the horizon.
@asmi06
@asmi06 11 ай бұрын
@@JohnsBasement They are quite high performance and so pricey, and there is a potential problem with license for the toolchain (I don't know their licensing model, but that is definitely something to figure out before buying anything). The latter is especially important for folks like me who like designing and assembling their own boards.
@JohnsBasement
@JohnsBasement 11 ай бұрын
@@asmi06 yeah. I am with you! But this is early days... The future looks bright!!!
@alexloktionoff6833
@alexloktionoff6833 11 ай бұрын
How do this ICE40HX capabilities look compared to Spartan6?
@JohnsBasement
@JohnsBasement 11 ай бұрын
The Spartan6 uses 6-input LUTs and has a number of larger options and hard-IP like memory controllers, PCIe and such. In the simplest of terms, a big ICE40HX is like a small Spartan6.
@microhobbyist
@microhobbyist 11 ай бұрын
The sound sounds different in this video! ;-)
@JohnsBasement
@JohnsBasement 11 ай бұрын
I know. 😞. I'm still moving to a new house. The new place is an acoustic mess and I can't find my good microphone.
@YoutubeBorkedMyOldHandle_why
@YoutubeBorkedMyOldHandle_why 11 ай бұрын
Thank you John. (Ignore my youtube handle, it's just me: 0x52696368617264) Quick question: There' probably no reason for me to build one of your ICE40HX4K boards, since I already have a very similar (ICE40UP5K) board, but it seems I'm probably going to anyway ;-) I did swap out the SD card connector though, since I have a bunch in stock, but none matching your footprint. (It took a couple of hours, but it'll save me 3 bucks.) But I was curious about the flash chip. I have a bunch of Winbond chips (W25Q64), which as far as I can tell are pretty similar to the AT45DB081E ... except for the 'pin out.' Probably it's not too late to swap this out too, but I might just buy one. Anyway, I was wondering, is there some issue with the ubiquitous Winbonds; some reason for choosing the AT45DB081E? Not a biggy ... just curious.
@JohnsBasement
@JohnsBasement 11 ай бұрын
Good question. Look at the Lattice HX programming guide. It tells you what SPI commands the flash gas to support. Also look at the flash programming app I used on the PI. If you want to use it then make sure the linux app supports it too
@YoutubeBorkedMyOldHandle_why
@YoutubeBorkedMyOldHandle_why 11 ай бұрын
@@JohnsBasement I'm looking in the 'iCE40 programming and configuration' (FPGA-TN-02001-3.4), section '9.2. SPI PROM Requirements', where, among other things it states that the SPI PROM must support: 0x0B Fast Read 0xB9 Deep Power Down 0xAB Release from Deep Power-down Am I on the right track? Sure glad we have you John, because I'd likely never have thought to check this sort of detail. Anyway, I looked in the 'Winbond W25Q64JV datasheet' pdf (which annoyingly has no index), and all of these commands are listed, and I didn't see anything else disqualifying. So I'm guessing, the Winbond chips should work okay, except of course for the pin configuration (in case anyone missed that point.) ... Another story, off topic but not entirely unrelated: I recently built some RP2040 boards and was having a bugger of time trying to track down the problem. I had put some W25Q128JV flash on them and ... nothing. Well not entirely nothing, they went through the motion of uploading, but then immediately reset themselves without executing the code. And several chips failed the same way. Since the Raspberry pi pico uses 16Mb flash, I tried one of these and it worked fine. But then on a different board one of the 128Mb flash chips also worked, so I was getting confused. After replacing the flash and uController ICs 'multiple' times, I found the issue. It wasn't my soldering, I hadn't fried the RP2040, and the chips were not defective. They all came up clean when I ran a diagnostic. But, it turns out, they were not empty. Now, I'm thinking this shouldn't have prevented the RP2040 from programming them, but it did. Apparently the AliExpress seller had shipped perfectly good, but 'used' flash chips. Once I erased them ... they worked just fine. Live and learn.
@JohnsBasement
@JohnsBasement 11 ай бұрын
@@KZfaqBorkedMyOldHandle_why 🙄.. If I recall correctly, some FLASH chips have a configurable sector size too. That might confuse things too.
@YoutubeBorkedMyOldHandle_why
@YoutubeBorkedMyOldHandle_why 11 ай бұрын
@@JohnsBasement It gets a bit confusing ... for sure. I see India is just about to attempt a Lunar landing, 24 minutes from now.
@bempey
@bempey 5 ай бұрын
I Believe that Winbond's W25Q64 is going away, so not good for new designs.
FPGA #4 - ICE40HX Simple Breakout Board Schematic
1:05:28
John's Basement
Рет қаралды 3 М.
FPGA #19 - A look at the iCE40 Technology Library
1:07:35
John's Basement
Рет қаралды 956
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 17 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 99 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 35 МЛН
The History of the FPGA: The Ultimate Flex
18:08
Asianometry
Рет қаралды 339 М.
FPGA #12 - Verilog Always Pt. I (Combinational Circuits)
56:51
John's Basement
Рет қаралды 2,6 М.
FPGA PCB Design Review - Phil's Lab #85
33:13
Phil’s Lab
Рет қаралды 28 М.
Z8S180, ICE40HX CP/M BIOS Port Part 1
2:19:09
John's Basement
Рет қаралды 1,5 М.
FPGA #15 - Verilog Modules, Parameters, and Localparams
1:26:24
John's Basement
Рет қаралды 388
An Introduction to VGA Signal Timing
1:03:27
John's Basement
Рет қаралды 1,1 М.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 351 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 339 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 10 МЛН