Control store

A control store is the part of a CPU's control unit that stores the CPU's microprogram. It is usually accessed by a microsequencer. A control store implementation whose contents are unalterable is known as a Read Only Memory (ROM) or Read Only Storage (ROS); one whose contents are alterable is known as a Writable Control Store (WCS).

Implementation

Early use

Early control stores were implemented as a diode-array accessed via address decoders, a form of read-only memory. This tradition dates back to the program timing matrix on the MIT Whirlwind, first described in 1947. Modern VLSI processors instead use matrices of field-effect transistors to build the ROM and/or PLA structures used to control the processor as well as its internal sequencer in a microcoded implementation. IBM System/360 used a variety of techniques: CCROS (Card Capacitor Read-Only Storage) on the Model 30, TROS (Transformer Read-Only Storage) on the Model 40, and BCROS (Balanced Capacitor Read-Only Storage) on Models 50, 65 and 67.

Writable stores

Some computers are built using "writable microcode" — rather than storing the microcode in ROM or hard-wired logic, the microcode is stored in a RAM called a writable control store or WCS. Such a computer is sometimes called a Writable Instruction Set Computer or WISC.[1] Many of these machines were experimental laboratory prototypes, such as the WISC CPU/16[2] and the RTX 32P.[3]

The original System/360 models have read-only control store, but later System/360, System/370 and successor models load part or all of their microprograms from floppy disks or other DASD into a writable control store consisting of ultra-high speed random-access read–write memory. The System/370 architecture includes a facility called Initial-Microprogram Load (IML or IMPL)[4] that can be invoked from the console, as part of Power On Reset (POR) or from another processor in a tightly coupled multiprocessor complex. This permitted IBM to easily repair microprogramming defects in the field. Even when the majority of the control store is stored in ROM, computer vendors would often sell writable control store as an option, allowing the customers to customize the machine's microprogram. Other vendors, e.g., IBM, use the WCS to run microcode for emulator features[5][6] and hardware diagnostics.[7]

Other commercial machines that use writable microcode include the Burroughs Small Systems (1970s and 1980s), the Xerox processors in their Lisp machines and Xerox Star workstations, the DEC VAX 8800 ("Nautilus") family, and the Symbolics L- and G-machines (1980s). Some DEC PDP-10 machines store their microcode in SRAM chips (about 80 bits wide x 2 Kwords), which is typically loaded on power-on through some other front-end CPU.[8] Many more machines offer user-programmable writable control stores as an option (including the HP 2100, DEC PDP-11/60 and Varian Data Machines V-70 series minicomputers). The Mentec M11 and Mentec M1 store its microcode in SRAM chips, loaded on power-on through another CPU. The Data General Eclipse MV/8000 ("Eagle") has a SRAM writable control store, loaded on power-on through another CPU.[9]

WCS offers several advantages including the ease of patching the microprogram and, for certain hardware generations, faster access than ROMs could provide. User-programmable WCS allow the user to optimize the machine for specific purposes. However, it also had the disadvantage of making it harder to debug programs, and making it possible for malicious users to negatively affect the system and data.[10]

Some CPU designs compile the instruction set to a writable RAM or FLASH inside the CPU (such as the Rekursiv processor and the Imsys Cjip),[11] or an FPGA (reconfigurable computing).

Several Intel CPUs in the x86 architecture family have writable microcode,[12] starting with the Pentium Pro in 1995.[13][14] This has allowed bugs in the Intel Core 2 microcode and Intel Xeon microcode to be fixed in software, rather than requiring the entire chip to be replaced. Such fixes can be installed by Linux,[15] FreeBSD,[16] Microsoft Windows,[17] or the motherboard BIOS.[18]

Timing, latching and avoiding a race condition

The control store usually has a register on its outputs. The outputs that go back into the sequencer to determine the next address have to go through some sort of register to prevent the creation of a race condition.[19] In most designs all of the other bits also go through a register. This is because the machine will work faster if the execution of the next microinstruction is delayed by one cycle. This register is known as a pipeline register. Very often the execution of the next microinstruction is dependent on the result of the current microinstruction, which will not be stable until the end of the current microcycle. It can be seen that either way, all of the outputs of the control store go into one big register. Historically it used to be possible to buy EPROMs with these register bits on the same chip.

The clock signal determining the clock rate, which is the cycle time of the system, primarily clocks this register.

