Jump to content

NEC V20

From Wikipedia, the free encyclopedia

Template:Short description Template:Use list-defined references Template:Use dmy dates Template:Infobox CPU

The NEC V20 is a microprocessor that was designed and produced by NEC. It is both pin compatible and object-code compatible with the Intel 8088, with an instruction set architecture (ISA) similar to that of the Intel 80188 with some extensions.[1] The V20 was introduced in November 1982.[2][1]

Features

The V20's die comprised 63,000 transistors; more than double the 29,000 of the 8088 CPU.[3] The chip was designed for a clock duty cycle of 50%, compared to the 33% duty cycle used by the 8088.[4] The V20 has two 16-bit wide internal databuses, allowing two data transfers to occur concurrently.[5] Differences like that meant that a V20 could typically complete more instructions in a given time than an Intel 8088 running at the same frequency.[1]

The V20 was fabricated in 2-micron CMOS technology.[6][4] Early versions ran at speeds of 5, 8, and 10 MHz.[7]Template:Rp In 1990, an upgrade to the fabrication process technology resulted in the V20H and V20HL, with improved performance and reduced power consumption.[6] Later versions added speeds of 12 and 16 MHz. The V20HLs were also completely static, allowing their clock to be stopped.

The V20 was described as 16-bits wide internally. It used an 8-bit external data bus that was multiplexed onto the same pins as the low byte of the address bus. Its 20-bit wide address bus was able to address 1 MB of memory.

The V20 was reported to have been compatible with the Intel 8087 floating-point unit (FPU) coprocessor.[8] NEC also designed their own FPU, the μPD72091, which was cancelled before reaching production. They followed this with a revised design, the μPD72191, but it is unclear how many, if any, of this second part were produced.[9]

The V30, a nearly identical CPU with a 16-bit wide external data bus, debuted on September 1, 1983.[10][6] It was pin and object-code compatible with the Intel 8086.

ISA extensions

File:Sony CXQ70108D 8 1.jpg
Sony CXQ70108D 8 MHz

The V20's ISA includes several instructions not executed by the 8088, with instructions for bit manipulation, packed BCD operations, multiplication, and division. They also include new real-mode instructions from the Intel 80286.[11]

The ADD4S, SUB4S, and CMP4S instructions were able to add, subtract, and compare huge packed binary-coded decimal numbers stored in memory. Instructions ROL4 and ROR4 rotate four-bit nibbles. Another family consisted of the TEST1, SET1, CLR1, and NOT1 instructions, which test, set, clear, and invert single bits of their operands, but are far less efficient than the later i80386 equivalents BT, BTS, BTR, and BTC; neither are their encodings compatible. There were two instructions to extract and insert bit fields of arbitrary lengths (EXT, INS). And finally, there were two additional repeat prefixes, REPC and REPNC, which amended the original REPE and REPNE instructions for scanning a string of bytes or words (with instructions SCAS and CMPS) while a less or not less condition remained true.[12]

The V20 offered a mode that emulated an Intel 8080 CPU. A BRKEM instruction is issued to start 8080 emulation. The operand of the instruction specifies an interrupt number whose vector contains the segment:offset where emulation is to begin. To end, a RETEM instruction is issued in 8080 code. One feature not often employed is the CALLN (call native) which issues an 8086-type interrupt call that enables x86 code (which returns using an IRET) to be mixed in with 8080 code.

Another mode put the processor into a power-saving state via a HALT instruction.[7][8]

Lawsuits

In 1982, Intel sued NEC over the latter's μPD8086 and μPD8088. This suit was settled out of court, with NEC agreeing to license the designs from Intel.[13]

In late 1984, Intel again filed suit against NEC, claiming that the microcode in the V20 and V30 infringed its patents for the 8088 and 8086 processors.[14] NEC software engineer Hiroaki Kaneko had studied both the hardware design of the Intel CPUs and the original Intel microcode.

In its ruling, on September 22, 1986,[15] the court determined that the microcode in the control store constitutes a computer program, and so is protected by copyright.[16] They further found Intel to have forfeited their copyright by neglecting to ensure that all second-source chips were suitably marked. The court also determined that NEC did not simply copy Intel's microcode, and that the microcode in the V20 and V30 was sufficiently different from Intel's to not infringe Intel's copyright.

