Share to: share facebook share twitter share wa share telegram print page

Logic level

In digital circuits, a logic level is one of a finite number of states that a digital signal can inhabit. Logic levels are usually represented by the voltage difference between the signal and ground, although other standards exist. The range of voltage levels that represent each state depends on the logic family being used. A logic-level shifter can be used to allow compatibility between different circuits.

2-level logic

In binary logic the two levels are logical high and logical low, which generally correspond to binary numbers 1 and 0 respectively or truth values true and false respectively. Signals with one of these two levels can be used in Boolean algebra for digital circuit design or analysis.

Active state

The use of either the higher or the lower voltage level to represent either logic state is arbitrary. The two options are active high (positive logic) and active low (negative logic). Active-high and active-low states can be mixed at will: for example, a read only memory integrated circuit may have a chip-select signal that is active-low, but the data and address bits are conventionally active-high. Occasionally a logic design is simplified by inverting the choice of active level (see De Morgan's laws).

Binary signal representations
Logic level Active-high signal Active-low signal
Logical high 1 0
Logical low 0 1

The name of an active-low signal is historically written with a bar above it to distinguish it from an active-high signal. For example, the name Q, read Q bar or Q not, represents an active-low signal. The conventions commonly used are:

  • a bar above (Q)
  • a leading slash (/Q)
  • a leading exclamation mark (!Q)
  • a lower-case n prefix or suffix (nQ, Qn or Q_n)
  • an upper-case N suffix (Q_N)
  • a trailing # (Q#), or
  • an _B or _L suffix (Q_B or Q_L).[1]

Many control signals in electronics are active-low signals[2] (usually reset lines, chip-select lines and so on). Logic families such as TTL can sink more current than they can source, so fanout and noise immunity increase. It also allows for wired-OR logic if the logic gates are open-collector/open-drain with a pull-up resistor. Examples of this are the I²C bus, CAN bus, and PCI bus.

Some signals have a meaning in both states and notation may indicate such. For example, it is common to have a read/write line designated R/W, indicating that the signal is high in case of a read and low in case of a write.

Logic voltage levels

The two logical states are usually represented by two different voltages, but two different currents are used in some logic signaling, like digital current loop interface and current-mode logic. High and low thresholds are specified for each logic family. When below the low threshold, the signal is low. When above the high threshold, the signal is high. Intermediate levels are undefined, resulting in highly implementation-specific circuit behavior.

It is usual to allow some tolerance in the voltage levels used; for example, 0 to 2 volts might represent logic 0, and 3 to 5 volts logic 1. A voltage of 2 to 3 volts would be invalid and occur only in a fault condition or during a logic-level transition. However, few logic circuits can detect such a condition, and most devices will interpret the signal simply as high or low in an undefined or device-specific manner. Some logic devices incorporate Schmitt trigger inputs, whose behavior is much better defined in the threshold region and have increased resilience to small variations in the input voltage. The problem of the circuit designer is to avoid circumstances that produce intermediate levels, so that the circuit behaves predictably.

Examples of binary logic levels
Technology L voltage H voltage Notes
CMOS[3] [4] 0 V to 30% VDD 70% VDD to VDD VDD = supply voltage
TTL[3] 0 V to 0.8 V 2 V to VCC VCC = 5 V ±5% (7400 commercial family) or ±10% (5400 military family)

Nearly all digital circuits use a consistent logic level for all internal signals. That level, however, varies from one system to another. Interconnecting any two logic families often required special techniques such as additional pull-up resistors or purpose-built interface circuits known as level shifters. A level shifter connects one digital circuit that uses one logic level to another digital circuit that uses another logic level. Often two level shifters are used, one at each system: A line driver converts from internal logic levels to standard interface line levels; a line receiver converts from interface levels to internal voltage levels.

For example, TTL levels are different from those of CMOS. Generally, a TTL output does not rise high enough to be reliably recognized as a logic 1 by a CMOS input, especially if it is only connected to a high-input-impedance CMOS input that does not source significant current. This problem was solved by the invention of the 74HCT family of devices that uses CMOS technology but TTL input logic levels. These devices only work with a 5 V power supply.

Logic supply voltages
Supply voltage Technology Logic families (examples) Reference
5V, 10V, 15V Metal CMOS 4000, 74C [4]
5V TTL 7400, 74S, 74LS, 74ALS, 74F, 74H [5]
5V BiCMOS 74ABT, 74BCT
5V CMOS (TTL I/O) 74HCT, 74AHCT, 74ACT [6]
3.3V, 5V CMOS 74HC, 74AHC, 74AC [5][6]
5V LVCMOS 74LVC, 74AXP [7]
3.3V LVCMOS 74LVC, 74AUP, 74AXC, 74AXP [7]
2.5V LVCMOS 74LVC, 74AUP, 74AUC, 74AXC, 74AXP [7]
1.8V LVCMOS 74LVC, 74AUP, 74AUC, 74AXC, 74AXP [7]
1.5V LVCMOS 74AUP, 74AUC, 74AXC, 74AXP [7]
1.2V LVCMOS 74AUP, 74AUC, 74AXC, 74AXP [7]

More than two levels

3-value logic

Though rare, ternary computers evaluate base 3 three-valued or ternary logic using 3 voltage levels.

3-state logic

In three-state logic, an output device can be in one of three possible states: 0, 1, or Z, with the last meaning high impedance. This is not a voltage or logic level, but means that the output is not controlling the state of the connected circuit.

4-value logic

Four valued logic adds a fourth state, X (don't care), meaning the value of the signal is unimportant and undefined. It means that an input is undefined, or an output signal may be chosen for implementation convenience (see Karnaugh map § Don't cares).

9-level logic

IEEE 1164 defines 9 logic states for use in electronic design automation. The standard includes strong and weakly driven signals, high impedance and unknown and uninitialized states.

Multi-level cells

In solid-state storage devices, a multi-level cell stores data using multiple voltages. Storing n bits in one cell requires the device to reliably distinguish 2n distinct voltage levels.

Line coding

Digital line codes may use more than two states to encode and transmit data more efficiently. Examples include alternate mark inversion and 4B3T from telecommunications, and pulse-amplitude modulation variants used by Ethernet over twisted pair. For instance, 100BASE-TX uses MLT-3 encoding with three differential voltage levels (−1V, 0V, +1V) while 1000BASE-T encodes data using five differential voltage levels (−1V, −0.5V, 0V, +0.5V, +1V).[8] Once received, the line coding is converted back to binary.

See also

References

  1. ^ "Coding Style Guidelines" (PDF). Xilinx. Retrieved 2017-08-17.
  2. ^ Balch, Mark (2003). Complete Digital Design: A Comprehensive Guide To Digital Electronics And Computer System Architecture. McGraw-Hill Professional. p. 430. ISBN 978-0-07-140927-8.
  3. ^ a b "Logic signal voltage levels". All About Circuits. Retrieved 2015-03-29.
  4. ^ a b "HEF4000B Family Specifications" (PDF). Philips Semiconductors. January 1995. Archived from the original (PDF) on March 4, 2016. Parametric limits are guaranteed for VDD of 5V, 10V, and 15V.
  5. ^ a b "AppNote 319 - Comparison of MM74HC to 74LS, 74S and 74ALS Logic" (PDF). Fairchild Semiconductor. June 1983. Archived (PDF) from the original on October 24, 2021.
  6. ^ a b "AHC/AHCT Designer's Guide" (PDF). Texas Instruments. September 1998. Archived (PDF) from the original on April 13, 2018. Technical Comparison of AHC / HC / AC (CMOS I/O) and AHCT / HCT / ACT (TTL I/O) Logic Families
  7. ^ a b c d e f "Little Logic Guide" (PDF). Texas Instruments. 2018. Archived (PDF) from the original on April 3, 2021. Logic Voltage Graph (page4)
  8. ^ Thompson, Geoff (13 November 1997). How 1000BASE-T Works (PDF). IEEE802.3 Plenary. Montreal. Retrieved 2023-11-21.

Read other articles:

Untuk Yeremia 39 dalam Septuaginta, lihat Yeremia 32. Yeremia 39Kitab Yeremia dalam Alkitab Ibrani, MS Sassoon 1053, foto 283-315.KitabKitab YeremiaKategoriNevi'imBagian Alkitab KristenPerjanjian LamaUrutan dalamKitab Kristen24← pasal 38 pasal 40 → Yeremia 39 (disingkat Yer 39; Penomoran Septuaginta: Yeremia 46) adalah bagian dari Kitab Yeremia dalam Alkitab Ibrani dan Perjanjian Lama di Alkitab Kristen. Berisi perkataan nabi Yeremia bin Hilkia, tentang Yehuda dan Yerusalem, yang ...

CDY2B Наявні структури PDBПошук для людей: PDBe RCSB Список кодів PDB 2FW2 Ідентифікатори Символи CDY2B, CDY, chromodomain protein, Y-linked, 2B, chromodomain Y-linked 2B Зовнішні ІД HomoloGene: 36165 GeneCards: CDY2B Онтологія гена Молекулярна функція • transferase activity• acyltransferase activity• каталітична активність• histone acetyltransferase activity• GO...

Руль — термін, який має кілька значень. Ця сторінка значень містить посилання на статті про кожне з них.Якщо ви потрапили сюди за внутрішнім посиланням, будь ласка, поверніться та виправте його так, щоб воно вказувало безпосередньо на потрібну статтю.@ пошук посилань саме...

جنى جهاد معلومات شخصية الميلاد 6 أبريل 2006 (17 سنة)  النبي صالح  مواطنة دولة فلسطين  أقرباء عهد التميمي (ابنة عم)  الحياة العملية المهنة صحافية،  وناشطة حقوق الإنسان  اللغات العربية،  والإنجليزية  تعديل مصدري - تعديل   هذه المقالة يتيمة إذ تصل إليها مقالات...

2010 single by CeeLo Green Forget You redirects here. For the song by Gayle in which its clean version contains this phrase, see ABCDEFU. Fuck YouSingle by CeeLo Greenfrom the album The Lady Killer ReleasedAugust 19, 2010Recorded2010Genre Soul funk pop Length3:41LabelElektraSongwriter(s) CeeLo Green Bruno Mars Philip Lawrence Ari Levine Brody Brown Producer(s)The SmeezingtonsCeeLo Green singles chronology The One (2004) Fuck You (2010) It's OK (2010) Music videos Fuck You on YouTube Forget Yo...

هذه المقالة بحاجة لصندوق معلومات. فضلًا ساعد في تحسين هذه المقالة بإضافة صندوق معلومات مخصص إليها. هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (ديسمبر 2022) خاض الإمبراطور الروماني قسطنطين الأول الحملات الجرمانية...

First siege of the Vikings to the capital of the kingdom of the West Franks Siege of Paris (845 AD)Part of the Viking expansionA Viking siege of Paris, 19th-century portrayalnote: The ramparts here depicted did not exist in 845.Date845, siege began on 28/29 MarchLocationParis, West FranciaResult Viking victory • Viking plunder and occupation of Paris; departed for 7,000 livres (2.6 tonnes) of silver and goldBelligerents Vikings (mainly Danes) West FranciaCommanders and leaders Reginherus (p...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (فبراير 2023)   لمعانٍ أخرى، طالع قصر البنات (توضيح). قصر البناتمعلومات عامةنوع المبنى تحصين — موقع أثري المنطقة الإدارية قفط البلد  مصر معلومات أخرىالإحداثيات 28...

ラグビー女子日本代表ユニオン 日本ラグビーフットボール協会愛称 サクラフィフティーンエンブレム サクラコーチ カナダレズリー・マッケンジー (ヘッドコーチ)主将 長田いろは ファーストカラー セカンドカラー 初国際試合  日本 0-62 フランス  (ウェールズ Aberavon(英語)、1991年4月6日)最大差勝利試合  日本 78-0 香港  (バンコク、2005年6月3日)最大差敗戦

Prime Minister of Malta The HonourableDr.Robert AbelaKUOMOfficial portrait, 202214th Prime Minister of MaltaIncumbentAssumed office 13 January 2020PresidentGeorge VellaDeputyChris FearnePreceded byJoseph Muscat9th Leader of the Labour PartyIncumbentAssumed office 12 January 2020Preceded byJoseph MuscatMember of ParliamentIncumbentAssumed office 24 June 2017 Personal detailsBorn (1977-12-07) 7 December 1977 (age 45)Sliema, MaltaPolitical partyLabourSpouse Lydia Abela Zerafa...

Tentara Penaklukanجيش الفتحWaktu operasi24 Maret 2015[1] – 27 January 2017[butuh rujukan]Kelompok Barisan Al-Nusra[2] Jund al-Aqsa[3] Ajnad al-Sham Ahrar al-Sham Gerakan Nour al-Din al-Zenki[4] Liwa al-Haqq Jaysh al-Sunna[5] (Cabang Hama bergabung dengan Ahrar ash-Sham)[butuh rujukan] Brigade Suqour al-Sham[6] Partai Islam Turkistan[7] Ajnad al-Kavkaz[8] Sham Legion MarkasIdlib, SuriahWilayah o...

Budaya Islandia kaya dan beragam, serta terkenal akan warisan sastranya yang dimulai pada abad ke-12. Kesenian tradisional Islandia lainnya adalah tenun, kerajinan perak, dan ukiran kayu. Daerah Reykjavík memiliki beberapa teater profesional, orkestra simfoni, opera, dan sejumlah besar galeri seni, toko buku, bioskop, dan museum. Ada juga empat ansambel tarian rakyat yang aktif di Islandia. Tingkat melek huruf di Islandia termasuk yang tertinggi di dunia, dan di Islandia kecintaan akan sastr...

2013 video gameArmy of Two: The Devil's CartelDeveloper(s)Visceral GamesEA MontrealPublisher(s)Electronic ArtsDesigner(s)Julien LamoureuxProgrammer(s)Nathan BrierleyArtist(s)Marco BeaucheminRobert ClarkeAudran GuerardWriter(s)Jay TurnerComposer(s)Brian TylerSeriesArmy of TwoEngineFrostbite 2[2]Platform(s)PlayStation 3, Xbox 360ReleaseNA: March 26, 2013[1]AU: March 28, 2013EU: March 29, 2013[1]Genre(s)Third-person shooterMode(s)Single-player, multiplayer Army of Two: Th...

Artikel ini perlu dikembangkan agar dapat memenuhi kriteria sebagai entri Wikipedia.Bantulah untuk mengembangkan artikel ini. Jika tidak dikembangkan, artikel ini akan dihapus. Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Rumah Sakit Universitas Ahmad Dahlan – berita ...

Former Australian television channel This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Ten Guide – news · newspapers · books · scholar · JSTOR (March 2019) (Learn how and when to remove this template message) Television channel Ten GuideCountryAustraliaBroadcast areaSydney, Melbourne, Brisbane, Adelaide, Perth...

Delimukan sulawesi Status konservasi Risiko Rendah Klasifikasi ilmiah Kerajaan: Animalia Filum: Chordata Kelas: Aves Ordo: Columbiformes Famili: Columbidae Genus: Gallicolumba Spesies: G. tristigmata Nama binomial Gallicolumba tristigmata(Bonaparte, 1855) Delimukan sulawesi atau dalam nama ilmiahnya Gallicolumba tristigmata adalah sejenis burung yang terdapat di dalam suku burung Columbidae. Delimukan sulawesi berukuran sedang, dengan panjang sekitar 35 cm. Burung ini memiliki bulu ...

Abiu Klasifikasi ilmiah Kerajaan: Plantae Upakerajaan: Trachaeophyta Divisi: Magnoliophyta Kelas: Magnoliopsida Subkelas: Dilleniidae Ordo: Ericales Famili: Sapotaceae Subfamili: Chrysophylloideae Genus: Pouteria Spesies: P. caimito Nama binomial Pouteria caimitoRadlk. Sinonim[1] Guapeba glazioveana Pierre Krugella hartii Pierre Labatia pedunculata Willd. Labatia tovarensis Engl. Lucuma glazioviana Pierre ex Glaz. Lucuma hartii Hemsl. Lucuma huallagae Standl. ex L.O. Williams Luc...

Regional subdivision of Finland Not to be confused with provinces of Finland, historical provinces of Finland, or Regional State Administrative Agency. Regionsmaakunta (Finnish)landskap (Swedish)CategoryUnitary stateLocationFinlandNumber19Populations30,344 (Åland) — 1,714,741 (Uusimaa)Areas1,553 km2 (Åland) — 92,674 km2 (Lapland)GovernmentRegional councilSubdivisionsMunicipality Politics of Finland State Constitution Declaration of Independence Human rights Law enfor...

Statutory office and the head of the U.S. Department of the Navy Secretary of the NavySeal of the Department of the NavyFlag of the secretaryIncumbentCarlos Del Torosince 9 August 2021Department of the NavyStyleMister SecretaryThe Honorable (formally)AbbreviationSECNAVReports toSecretary of DefenseDeputy Secretary of DefenseAppointerThe President,with Senate advice and consentConstituting instrument10 U.S.C. § 8013Formation18 June 1798; 225 years ago (18 June...

Cross section of Barlow rail as used by Sydney Railway Company Barlow rail was a rolled rail section used on early railways. It has wide flaring feet and was designed to be laid direct on the ballast, without requiring sleepers. It was widely adopted on lightly trafficked railways, but was ultimately unsuccessful because of maintenance difficulties. It resembles the bridge rail used for Brunel's baulk road, but was of tapering form, rather than with the flat base of the heavier bridge rail in...

Kembali kehalaman sebelumnya