References

  1. ^ Koopman Jr., Philip (1987). "Writable instruction set, stack oriented computers: The WISC Concept" (PDF). The Journal of Forth Application and Research. 5 (1): 49–71.
  2. ^ Koopman Jr., Philip (1989). "Architecture of the WISC CPU/16". Stack Computers: the new wave.
  3. ^ Koopman Jr., Philip (1989). "Architecture of the RTX 32P". Stack Computers: the new wave.
  4. ^ IBM (September 1974), IBM System/370 Principles of Operation (PDF), Fourth Edition, pp. 98, 245, GA22-7000-4
  5. ^ IBM (June 1968), IBM System/360 Model 85 Functional Characteristics (PDF), SECOND EDITION, A22-6916-1
  6. ^ IBM (March 1969), IBM System/360 Special Feature Description 709/7090/7094 Compatibility Feature for IBM System/360 Model 85, First Edition, GA27-2733-0
  7. ^ IBM (January 1971), IBM System/370 Model 155 Functional Characteristics (PDF), SECOND EDITION, GA22-6942-1
  8. ^ Smith, Eric (September 3, 2002). "Re: What was the size of Microcode in various machines". Newsgroupcomp.arch.
  9. ^ Mark Smotherman. "CPSC 330 / The Soul of a New Machine". 4096 x 75-bit SRAM writeable control store: 74-bit microinstruction with 1 parity bit (18 fields)
  10. ^ McDowell, Charlie (1982). "Protection at the micromachine level". ACM SIGARCH Computer Architecture News. 10 (1): 5. doi:10.1145/859520.859521. Retrieved 2023-11-25. It is not unusual to find microprograms that are greater than 50K bytes in size. This increase in size, and the expansion of microprograming beyond the traditional bounds of machine instruction emulation, have increased the possibility of both malicious and faulty microprograms, particularly the later.
  11. ^ "Great Microprocessors of the Past and Present (V 13.4.0)". Cpushack.com. Retrieved 2010-04-26.
  12. ^ Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 3A: System Programming Guide, Part 1 (PDF). December 2009. chapter 9.11: "Microcode update facilities".
  13. ^ Stiller, Andreas; Paul, Matthias R. (1996-05-12). "Prozessorgeflüster". c't – magazin für computertechnik. Trends & News / aktuell - Prozessoren (in German). Vol. 1996, no. 6. Verlag Heinz Heise GmbH & Co KG. p. 20. ISSN 0724-8679. Archived from the original on 2017-08-28. Retrieved 2017-08-28.
  14. ^ Gwennap, Linley (1997-09-15). "P6 Microcode Can Be Patched - Intel Discloses Details of Download Mechanism for Fixing CPU Bugs" (PDF). Microprocessor Report. MicroDesign Resources. Archived (PDF) from the original on 2022-05-19. Retrieved 2017-06-26. (2 pages)
  15. ^ "Intel Microcode Update Utility for Linux". Archived from the original on 2012-02-26.
  16. ^ Stefan Blachmann (2018-03-02). "New microcode updating tool for FreeBSD". freebsd-hackers (Mailing list). Retrieved 2019-07-09.
  17. ^ "A microcode reliability update is available that improves the reliability of systems that use Intel processors". Microsoft Support. June 22, 2007. Archived from the original on 2007-06-28.
  18. ^ "BIOS Update required when Missing Microcode message is seen during POST". Intel. Retrieved 2022-01-13.
  19. ^ Don Lancaster. "TV Typewriter Cookbook". p. 62. (TV Typewriter)

Further reading

Read other articles:

Song of SpringNama lainHanzi Tradisional 媽媽 Hanzi Sederhana 妈妈 Hanyu PinyinMāmā Sutradara Yang Lina Produser Yin Lu Ditulis oleh Yang Lina PemeranWu YanshuXi MeijuanPerusahaanproduksi Zhejiang Hengdian Film Co., Ltd. Tianjin Lianrui Film Co., Ltd. Tianjin Zoe Film Co., Ltd. China Film Corporation Beijing Weimengchuangke Network Technology Co., Ltd. Lian Ray Pictures DistributorLian Ray PicturesTanggal rilis 10 September 2022 (2022-09-10) (China) Durasi109 menitNe...

Florence Nibart-Devouard Florence Nibart-Devouard (Versailles, 10 september 1968) is een Franse landbouwkundig ingenieur en biologe. Zij is werkzaam als onderzoekster op het gebied van de landbouwkunde en de erfelijkheidsleer. Ze studeerde landbouwkunde aan de École Nationale Supérieure d'Agronomie et des Industries Alimentaires en behaalde tevens een DEA in genetica en biotechnologie aan het Institut national polytechnique de Lorraine (INPL). Nadat Nibart-Devouard eerst in de genetische ve...

American interbank network STAR System redirects here. For the star systems in astronomy, see star system. For other uses, see Star (disambiguation). This article may rely excessively on sources too closely associated with the subject, potentially preventing the article from being verifiable and neutral. Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. (October 2017) (Learn how and when to remove this template message) STA...

إميليو غونزاليس فيرين (بالإسبانية: Emilio González Ferrín)‏  معلومات شخصية اسم الولادة خوسيه ماريا فالفيردي باتشيكو (José María Valverde Pacheco) الميلاد سنة 1965 (العمر 57–58 سنة)  سيوداد ريال، كاستيا لا مانتشا الجنسية إسباني الحياة العملية المواضيع الإِسْلَام،  والدراسات العربية،  و

