From dbc632f784978a92103e403ffe5e48c552efb1e2 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Sat, 10 Dec 2022 12:46:11 +0000 Subject: [PATCH] Directory restructuring --- Electronics_and_Hardware/Analogue_and_digital.md | 2 +- .../{Image_and_colour_encoding.md => Binary_colour_encoding.md} | 0 Electronics_and_Hardware/Binary/Binary_encoding.md | 2 +- .../Binary/{Text_encoding.md => Binary_encoding_of_text.md} | 0 .../Logic_gates/Creating_memory_with_NAND.md | 2 +- Electronics_and_Hardware/Logic_gates/Logic_gates.md | 2 +- Electronics_and_Hardware/Motherboard.md | 2 +- .../Physics_of_electricity/Electromagnetism.md | 2 +- Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md | 2 +- _meta/Resources.md | 2 ++ 10 files changed, 9 insertions(+), 7 deletions(-) rename Electronics_and_Hardware/Binary/{Image_and_colour_encoding.md => Binary_colour_encoding.md} (100%) rename Electronics_and_Hardware/Binary/{Text_encoding.md => Binary_encoding_of_text.md} (100%) diff --git a/Electronics_and_Hardware/Analogue_and_digital.md b/Electronics_and_Hardware/Analogue_and_digital.md index ab42dc2..41fec29 100644 --- a/Electronics_and_Hardware/Analogue_and_digital.md +++ b/Electronics_and_Hardware/Analogue_and_digital.md @@ -45,6 +45,6 @@ A digital system represents data as a sequence of symbols where each symbol is o Computers only use two symbols for each value: 0 and 1. -Although a digital system could use more than two symbols, adding more would [increase the complexity](/Hardware/Binary/Why_computers_use_binary.md#from-circuits-to-programs) and cost of the system. A set of only two symbols allows for simplified hardware and improved reliability. +Although a digital system could use more than two symbols, adding more would [increase the complexity](/Electronics_and_Hardware/Binary/Why_computers_use_binary.md#from-circuits-to-programs) and cost of the system. A set of only two symbols allows for simplified hardware and improved reliability. All data within a computer from images to sounds are sequences of 0s and 1s. In practice, the sequences are stored in various ways. On a CD, the binary digits are stored as bumps (0) or flat spaces (1). On a flash drive, the 1s and 0s are electrical charges etc. diff --git a/Electronics_and_Hardware/Binary/Image_and_colour_encoding.md b/Electronics_and_Hardware/Binary/Binary_colour_encoding.md similarity index 100% rename from Electronics_and_Hardware/Binary/Image_and_colour_encoding.md rename to Electronics_and_Hardware/Binary/Binary_colour_encoding.md diff --git a/Electronics_and_Hardware/Binary/Binary_encoding.md b/Electronics_and_Hardware/Binary/Binary_encoding.md index 7c8ee08..0cdfa85 100644 --- a/Electronics_and_Hardware/Binary/Binary_encoding.md +++ b/Electronics_and_Hardware/Binary/Binary_encoding.md @@ -2,7 +2,7 @@ title: Binary encoding categories: - Computer Architecture -tags: [binary] +tags: [binary, binary-encoding] --- # Binary encoding diff --git a/Electronics_and_Hardware/Binary/Text_encoding.md b/Electronics_and_Hardware/Binary/Binary_encoding_of_text.md similarity index 100% rename from Electronics_and_Hardware/Binary/Text_encoding.md rename to Electronics_and_Hardware/Binary/Binary_encoding_of_text.md diff --git a/Electronics_and_Hardware/Logic_gates/Creating_memory_with_NAND.md b/Electronics_and_Hardware/Logic_gates/Creating_memory_with_NAND.md index f6b906d..d0f64ea 100644 --- a/Electronics_and_Hardware/Logic_gates/Creating_memory_with_NAND.md +++ b/Electronics_and_Hardware/Logic_gates/Creating_memory_with_NAND.md @@ -9,7 +9,7 @@ tags: [logic-gates, binary, memory] # Creating memory with NAND gates -The [logic circuit](/Hardware/Logic_Gates/Logic_circuits.md) below demonstrates how memory can be created using [NAND](/Hardware/Logic_Gates/Nand_gate.md) gates. A single bit is stored in memory. +The [logic circuit](/Electronics_and_Hardware/Digital_circuits/Digital_circuits.md) below demonstrates how memory can be created using [NAND](/Electronics_and_Hardware/Logic_gates/Logic_gates.md#nand-gate) gates. A single bit is stored in memory. ![](/img/nand_latch_logic_circuit.png) Interactive version of circuit: diff --git a/Electronics_and_Hardware/Logic_gates/Logic_gates.md b/Electronics_and_Hardware/Logic_gates/Logic_gates.md index 3eb9b49..f88db6a 100644 --- a/Electronics_and_Hardware/Logic_gates/Logic_gates.md +++ b/Electronics_and_Hardware/Logic_gates/Logic_gates.md @@ -11,7 +11,7 @@ tags: [logic-gates, binary] > [A logic gate consists in] three connections where there may or may not be some electricity. Two of those connections are places where electricity may be put into the device, and the third connection is a place where electricity may come out of the device. (Scott, 2009 p.21) Logic gates are the basic building blocks of digital computing. **A logic gate is an electrical circuit that has one or more than one input and only one output.** The input controls the output and the logic determining which types of input (on/off) lead to specific outputs (on/off) is identical to the truth-conditions of the [Boolean connectives](/Logic/Truth-functional_connectives.md) specifiable in terms of [truth-tables](/Logic/Truth-tables.md). -Physically, what 'travels through' the gates is electrical current and what constitutes the 'gate' is a [transistor](/Electronics/Digital_Circuits/Transistors.md) responding to the current. At the next level of abstraction it is bits that go into the gate and bits which come out: binary information that may be either 1 or 0. +Physically, what 'travels through' the gates is electrical current and what constitutes the 'gate' is a [transistor](/Electronics_and_Hardware/Digital_circuits/Transistors.md) responding to the current. At the next level of abstraction it is bits that go into the gate and bits which come out: binary information that may be either 1 or 0. ## NOT gate diff --git a/Electronics_and_Hardware/Motherboard.md b/Electronics_and_Hardware/Motherboard.md index afae726..c980d50 100644 --- a/Electronics_and_Hardware/Motherboard.md +++ b/Electronics_and_Hardware/Motherboard.md @@ -9,6 +9,6 @@ tags: [motherboard] -The motherboard is the foundation of a computer. It allocates power and allows communication to and between the [CPU](./../Computer_Architecture/CPU/Von_Neumann_architecture.md), [RAM](../Hardware/Memory/Basics.md), [harddisk](/Operating_Systems/Disks.md) and all other hardware components. +The motherboard is the foundation of a computer. It allocates power and allows communication to and between the [CPU](/Computer_Architecture/CPU/Von_Neumann_architecture.md), [RAM](/Computer_Architecture/Memory/Memory.md), [harddisk](/Operating_Systems/Disks/What_are_disks.md) and all other hardware components. It is a printed circuit board and is always the largest board within the computer chassis. diff --git a/Electronics_and_Hardware/Physics_of_electricity/Electromagnetism.md b/Electronics_and_Hardware/Physics_of_electricity/Electromagnetism.md index 4b3e44b..7a2abe0 100644 --- a/Electronics_and_Hardware/Physics_of_electricity/Electromagnetism.md +++ b/Electronics_and_Hardware/Physics_of_electricity/Electromagnetism.md @@ -18,7 +18,7 @@ We know that charge is an innate property of all charged fundamental particles. ## Magnetism -> Magnetism is a physical property produced by the _motion_ of electric charge, which of course, is the same thing as [electric current](/Electronics/Current.md) +> Magnetism is a physical property produced by the _motion_ of electric charge, which of course, is the same thing as [electric current](/Electronics_and_Hardware/Analogue_circuits/Current.md) A **magnet** is a material or object that produces a magnetic field. This field is invisible but visible by its effects: pulling on other magnetic materials such as iron, steel, nickel, cobalt etc and attracting or repelling other magnets. diff --git a/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md b/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md index b5e4c16..cf156dd 100644 --- a/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md +++ b/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md @@ -7,7 +7,7 @@ tags: [physics, electricity, electrical-resistance] # Ohm's Law -The relationship between [current](/Electronics/Current.md), [voltage](/Electronics/Voltage.md), and [resistance](/Electronics/Resistance.md) is defined by Ohm's Law: +The relationship between [current](/Electronics_and_Hardware/Analogue_circuits/Current.md), [voltage](/Electronics_and_Hardware/Analogue_circuits/Voltage.md), and [resistance](/Electronics_and_Hardware/Analogue_circuits/Resistance.md) is defined by Ohm's Law: > The current flowing from one point to another is equal to the voltage accross these points divided by the resistance between them. diff --git a/_meta/Resources.md b/_meta/Resources.md index f5cdcde..73e765c 100644 --- a/_meta/Resources.md +++ b/_meta/Resources.md @@ -44,6 +44,8 @@ _Computer Systems: A Programmer's Perspective Third Ed._ (2016) Bryant and O'Hal [How do transistors work, anyway?](https://lcamtuf.substack.com/p/how-do-transistors-work-anyway) +[NAND latch](http://hyperphysics.phy-astr.gsu.edu/hbase/Electronic/nandlatch.html) + ## Linux _How Linux Works: What Every Superuser Should Know_ (2021) Brian Ward