The judge in the case accepted NEC's cleanroom evidence. He also approved of NEC's use of reverse engineering with respect to the creation of NEC's Rev.2 microcode, without commenting on it with respect to the Rev.0 code.[16]Template:Rp

Variants and successors

File:NEC V20 CPU chip.jpg
V20 on a motherboard
File:KL NEC V30.jpg
NEC V30 (μPD70116), 10 MHz
File:NEC V33A μPD70136AL-16 CPU (16471052995) (cropped).jpg
NEC V33A (μPD70136AL)
File:NEC V40.png
NEC V40 (μPD70208)
File:UPD70236 01.jpg
NEC V53A (μPD70236A)

Template:Sticky header

See also

References

Template:Reflist

Further reading

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}

Template:NEC Corporation

  1. ↑ 1.0 1.1 1.2 Cite error: Invalid <ref> tag; no text was provided for refs named cpu-world
  2. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named phoneDB
  3. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named x86guide-v20-5
  4. ↑ 4.0 4.1 Cite error: Invalid <ref> tag; no text was provided for refs named pcm-dec1985
  5. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named ieeem-nov2021
  6. ↑ 6.0 6.1 6.2 Cite error: Invalid <ref> tag; no text was provided for refs named shmj
  7. ↑ 7.0 7.1 Cite error: Invalid <ref> tag; no text was provided for refs named chipdb
  8. ↑ 8.0 8.1 Cite error: Invalid <ref> tag; no text was provided for refs named tpc-v20
  9. ↑ 9.0 9.1 Cite error: Invalid <ref> tag; no text was provided for refs named tcs-necfpu
  10. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named x86guide-v30-10
  11. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named pcm-jun1988
  12. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named nec-um
  13. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named zdnet-jun1998
  14. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named iw-fb1989
  15. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  16. ↑ 16.0 16.1 Cite error: Invalid <ref> tag; no text was provided for refs named hjlt-spring1990
  17. ↑ 17.0 17.1 17.2 17.3 NEC 16-bit V-series Microprocessor Data Book, 1991 Template:Webarchive, see page 299 for V33's interrupt vectors, page 422 for the relationship between V25 and 78000, page 576 for the EPROM-equipped μPD70P322 and page 765 for the "Security Guard" feature.
  18. ↑ NEC, μPD70136A V33A 16-bit microprocessor data sheet, document no. U10136EJ4V0DS00 (4th edition), Sep 1995 - see pages 40-43 for a listing of the V33A interrupt vectors and page 106 for a table that lists the interrupt vector changes from V33. Archived on 7 Sep 2026.
  19. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named korgm1-sm
  20. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named mz5606-korg-m1r
  21. ↑ BNN, NEC PC-88VA Technical Manual (in Japanese), 25 Jun 1987. ISBN 4-89369-024-8. See section 1.5 on pages 12-13 for information about the μPD9002 processor in the NEC PC-88VA - mentions the CALLN/RETEM instructions as well as the omission of the INS/EXT/OUTM/INM instructions.
  22. ↑ Inside88VA wiki, CPU (in Japanese). Archived on 5 Sep 2006.
  23. ↑ Nakata Maho, μPD9002 uPD70008-Compatible Mode, Aug 12, 2026. Archived on 24 Sep 2026.
  24. ↑ Oh! X, “もう一度CPUについて考えてみよう” (in Japanese), May 14, 1999.
  25. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  26. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named MPC3000
  27. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named aj-mpc3000
  28. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  29. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  30. ↑ NEC, NEC Semiconductor Selection Guide, April 1999 - lists V30-derived ASIC CPU cores (V30MX/MT/MZ/MZC) on pages 208 and 214. Archived from the original on 22 Feb 2014.
  31. ↑ NEC/Renesas, µPD72013 USB2.0 to IDE Bridge Preliminary Datasheet, June 2004. Archived on 13 Dec 2024.
  32. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named vadem-dm
  33. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named ibm-simon
  34. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named V60-Prog-Ref-Man
  35. ↑ Y. Komoto et al, Overview of 32-bit V-Series Microprocessor, 1990. Archived on 14 Sep 2025.