Démographie de la Hongrie Pyramide des âges de la Hongrie en 2005 Dynamique Population 9 825 704 hab.(2018)[1] Évolution de la population −0,26 % (2018)[2],[3] Indice de fécondité 1,45 enfant par ♀[4](2018)[5] Taux de natalité 8,9 ‰ (2018)[6],[7] Taux de mortalité 12,8 ‰ (2018)[8],[9] Taux de mortalité infantile 4,8 ‰ (2018)[10] Âges Espérance de vie à la naissance 76,3 ans (2018)[11]Hommes : 72,6&...

Limited series Annihilation: ConquestCover art for Annihilation: Conquest #6Art by Aleksi BriclotPublisherMarvel ComicsPublication dateAugust 2007 – June 2008Genre Science fiction, superhero Crossover Title(s) Annihilation: Conquest #1-6 Annihilation: Conquest Prologue #1 Annihilation: Conquest - Quasar #1-4 Annihilation: Conquest - Star-Lord #1-4 Annihilation: Conquest - Wraith #1-4 Nova #4-7, 11-12, Annual 1 Marvel Encyclopedia #1 Main character(s)Guardians of the Galax...

1995 television miniseries MosesDVD CoverWritten byLionel ChetwyndDirected byRoger YoungStarringBen KingsleyFrank LangellaChristopher LeeMusic byMarco FrisinaCountry of originUnited States, Czech Republic, United Kingdom, France, Germany, Italy, SpainOriginal languageEnglishProductionProducersHeinrich KraussLorenzo MinoliRoberto PaceMelissa TaylorLuca Bernabei (co-producer)CinematographyRaffaele MertesEditorBenjamin A. WeissmanRunning time188 minutes/176 minutesProduction companiesAntena 3 Te...

SnapchatCuplikanCuplikan menu Snapchat Discover di iOSPengembangEvan SpiegelReggie BrownBobby MurphyRilis perdanaSeptember 2011[1]Rilis stabil8.1.1Templat:Latest stable software release/Snapchat Sistem operasiiOS, AndroidPlatformiOS, AndroidUkuran16,2 MBTersedia dalamInggris, Arab, Bengali, Dansk, Belanda, Filipina, Suomi, Prancis, Jerman, Yunani, Gujarati, Hindi, Indonesia, Italia, Jepang, Kannada, Korea, Melayu, Malayalam, Marathi, Norwegia, Polandia, Portugis, Punjabi, Rumania...

American politician (1853–1921) Senator Knox redirects here. For other uses, see Senator Knox (disambiguation). Philander KnoxUnited States Senatorfrom PennsylvaniaIn officeMarch 4, 1917 – October 12, 1921Preceded byGeorge T. OliverSucceeded byWilliam E. CrowIn officeJune 10, 1904 – March 4, 1909Preceded byMatthew QuaySucceeded byGeorge T. Oliver40th United States Secretary of StateIn officeMarch 6, 1909 – March 5, 1913PresidentWilliam Howard TaftPreceded by...

American television series LancerAndrew Duggan and Elizabeth Baur, 1968GenreWesternCreated bySamuel A. PeeplesDirected byVariousStarring James Stacy Wayne Maunder Andrew Duggan Elizabeth Baur Theme music composerJerome MorossComposers Jerome Moross Sidney Fine Hugo Friedhofer Robert Drasnin Leith Stevens Joseph Mullendore Irving Gertz Fred Steiner Alexander Courage Harry Geller Arthur Morton George Duning Country of originUnited StatesOriginal languageEnglishNo. of seasons2No. of episodes51Pr...

