topic 1 Flashcards
(89 cards)
what is a CPU?
Our CPU (or silicon chip or simply processor) is actually an integrated circuit (IC), which consists of millions of transistors interconnected by microscopic wires on a footprint of around 1cm^2 (transistors are the building blocks of electronic circuits)
how is an intergrated circuit produced?
the designed IC will be etched onto a wafer of silicone. in order to counter errors in the production process, 100s of copies of the same IC are etched with each one called a die. The dies are tests and each error free die is cut and mounted in a package with the dies pads connected to package pins. this results in the silicone chip being encased in a package with the external contacts of the IC connected to the pins in the package to enable direct contact with other components within the PC
what is the multicore processors?
multiple independent cores (CPUs) are manufactured on the same IC but these cores share things like main memory, due to technological limitations only a few are used today. Future technological advances will lead to multi-core processors with hundreds of cores becoming many-core processors. In order to utilize this programmer must think parallel rather than sequentially
what does moores law state?
Moore’s law states that the transistor capacity of an IC doubles every 18-24 months. - rough description of a long-term trend,
what are the flaws of mooores law?
there is a fundamental limit on the number of transistors as when it reaches the atomic scale they wont be able to decrease further. Power dissipation is an issue due to the fact power is proportional to the number of transistors switched multiplied by the frequency of the switching ie the clock speed of the CPU. Therefore, as the number of transistors increase so does the power usage therefore power dissipation.
why might multiple core processors solve the issue of power dissipitation?
Power dissipation is an issue due to the fact power is proportional to the number of transistors switched multiplied by the frequency of the switching ie the clock speed of the CPU. Therefore, as the number of transistors increase so does the power usage therefore power dissipation. multi-core processors solve this as instead of using one high clock speed CPU they can use multiple lower clock speeds which work together and give better computational power
what are the three fundamental logic gates?
NOT, OR, AND
what is a logic gate?
small circuits made up of transistors – can be used to store Boolean values such as 1 or 0 interpreted by a low or high voltage therefore creating a Boolean output
how many transistors does it take to build an NOT gate?
2 transistors
how many transistors does it take to build an AND gate?
6 transistors
how many transistors does it take to build an OR gate?
6 transitors
how many transistors does it take to build a NAND gate?
2 transistors
why might the NAND gate be considered the fundamental logic gate?
this is due to the fact that a NAND gate can be used to create all the other logic gates .
how can a NAND gate create a NOT gate?
the NAND gate can create a NOT gate by duplicating the inputs
how can a NAND gate create an OR gate?
A NAND gate can form an OR gate by a NAND gate where the two inputs are prefixed by a NOT gate.
how can a NAND gate create an AND gate?
A NAND gate can form an AND gate by having a NAND gate followed by a NOT gate
is it true that for any given function we can compute the function using just NOT AND and OR gates?
yes
what is binary system?
binary uses power of 2 to signal its numbers with 2^0 at the furthest to the right and in increasing maginitude the further left. for example 001 is equal to 1 and 101 is equal to 5 as 2^2 +2^0
what is the purpose of a half adder?
the half adder takes inputs X and Y and calculates the boolean sum of the two values. The Boolean sum of a collection of inputs is 1 if, and only if, an odd number of the inputs are 1, and also the resulting carry bit c(x, y), which is 1 if, and only if, both x and y are 1
what is the purpose of a full adder?
a full adder takes the inputs X Y and C and computes the boolean sum together with a carry bit D which is 1 only of atleast two of the inputs are 1
what is a full adder made of?
two half adders and an OR gate
what is the arithemtic logic unit?
it is a part of the CPU which performs all the arithmetic and logical operations on data.
what is the datapath?
The datapath performs all the data processing operations (it is the ‘brawn’ of the processor) and includes the arithmetic logic unit. The datapath includes (a limited number of) memory locations called registers
what is the control?
The control tells the datapath, memory and input/output (I/O) de-vices what to do (it is the ‘brains’ of the processor). Essentially, the control is the conduit( the way of passing information) between the datapath and the main memory.