请输入您要查询的百科知识:

 

词条 Write-only memory (engineering)
释义

  1. Hardware uses

  2. Security and encryption

  3. Computability theory

  4. See also

  5. References

  6. Bibliography

In information technology, a write-only memory (WOM) is a memory location or register that can be written to but not read. In addition to its literal meaning, the term may be applied to a situation when the data written by one circuit can be read only by other circuitry. The most common occurrence of the latter situation is when a processor writes data to a write-only register of hardware the processor is controlling. The hardware can read the instruction but the processor cannot. This can lead to problems in producing device drivers for the hardware.

Write-only memories also find applications in security and cryptography as a means of preventing data being intercepted as it is being decrypted.

Hardware uses

In 1972, WOM, an antithesis of read-only memory (ROM), was introduced as an inside practical joke perpetrated by Signetics.[1] However, it was soon recognized that this concept actually describes certain functionalities in microprocessor systems.[2]

The most frequent occurrences of write-only memories are where the memory locations are registers or an integrated circuit being used to control, or pass information to, hardware outside the processor. A central processing unit (CPU) can write to these locations, and thus control the hardware, but cannot read back the information and discover the current state of the hardware. The memory is write-only relative only to the CPU's point of view. Such arrangements are common on small embedded microcontroller systems to save costs and can cause difficulties for authors of device driver software.[3] When the current hardware state is unknown to the CPU it can only put it into a known state by sending a new command, which may result in the state changing.[4] To alleviate this difficulty, the content of the WOM may be mirrored by the CPU in the regular memory.[5] However, this strategy is only reliable if the register is read-only from the perspective of the hardware.

An example of this kind of use concerned access to memory on early PCs. The original PCs used 8086 or 8088 processors which had the ability to address only {{nowrap|1 MB}} of memory. A large part of this was occupied by the BIOS resulting in only {{nowrap|640 kB}} of addressable RAM being available. The memory requirement of many applications soon surpassed this figure. One method of overcoming the limitation was by the use of bank-switched RAM. A number of banks of RAM are provided, but are not permanently assigned to a memory location. In a particular implementation, a special board is added to a computer, which controls the allocation of banks to memory space. The control board has its own memory chip. A computer can write data into this chip, but only the control board itself can read the chip, hence it is dubbed "write only" memory.[6]

Another example concerns some functions carried out by graphics processing units (GPUs). For instance, a GPU might be carrying out shader processing on the contents of graphics memory. It can be faster and more efficient for the GPU to take input for the shader process from read-only locations and write the shader output to different write-only locations without having to copy data between the read and write buffers after each iteration.[7]

An example that is still of contemporary relevance can be found in the 16550 UART, whose derivatives are still in widespread use. To add a data FIFO without breaking compatibility with the 8250 UART's 8 configuration registers, the write-only "FIFO control register" was assigned the same port address as the read-only "interrupt identification register". Writes to that address program the FIFO control register, but there is no way to read it back.

The term is also used to describe the computer view of certain display devices such as the e-ink screens used in e-readers.[8]

Security and encryption

Locking the frame buffer of a GPU to effectively turn it into a write-only memory can be useful in protecting encrypted data. When encrypted data arrives at its destination, it needs to be decrypted before it can be displayed to the user. The existence of unencrypted material in memory where it can be accessed by the CPU or peripheral devices is a potential security weakness. This weakness may be alleviated by carrying out the decryption within the GPU and writing the unencrypted data directly to display memory. Nothing else can read the data while the frame buffer is locked, and when it is unlocked it will be displaying something else.[9] All modern smart cards that feature a chip can also be said to rely on WOM technology, because they are programmed at a factory with certain encryption keys that can not directly be read by a card reader. Instead the keys are indirectly used by algorithms that validate passwords or decrypt certain content.

Computability theory

In computability theory, adding a WOM to some models of computation can increase their computational power.[10]

See also

  • Null device or /dev/null, another "write-only" concept
  • Phonautograph, the earliest device to record sound
  • Write-only (disambiguation), other meanings

References

1. ^{{cite web|url=http://portal.national.com/rap/Story/WOMorigin.html|title=The origin of the WOM — the "Write Only Memory"|publisher=National Semiconductor}}
2. ^{{cite book|title=1976 WESCON technical papers|url=https://books.google.com/books?id=2klGAQAAIAAJ|accessdate=May 20, 2013|date=September 14–17, 1976|publisher=Western Electronic Show and Convention|location=Los Angeles, California|page=17}}
3. ^{{cite web | url = http://www.microsoft.com/whdc/resources/MVP/xtremeMVP_hw.mspx#ETB | title = If every hardware engineer just understood that … write-only registers make debugging almost impossible, our job would be a lot easier | author = Tim Roberts | publisher = Microsoft | date = August 17, 2004 | accessdate = 2011-11-03 |archiveurl=https://web.archive.org/web/20040821065701/https://www.microsoft.com/whdc/resources/MVP/xtremeMVP_hw.mspx#XSLTsection124121120120 |archivedate=August 21, 2004}}
4. ^Lipovski, p. 122
5. ^Jack G. Ganssle, Michael Barr, Embedded Systems Dictionary, {{ISBN|1578201209}}, 2003, [https://books.google.com/books?id=zePGx82d_fwC&pg=PA285&lpg=PA285 "Write-only register"]
6. ^Owen, pages 200–202
7. ^Seiler et al., page 143
8. ^As in the Sharp LCD data sheet {{cite web | url=http://www.arrownac.com/services-tools/design-tools/arrowedge/parts/2010-2/layout/30-sharp_59-60.pdf | title=LS0xxB4Dx01 Ultra Low-Power Memory LCD}}
9. ^Keromytis, page 403
10. ^{{cite journal|last1=Yakaryilmaz|first1=Abuzer|last2=Freivalds|first2=Rusins|last3=Say|first3=A. C. Cem|last4=Agadzanyan|first4=Ruben|title=Quantum computation with devices whose contents are never read|journal=Natural Computing|date=March 2012 |volume=11 |issue=1 |pages=81–94 |doi=10.1007/s11047-011-9270-0 |arxiv=1011.1201}}

Bibliography

  • {{cite book|author1=Markus Jakobsson|author2=Steven Myers|title=Phishing and Countermeasures: Understanding the Increasing Problem of Electronic Identity Theft|url=https://books.google.com/books?id=xxAbEcNlIwwC&pg=PA22|accessdate=20 May 2013|date=5 December 2006|publisher=John Wiley & Sons|isbn=978-0-470-08609-4}}
  • {{cite book|author=G. Jack Lipovski|title=Single and Multi-Chip Microcontroller Interfacing: For the Motorola 6812|url=https://books.google.com/books?id=iK2sEKDctSEC&pg=PA122|accessdate=May 20, 2013|date=April 27, 1999|publisher=Academic Press|isbn=978-0-08-051726-1}}
  • {{cite journal|title=Breaking the Memory Barrier|last=Owen|first=Bruce|volume=4|number=7|date=Apr 2, 1985|journal=PC Magazine|pages=193–202|url=https://books.google.com/books?id=w1aA2lOwdNIC&pg=PA193}}.
  • Christof Seiler, Philippe Büchler, Lutz-Peter Nolte, Mauricio Reyes, Rasmus Paulsen, "Hierarchical Markov random fields applied to model soft tissue deformations on graphics hardware", Recent Advances in the 3D Physiological Human, part 1, pp. 133–148, 2009 {{ISBN|1848825641}} {{doi|10.1007/978-1-84882-565-9_9}}.

1 : Computer memory

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/16 3:06:10