Template:Infobox CPU/doc: Difference between revisions

Content deleted Content added
layout
Examples: And something that's *not* a PC chip.
 
(41 intermediate revisions by 16 users not shown)
Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
This template is for CPUs. For generic hardware components, see [[Template:Infobox computer hardware]].
 
This template is for CPUs, SoCs and SiPs. For generic hardware components, see [[Template:Infobox computer hardware]].
{{Parameter names example|name|image|image_size|alt|caption|produced-end|produced-start|soldby|designfirm|manuf1|manuf2|manuf3|manuf4|manuf5|slowest|slow-unit|fastest|fast-unit|fsb-slowest|fsb-slow-unit|fsb-fastest|fsb-fast-unit|hypertransport-slowest|hypertransport-slow-unit|hypertransport-fastest|hypertransport-fast-unit|qpi-slowest|qpi-slow-unit|qpi-fastest|qpi-fast-unit|dmi-slowest|dmi-slow-unit|dmi-fastest|dmi-fast-unit|size-from|size-to|arch|microarch|cpuid|code|numcores|core1|core2|core3|core4|core5|core6|core7|core8|core9|l1cache|l2cache|l3cache|l4cache|model|created|transistors|llcache|arch1|instructions|extensions|extensions1|extensions2|extensions3|socket|sock1|sock2|sock3|sock4|sock5|sock6|sock7|sock8|sock9|predecessor|successor|gpu|application|co-processor|pcode1|pcode2|pcode3|pcode4|pcode5|pcode6|pcode7|pcode8|pcode9|pack1|pack2|pack3|pack4|pack5|brand1|brand2|brand3|brand4|brand5|brand6|brand7|brand8|brand9|variant}}
{{Missing Information|<br>''one good example'' of this infobox would be nice here. But as long as three [[Template talk:Infobox CPU#Architecture|architecture]]-parameters and the four [[Template talk:Infobox CPU#Names (Products, models, variants)|name]]-parameters are not clearly defined it is difficult|date=October 2019}}
<pre style="overflow: auto;">
 
{{Parameter names example|name|hide_subheadings|image|image_size|alt|caption
|launching|produced-start|produced-end|soldby|designfirm|manuf1|manuf2|manuf3|manuf4|manuf5|manuf6|manuf7|manuf8|manuf9|manuf10
|application|cpuid|code
|slowest|slow-unit|fastest|fast-unit
|fsb-slowest|fsb-slow-unit|fsb-fastest|fsb-fast-unit
|hypertransport-slowest|hypertransport-slow-unit|hypertransport-fastest|hypertransport-fast-unit
|qpi-slowest|qpi-slow-unit|qpi-fastest|qpi-fast-unit
|dmi-slowest|dmi-slow-unit|dmi-fastest|dmi-fast-unit
|data-width|address-width|virtual-width
|l1cache|l2cache|l3cache|l4cache||llcache
|size-from|size-to|microarch|arch|instructions|extensions|numinstructions
|transistors|numcores|amountmemory|gpu|co-processor
|pack1|pack2|pack3|pack4|pack5
|sock1|sock2|sock3|sock4|sock5|sock6|sock7|sock8|sock9
|core1|core2|core3|core4|core5|core6|core7|core8|core9
|pcode1|pcode2|pcode3|pcode4|pcode5|pcode6|pcode7|pcode8|pcode9
|model1|model2|model3|model4|model5|model6|model7|model8|model9
|brand1|brand2|brand3|brand4|brand5|brand6|brand7|brand8|brand9
|variant|predecessor|successor|support status}}
<syntaxhighlight lang="wikitext" style="overflow: auto;">
{{Infobox CPU
| name =
| image hide_subheadings =
| image_size image =
| alt image_size =
| caption alt =
| caption =
<!----------------- General Info ----------------->
| launching =
| produced-start =
| produced-end =
| soldby =
| designfirm =
| manuf1 = <!-- manuf1..10 = -->
| slowest cpuid =
| fastest code =
<!----------------- Performance ------------------>
| slow-unit =
| fast-unit slowest =
| fsb-slowest fastest =
| fsbslow-fastest unit =
| fsb-slowfast-unit =
| fsb-fast-unit slowest =
| hypertransportfsb-slowest fastest =
| hypertransportfsb-fastest slow-unit =
| fsb-fast-unit =
| hypertransport-slowest =
| hypertransport-fastest =
| hypertransport-slow-unit =
| hypertransport-fast-unit =
| qpi-slowest =
| qpi-fastest =
| qpi-slow-unit =
| qpi-fast-unit =
| dmi-slowest =
| dmi-fastest =
| dmi-slow-unit =
| dmi-fast-unit =
| sizedata-from width =
| sizeaddress-to width =
| arch virtual-width =
<!-------------------- Cache --------------------->
| microarch =
| cpuid l1cache =
| code l2cache =
| numcores l3cache =
| core1 l4cache =
| l1cache llcache =
<!------- Architecture and classification -------->
| l2cache =
| l3cache application =
| l4cache size-from =
| llcache size-to =
| instructions microarch =
| extensions arch =
| data-width instructions =
| address-width extensions =
| virtual-width numinstructions =
<!----------- Physical specifications ------------>
| sock1 =
| predecessor transistors =
| successor numcores =
| gpu amountmemory =
| application gpu =
| co-processor =
| pack1 = <!-- pack1..9 = -->
| sock1 = <!-- sock1..9 -->
| pcode1 =
<!--------- Products, models, variants ----------->
| brand1 =
| core1 = <!-- core1..9 -->
| variant =
| pcode1 = <!-- pcode1..9 -->
| model1 = <!-- model1..9 -->
| brand1 = <!-- brand1..9 -->
| variant =
<!------------------ History ------------------->
| predecessor =
| successor =
<!------------------ Support status ------------------->
| support status =
}}
</syntaxhighlight>
</pre>
{{clear}}
 
== Usage ==
 
<presyntaxhighlight lang="wikitext" style="overflow: auto;">
{{Infobox CPU
| name = <!-- Device Name -->
| hide_subheadings = <!-- Any value here will hide the subheadings -->
| image = An image to show in the infobox
| image_sizeimage = Size of the image (defaults= <!-- An image to 200px)show in the infobox -->
| caption image_size = A<!-- captionSize forof the image (defaults to 200px) -->
| produced-startalt = When<!-- productionMouse beganover text for the image -->
| produced-endcaption = When<!-- productionA endedcaption for the image -->
<!----------------- General Info ------------------------------------------------------------------------------------->
| slowest = Lowest maximum CPU clock
| launching = <!-- Use if a CPU microarchitecture/series has not yet launched but its official release date is known -->
| fastest = Highest maximum CPU clock
| produced-start = <!-- When production began / Launch date →see talkpage section #Dates -->
| slow-unit = Unit for slow speed. Default: GHz
| produced-end = <!-- When production ended / Discontinued date →see talkpage section #Dates -->
| fast-unit = Unit for fast speed. Default: GHz
| soldby = <!-- Often, but not always, the same as the designfirm and/or manuf1 -->
| fsb-slowest = Slowest FSB speed
| fsb-fastestdesignfirm = Fastest<!-- FSBOften, speedbut not always, the same as manuf1 and/or soldby -->
| fsb-slow-unitmanuf1 = Unit for slow speed = <!-- (1..10) Default:Common MHzmanufacturers of the device -->
| fsb-fast-unitcpuid = Unit<!-- forCPUID fastor speed.PVR Default:value MHz-->
| code = <!-- numerical identifier for the CPU (product code) -->
| hypertransport-slowest = Slowest HyperTransport speed
<!----------------- Performance -------------------------------------------------------------------------------------->
| hypertransport-fastest = Fastest HyperTransport speed
| slowest = <!-- Lowest maximum CPU clock -->
| hypertransport-slow-unit = Unit for slow speed. Default: GT/s
| fastest = <!-- Highest maximum CPU clock -->
| hypertransport-fast-unit = Unit for fast speed. Default: GT/s
| qpislow-slowestunit = Slowest<!-- QPIUnit (QuickPathfor Interconnect)slow speed. Default: GHz -->
| qpifast-fastestunit = Fastest<!-- QPIUnit for fast speed. Default: GHz -->
| qpifsb-slow-unitslowest = Unit<!-- forSlowest slowFSB speed. Default: GT/s-->
| qpifsb-fast-unitfastest = Unit<!-- forFastest fastFSB speed. Default: GT/s-->
| dmifsb-slowestslow-unit = <!-- =Unit Slowestfor DMIslow (Directspeed. MediaDefault: Interface)MHz speed-->
| dmifsb-fastestfast-unit = <!-- =Unit Fastestfor DMIfast speed. Default: MHz -->
| dmihypertransport-slow-unit slowest = Unit<!-- forSlowest slowHyperTransport speed. Default: GT/s-->
| dmihypertransport-fast-unit fastest = Unit<!-- forFastest fastHyperTransport speed. Default: GT/s-->
| hypertransport-slow-unit = <!-- Unit for slow speed. Default: GT/s -->
| size-from = Fabrication size
| hypertransport-fast-unit = <!-- Unit for fast speed. Default: GT/s -->
| size-to = Another fabrication size
| soldby qpi-slowest = Often, but not always, the<!-- sameSlowest asQPI the(QuickPath designfirmInterconnect) and/orspeed manuf1-->
| designfirm qpi-fastest = Often, but not always, the same<!-- asFastest manuf1QPI and/orspeed soldby-->
| manuf1qpi-slow-unit = <!-- Unit for slow speed. Default: =GT/s Common manufacturers of the device (1-5)->
| core1qpi-fast-unit = <!-- Unit for fast speed. Default: GT/s = Names of the cores (1-9)->
| sock1 dmi-slowest = Names<!-- ofSlowest theDMI sockets(Direct thatMedia theInterface) CPUspeed was made for (1-9)->
| pack1 dmi-fastest = Names<!-- ofFastest CPUDMI packagesspeed (1-5)->
| brand1dmi-slow-unit = <!-- Unit for slow speed. Default: =GT/s Marketing names of the CPU (1-9)->
| dmi-fast-unit = <!-- Unit for fast speed. Default: GT/s -->
| arch = Instruction set architecture that the CPU implements
| microarch data-width = Microarchitecture<!-- Data bus width ofin thebits CPU-->
| instructions address-width = Instruction<!-- Address bus width in bits Sets-->
| extensionsvirtual-width = <!-- Virtual =address bus Extensionswidth toin thebits instructions-->
<!-------------------- Cache ----------------------------------------------------------------------------------------->
| data-width = Data bus width in bits
| address-widthl1cache = Address<!-- busLevel width1 incache bitssize -->
| virtual-widthl2cache = Virtual<!-- addressLevel bus2 widthcache insize bits-->
| cpuidl3cache = <!-- =Level CPUID3 orcache PVRsize value-->
| code l4cache = numerical identifier<!-- forLevel the4 CPUcache (productsize code)-->
| numcoresllcache = Number<!-- ofLast coresLevel (2cache forsize dual-core)->
<!------- Architecture and classification ---------------------------------------------------------------------------->
| l1cache = Level 1 cache size
| l2cacheapplication = <!-- Typical application =(Embedded, LevelMobile, 2Desktop, cacheServer) size-->
| l3cache size-from = Level<!-- 3First cachefabrication size -->
| l4cachesize-to = Level<!-- 4Second cachefabrication size -->
| llcachemicroarch = <!-- =Microarchitecture Lastof Levelthe cacheCPU size-->
| arch = <!-- Instruction set architecture (ISA) that the CPU implements →see talkpage section #Architecture -->
| gpu = Integrated GPU
| instructions = <!-- Instruction sets →see talkpage section #Architecture -->
| application = Typical application (Embedded, Mobile, Desktop, Server)
| predecessorextensions = What<!-- Extensions to CPUthe cameinstructions before-->
| successornuminstructions = <!-- Number of instructions = What CPU came after-->
<!----------- Physical specifications -------------------------------------------------------------------------------->
| co-processor = A [[co-processor]](s) used together
| variant transistors = Variants<!-- inNumber theof sametransistors, familytransistor andcount generation-->
| pcode1numcores = <!-- =Number of cores (2 Productfor codedual-core) names-->
| amountmemory = <!-- Amount of system RAM for SoC or SiP -->
| gpu = <!-- Integrated GPU -->
| co-processor = <!-- A [[co-processor]](s) used together -->
| pack1 = <!-- (1..5) Names of CPU packages -->
| sock1 = <!-- (1..9) Names of the sockets that the CPU was made for -->
<!--------- Products, models, variants ------------------------------------------------------------------------------->
| core1 = <!-- (1..9) Names of the cores →see talkpage section "Names (Products, models, variants)" -->
| pcode1 = <!-- (1..9) Product code names →see talkpage section "Names (Products, models, variants)" -->
| model1 = <!-- (1..9) Model names →see talkpage section "Names (Products, models, variants)" -->
| brand1 = <!-- (1..9) Marketing names of the CPU -->
| variant = <!-- Variants in the same family and generation →see talkpage section "Names (Products, models, variants)" -->
<!------------------ History --------------------------------------------------------------------------------------->
| predecessor = <!-- What CPU came before -->
| successor = <!-- What CPU came after -->
<!------------------ Support status --------------------------------------------------------------------------------->
| support status = <!-- Current support status -->
}}
</syntaxhighlight>
</pre>
 
* All fields, except <code>name</code> are optional
* The following '''parameters''' are deprecated:
:{|
| <code>created</code> || →better: <code>produced-start</code>, <code>produced-end</code>
|-
| <code>clock</code> || →better: <code>slowest</code>, <code>fastest</code>
|-
| <code>fsb</code> || →better: <code>fsb-slowest</code>, <code>fsb-fastest</code>
|-
| <code>cores</code>, <code>cores1</code> || →better: <code>numcores</code>
|-
| <code>socket</code> || →better: <code>sock1</code>...<code>sock9</code>
|}
 
* <code>manuf</code>, <code>core</code>, <code>sock</code>, <code>pack</code>, <code>arch</code>, and <code>microarch</code> are AutoLinks, so you can use plain text or a link for them.
* The numbered attributes mean that there is allowance for multiples.
* See the talk page for some examples which show the full usage of this infobox in a few combinations.
 
== Examples ==
* [[Haswell (microarchitecture)]]
* [[Pentium III]]
* [[Intel 80386]]
* [[Athlon#Athlon_Classic_(1999)|AMD Athlon]]
* [[Zen_(first_generation)|AMD Zen (1st Gen)]]
* [[IBM Telum]]
 
== See also ==
* {{tl|Infobox CPU architecture}}
* {{tl|Infobox CPU series}}
* {{tl|Infobox computer hardware}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Computer hardware infobox templates|Cpu]]