Radio station in Gainesville, Texas KZMJGainesville, TexasBroadcast areaDallas–Fort Worth metroplexShermanDenisonGainesvilleArdmoreDurantFrequency94.5 MHz (HD Radio)BrandingMajic 94.5ProgrammingLanguage(s)EnglishFormatUrban adult contemporaryAffiliationsCompass Media NetworksOwnershipOwnerUrban One(Radio One Licenses, LLC)Sister stationsKBFBHistoryFirst air date1958; 65 years ago (1958) (as KGAF-FM)Former call signsKGAF-FM (1958–1981)KDNT-FM (1981–1987)KZRK (1987–198...

Amy Harris-Willock làm Hoa hậu Caribbean Anh 2015 Amy Melissa Harris-Willock (sinh ngày 14 tháng 9 năm 1987 tại Birmingham) [1][2] là một vận động viên nhảy xa người Anh gốc Antiguan thi đấu với tư cách là Amy Harris,[3] và là cựu vô địch của cuộc thi Hoa hậu Caribe Anh.[4] Sự nghiệp điền kinh Thi đấu dưới tên khai sinh Amy Harris và một thành viên của Điền kinh Vương quốc Anh, cô đã g...

ABMC cemetery in Alpes-Côte d'Azur, France Rhone American Cemetery and MemorialAmerican Battle Monuments CommissionView of headstones and memorialUsed for those deceased 1944–1946EstablishedAugust 1944 (completed 1956)Location43°32′12″N 6°28′24″E / 43.53667°N 6.47333°E / 43.53667; 6.47333near Draguignan, Var, FranceDesigned byHenry J. Toombs, Atlanta (Monument) A. F. Brinckerhoff, New York (Landscaping)Total burials861Unknowns62Commemorate...

ريتشارد تي ويتكومب   معلومات شخصية الميلاد 21 فبراير 1921  إيفانستون  الوفاة 13 أكتوبر 2009 (88 سنة) [1]  نيوبورت نيوز  مواطنة الولايات المتحدة  الحياة العملية المدرسة الأم معهد ورسستر للفنون التطبيقية  المهنة مهندس فضاء جوي،  ومهندس  الجوائز القاعة الوطن...

GalatasarayGalatasarayExecutive EditorMehmet ŞenolStaff writersTarık Ünlütürk Atahan Altınordu Eray Sözen Eren LoğoğluCategoriesSports magazineFrequencymonthlyCirculation 100.000 (2009)[1][2]PublisherGalatasaray Sports ClubFirst issue1 June 2002CompanyGalatasaray Sports ClubCountryTurkeyBased inBeyoğlu, IstanbulLanguageTurkishWebsitehttp://www.galatasaray.org/gsdergi Galatasaray (Turkish: Galatasaray Dergisi) is a monthly released official magazine to the fans of Tur...

Fabio Monti Da destra: Monti discute con il vicentino Maraschi e lo juventino De Paoli nel 1967 Informazioni personali Arbitro di Calcio Federazione  Italia Sezione Ancona Attività nazionale Anni Campionato Ruolo 1961-19621962-1973 Serie BSerie A e B ArbitroArbitro Attività internazionale 1967-1972 UEFA Arbitro Premi Anno Premio 1969 Premio Giovanni Mauro Fabio Monti (Senigallia, 14 luglio 1928[1] – Ancona, 4 dicembre 1997[2]) è stato un arbitro di calcio italiano. I...

María Isabel de Saboya-Génova Princesa de Saboya-Génova Información personalNombre completo María Isabel de Saboya-GénovaTratamiento Alteza RealOtros títulos Condesa de RezzanoNacimiento 23 de junio de 1943Roma, ItaliaFamiliaCasa real Casa de SaboyaPadre Eugenio, duque de Saboya-GénovaMadre Lucía, princesa de Borbón-Dos SiciliasCónyuge Alberto Frioli, conde de RezzanoHijos Víctor Eugenio Frioli María Cristina Frioli Carlo Alberto Frioli Maria Luce Lydia Frioli[editar datos e...

Scottish peerage Charles Seton, 2nd Earl of Dunfermline. Earl of Dunfermline was a title in the Peerage of Scotland. It was created in 1605 for Alexander Seton, 1st Lord Fyvie, fourth son of George Seton, 7th Lord Seton (see Earl of Winton for earlier history of the family). Seton had already been created Lord Fyvie in the Peerage of Scotland, in 1598, with remainder to his elder brother, John Seton. He was succeeded by his son, the second Earl. He was Keeper of the Privy Seal of Scotland bet...

Little Red DecidesOverblikGenreStumfilm Instrueret afJack Conway Manuskript afJack Cunningham MedvirkendeAlice Davenport,Jean Hersholt,Frederick Vroom Udgivelsesdato1918 OprindelseslandUSA Linkspå IMDb Information med symbolet hentes fra Wikidata. [ redigér på Wikidata ] Little Red Decides er en amerikansk stumfilm fra 1918 af Jack Conway.[1] Medvirkende Barbara Connolly - Little Red Goro Kino - Duck Sing Frederick Vroom - Ferdinand Aliso Jack Curtis - Tom Gilroy Walter Pe...

Yuzhno-Kurilsk Pembagian administratif Rusiaurban-type settlement in Russia Южно-Курильск (ru) Tempat Negara berdaulatRusiaOblast di RusiaOblast SakhalinUrban okrug in RussiaYuzhno-Kurilsky District Ibu kota dariYuzhno-Kurilsky District Kunashir NegaraRusia PendudukTotal7.777  (2018 )GeografiKetinggian30 m SejarahPembuatan1946 Informasi tambahanKode pos694500 Zona waktuWaktu Vladivostok UTC+11 Kode telepon42455 OKTMO ID64756000051 OKATO ID64256551000 Lain-lainSitus webLaman r...