7 ms·
8088 microprocessor IP core fits in 308 LUTs, runs at 180MHz on a Kintex-7 FPGA
- chriscappuccio 11y agoSweet Jesus
- guiomie 11y agoWhy? I haven't played with an FPGA since University, so I'm really disconnected from this world. So what does this article mean?
- vvanders 11y ago308 is an incredibly small amount of LUTs, might even fit in a CPLD.
- sliverstorm 11y agoYou could fit 200+ 8088's on the smallest version of the FPGA family they used.
- bifrost 11y agoThis is pretty cool, and should remind everyone that the 8088 and even the Zilog80 CPUs are still relevant and used to this day.
- duskwuff 11y agoZ80? Yes. 8088? Eh, not really. You may be confusing the 8088 CPU with the 8051 microcontroller, which is extremely common in embedded designs.
- njharman 11y agoI "learned" assembler (and a lot about CPU/Computer architecture) reading my dads Z80 Microprocessor book. The 80's were cool!
- bitwize 11y agoLet's see 8088mph run on that baby.
- polpo 11y agoOkay: https://www.youtube.com/watch?v=b3GkPGZR4BU https://www.youtube.com/watch?v=b3GkPGZR4BU
- duskwuff 11y agoLooks like it mostly works, with the exception of a couple of tricky color effects (which have nothing to do with the CPU, and might depend on some composite video tricks). In particular, the Kefrens bars at 4:42 render completely wrong.
- sp332 11y agoLooks like the demo leans on a lot of idiosyncrasies of specific CGA cards: https://scalibq.wordpress.com/2015/08/02/8088-mph-the-final-version/ https://scalibq.wordpress.com/2015/08/02/8088-mph-the-final-...
- ajenner 11y agoThe Kefrens bars effect is the part of 8088 MPH that is most sensitive to the instructions being a cycle faster or slower here or there. The MCL86 doesn't claim to have perfect emulation of timing, so I would not necessarily expect this effect to work reliably on it.
- Scali 11y agoThe artifact colours are quite off as well, so I suspect the card used was not a real IBM CGA card. On my ATi Small Wonder and Paradise PVC4 cards, I get the exact same Kefrens bars, with the top chopped off. Having said that, the fact that the music slows down noticeable during the moire-effect seems to indicate that indeed some instructions are a few cycles off here and there.
- muterad_murilax 11y agoI'm sorry... IP? LUT? EDIT: Thanks for the explanations, guys!
- mastax 11y agoIP = Intellectual Property LUT = Look-Up Table LUTs are the building blocks of FPGAs.
- jwise0 11y agoFor some reason, in the hardware design world, we use "IP" to mean "a self-contained functional block of hardware that we have developed". It probably derives from 'intellectual property' (i.e., 'we bought some IP from $VENDOR to handle HDMI', and then eventually 'we bought an IP from $VENDOR to handle HDMI'). A LUT is, more or less, the smallest logical element on an FPGA (a piece of programmable hardware) -- it's a Look-Up Table. They're not directly comparable from FPGA to FPGA, because some FPGAs have different sizes; in the early days, LUTs had 3 inputs and produced one output, but on modern FPGAs, 'LUT4's (4 input, 1 output) are the smallest that you'll reasonably get, and some FPGAs even use 'LUT6's (6 input, 1 output; sometimes divisible into 5 input, 2 output, or other subdivisions) as their basic logic element. But no matter how you slice it, 308 LUTs is impressively small, especially for 180MHz.
- chetjan 11y agoIP -> Intellectual Property, LUT -> Look Up Table. IP is often used by Intel to describe a "unit" of propriety technology, such a chip or just a adder design. Look up tables are in essence ROM that is the basis for how FPGAs work.
- jloughry 11y agoCPLD = Complex Programmable Logic Device A chip half-way between a PAL (think of a dozen or so gates in a small package, you could choose how they were hooked up; it was fast and it was small) and an FPGA (relatively huge and expensive). Both programmable, but PALs usually only once.
- fpgaminer 11y agoI'm curious why it only runs at 180MHz on a Kintex-7. The Kintex-7 can do 32-bit additions at 400-500MHz, so it's odd to see an 8088 running at less than half that. The article mentions that removing the cycle accurate constraint would allow it to run faster, so perhaps that's why.
- vvanders 11y agoIn theses solutions you're less interested in raw performance(you could go with one of their hybrid ARM-FPGA cores in that case) then keeping LUTs small so that the FPGA can use them for things that it's good at. Processors like these are kinda like the glue for larger parts.
- mutagen 11y agoNote that this core runs at ~100 MHz to get equivalent performance (cycle accurate timings) to the original 4.77 MHz 8088. The big deal is the relatively small number of LUTs used, leaving plenty of room for more stuff. There's more from the creator at http://www.eetimes.com/author.asp?section_id=216&doc_id=1328967 http://www.eetimes.com/author.asp?section_id=216&doc_id=1328... including this nice tidbit: The result is the MCL86, which is basically a 7-instruction, 32-bit micro-sequencer. Some of the micro-sequencer's instructions are specialized so as to allow it to rapidly decode instructions as well as nest function calls. With these seven instructions, I was able to microcode all of the 8086 opcodes in a relatively small number of micro-sequencer clocks. A video of this running 8088mph would be awesome, they already have a number of videos of this running other stuff on a PC: https://www.youtube.com/channel/UC9B3TaEUon-araO2j7tp9jg https://www.youtube.com/channel/UC9B3TaEUon-araO2j7tp9jg EDIT: There is a video of it runnin 8088 mph that polpo linked!
- PeCaN 11y agoNot just "relatively small"—positively tiny. You could fit hundreds of these on a single FPGA.
- dingdingdang 11y agoYes, I was thinking the same thing: couldn't this be made into say a 500 core 8086? And if so, would this thing then be parallel programmable? I mean.. sort of fascinating.. though probably in an idle sort of way since the speed penalty of using cores that slow would almost definitely wipe out the parallel gain?
- cantankerous 11y agoRouting remains an issue when you scale up to that many IP cores. It's one of those aspects of FPGA design that doesn't really have an analog in software.
- sklogic 11y agoYes, that's the most impressive bit. My best efforts in building a heavily microcoded tiny 16bit core resulted in a minimum of 700 ICE40 cells. Now I know that it's possible to go even further down.
- huangc10 11y agoThis is sweet. Been a while since I worked in HW after switching to full time SW but this kind of news just makes me chuckle. Say a modern day FPGA has 10 million gates. 6 gates/LUT. That gives 1.6 million LUTS. Let's say half are used up by other IPs and IOs within the chip. 800k/308 = ~2500. You could have 2500 of the 8088 running at 180MHz simultaneously. Why? For science.
- david-given 11y agoI wonder how much extra space it would take to emulate all the weird-ass IBM XT peripherals and end up with a true 8088 embeddable-system-on-a-chip? Plug that into a cheapo SD card (or even a serial EEPROM) and you'd have a standalone machine that would run DOS. That could actually be useful.
- ChuckMcM 11y agoThat is so freaking awesome. CPLDs are approaching 308 logic blocks :-). And given the small footprint of the core it suggests you could probably build the entire IBM PC architecture on a single FPGA with CGA or Hercules Mono framebuffer support. Then boot Microsoft Flight Simulator and chortle at how much imagination you needed to use to believe you were flying a plane.
- acveilleux 11y agoLol, I can't even suspend disbelief and play VGA games from the 1990s. I see the pixels and not the scene. Same with games like Civ 1 or Sim City. I remember playing for ages but now there's no way I can do it. Maybe the size of my monitor is contributing to this. My DOS gaming days were on 12" and 14" CRTs current play is on 27" LCD.
- samstave 11y agoDid you just literally reference the Hercules graphics cards of the days of yore??? The only thing missing is DIP switches!!! To be a kid again!
- sklogic 11y agoYou can build a rather capable SoC with a 32 bit RISC core, DDR controller, Ethernet MAC, a couple of UARTs and a 800x600 colour VGA and an audio DAC on a cheap FPGA board like DE0 nano. It will run on 100mhz and be much more capable than an entire PC AT system, rather more like the Unix workstations of the early 90s.
- 11y ago
- danjayh 11y agoI haven't done any VHDL in about 9 years. Anyone know of a good site/tutorial to run through that starts out relatively basic and goes through to advanced topics? (bonus points if it has step-by-step instructions for a low cost / free for noncommercial dev environment).
- analognoise 11y agoMost vendors have free (as in beer) licenses available for their smaller parts. Check out FreeRangeFactory. They have some good intro books. Not sure how advanced they get (as I do mostly verilog). Feel free to shoot me a message if you get stuck.
- atemerev 11y agoIncidentally, the smallest model organism with a nervous system, C. elegans, has 302 neurons. Coincidence? Don't think so.
- tzs 11y ago> Just how many LUTs is 308? The smallest Kintex-7 FPGA is the K70T with 65,600 logic cells (“the logic equivalent of a classic 4-input LUT and a flip-flop” according to User Guide UG474), so we’re talking about a resource consumption of much less than 1% of that very small programmable device. So...you could put 100 8088 work-alikes on one FPGA? At the risk of inducing /. nostalgia in the old timers here...can you imagine a Beowulf cluster of these?
- cnvogel 11y agoTo put the mind-boggling amount of logic in a contemporary FPGA into perspective, the smallest device in the Kintex-7 family seems to be the XC7K70T... http://www.xilinx.com/products/silicon-devices/fpga/kintex-7.html#productTable http://www.xilinx.com/products/silicon-devices/fpga/kintex-7... (<-- HTML overview page at Xilinx) ...which contains 10,250 slices where one slice contains four 6-in-2-out lookup tables and 8 flipflops: http://www.xilinx.com/support/documentation/user_guides/ug474_7Series_CLB.pdf http://www.xilinx.com/support/documentation/user_guides/ug47... (<-- family user-guide) http://imgur.com/viEdQUv http://imgur.com/viEdQUv (<-- png of page 19 with "schematic" of one logic slice) On page 19: The four boxes on the left are the lookup tables implementing combinatorical logic (A/W/O5/O6/...), the eight squares on the middle/right (D/CE/CK/SR/...) are flipflops (store one bit of data each). There's a bunch of random multiplexers (the trapezoid ones, they choose one output of X inputs) scattered around. This "schematic" is of course simplified ;-). So, 10250*6/308=199.7 fits the 8088 "IP" 200 times. Of course this is a very naive calculation ignoring any routing between cores or any peripherals to make them do anything useful, and one would use one of such a 8-bit CPU for easy housekeeping tasks, and not 200 of them. But it shows nicely how incredibly dense current FPGAs are. Of course, just one bare chip will set you back around $120. https://octopart.com/search?q=XC7K70T https://octopart.com/search?q=XC7K70T (<-- part search)
- typon 11y agoEven more mindboggling: the unreleased Stratix 10 FPGA from Altera claims to have 5,510,000 LUTs in the largest device. That's a total of 17,889 Intel 8088 Microprocessors.
- Gratsby 11y agoI know at least a dozen of these words.
- davidvicky 11y agoi'm curious why it only runs at 180MHz on a Kintex-7. The Kintex-7 can do 32-bit additions at 400-500MHz, so it's odd to see an 8088 running at less than half that. The article mentions that removing the cycle accurate constraint would allow it to run faster, so perhaps that's why. http://1tour.vn http://1tour.vn http://en.1tour.vn http://en.1tour.vn http://1tour.vn/khach-san http://1tour.vn/khach-san http://1tour.vn/tour http://1tour.vn/tour http://blog.1tour.vn http://blog.1tour.vn http://1tour.vn/khach-san/ha-noi http://1tour.vn/khach-san/ha-noi http://1tour.vn/khach-san/sapa/ http://1tour.vn/khach-san/sapa/ http://1tour.vn/khach-san/da-nang/ http://1tour.vn/khach-san/da-nang/ http://1tour.vn/khach-san/da-lat/ http://1tour.vn/khach-san/da-lat/ http://1tour.vn/khach-san/nha-trang/ http://1tour.vn/khach-san/nha-trang/ http://1tour.vn/khach-san/vung-tau/ http://1tour.vn/khach-san/vung-tau/ http://1tour.vn/khach-san/phan-thiet/ http://1tour.vn/khach-san/phan-thiet/ http://1tour.vn/khach-san/sai-gon/ http://1tour.vn/khach-san/sai-gon/ http://1tour.vn/khach-san/phu-quoc/ http://1tour.vn/khach-san/phu-quoc/
- davidvicky 11y agoi'm curious why it only runs at 180MHz on a Kintex-7. The Kintex-7 can do 32-bit additions at 400-500MHz, so it's odd to see an 8088 running at less than half that. The article mentions that removing the cycle accurate constraint would allow it to run faster, so perhaps that's why. http://1tour.vn http://1tour.vn http://en.1tour.vn http://en.1tour.vn http://1tour.vn/khach-san http://1tour.vn/khach-san http://1tour.vn/tour http://1tour.vn/tour http://blog.1tour.vn http://blog.1tour.vn http://1tour.vn/khach-san/ha-noi http://1tour.vn/khach-san/ha-noi http://1tour.vn/khach-san/sapa/ http://1tour.vn/khach-san/sapa/ http://1tour.vn/khach-san/da-nang/ http://1tour.vn/khach-san/da-nang/ http://1tour.vn/khach-san/da-lat/ http://1tour.vn/khach-san/da-lat/ http://1tour.vn/khach-san/nha-trang/ http://1tour.vn/khach-san/nha-trang/ http://1tour.vn/khach-san/vung-tau/ http://1tour.vn/khach-san/vung-tau/ http://1tour.vn/khach-san/phan-thiet/ http://1tour.vn/khach-san/phan-thiet/ http://1tour.vn/khach-san/sai-gon/ http://1tour.vn/khach-san/sai-gon/ http://1tour.vn/khach-san/phu-quoc/ http://1tour.vn/khach-san/phu-quoc/
- davidvicky 11y agoRobert Chao is what many of us dreamed we’d become when we first started engineering school. We loved technology. We knew we were intelligent. We wanted to build our skills and increase our knowledge. We wanted to apply that education along with our natural passion and talent to solve important problems. We craved that creative rush, that eureka moment when we realized we had a slightly better idea, an improvement, a challenge to the status quo. We wanted to change the world - one transistor at a time. For most of us, Dr. Moore had other plans. For the past four decades, Robert Chao has remained indifferent to the cataclysmic vortex of Moore’s Law. His first patent (4215281), filed in February 1978 on behalf of Supertex Semiconductor (of which he was a founder), was for a CMOS integrated circuit - a single-chip solution that provided the platform enabling the ubiquitous home smoke detector. http://1tour.vn http://1tour.vn http://en.1tour.vn http://en.1tour.vn http://1tour.vn/khach-san http://1tour.vn/khach-san http://1tour.vn/tour http://1tour.vn/tour http://blog.1tour.vn http://blog.1tour.vn http://1tour.vn/khach-san/ha-noi http://1tour.vn/khach-san/ha-noi http://1tour.vn/khach-san/sapa/ http://1tour.vn/khach-san/sapa/ http://1tour.vn/khach-san/da-nang/ http://1tour.vn/khach-san/da-nang/ http://1tour.vn/khach-san/da-lat/ http://1tour.vn/khach-san/da-lat/ http://1tour.vn/khach-san/nha-trang/ http://1tour.vn/khach-san/nha-trang/ http://1tour.vn/khach-san/vung-tau/ http://1tour.vn/khach-san/vung-tau/ http://1tour.vn/khach-san/phan-thiet/ http://1tour.vn/khach-san/phan-thiet/ http://1tour.vn/khach-san/sai-gon/ http://1tour.vn/khach-san/sai-gon/ http://1tour.vn/khach-san/phu-quoc/ http://1tour.vn/khach-san/phu-quoc/ http://en.1tour.vn/accommodation/halong-bay-cruises-tours http://en.1tour.vn/accommodation/halong-bay-cruises-tours http://en.1tour.vn/tour/hanoi/ http://en.1tour.vn/tour/hanoi/ http://en.1tour.vn/tour/sapa/ http://en.1tour.vn/tour/sapa/ http://en.1tour.vn/tour/mekong-delta/ http://en.1tour.vn/tour/mekong-delta/ http://tourdulich123.com/ http://tourdulich123.com/ http://dongtaydulich.com/ http://dongtaydulich.com/ http://datvemaybayi.com http://datvemaybayi.com http://monngon7.com http://monngon7.com http://dulichasian.com/ http://dulichasian.com/ http://travellvnn.com/ http://travellvnn.com/ http://tourgiarenhat.com http://tourgiarenhat.com http://vemaybayr.com http://vemaybayr.com http://dulich3mienn.com http://dulich3mienn.com http://khachsan9.com/ http://khachsan9.com/ http://cantho60s.com http://cantho60s.com http://raovatzoom.com http://raovatzoom.com http://vnco.net http://vnco.net http://cachlamkem.vn http://cachlamkem.vn http://thoitrang365.net http://thoitrang365.net http://autocar24.com http://autocar24.com