Course Design Report on computer composition principle

Source: Internet
Author: User

Experiment 1 verifies 74ls181 operation and Logic Functions

 

Lab Name:

 

Verify 74ls181 operation and Logic Functions

 

Purpose:

 

(1) grasp the working principle of the arithmetic logical unit (ALU;

(2). Familiar with the data transmission path of the simple receiver;

(3). Draw a logical circuit diagram and provide a beautiful and neat wiring diagram;

(4). Verify the combination of the 4-bit operation function generator (74ls181.

 

Lab device:

74ls181, 4-segment led, several switches

 

Tutorial principle:

 

Alu can perform multiple arithmetic and logical operations. The 4-bit ALU-74LS181 can perform 16 arithmetic and logical operations. The menu is as follows:

Method

M = 1 logical operation

M = 0 arithmetic operation

S3 S2 S1 S0

Logical operation

CN = 1 (without carry)

CN = 0 (with a forward position)

0 0 0 0

F =/

F =

F = aplus 1

0 0 0 1

F =/(A + B)

F = (a + B)

F = (a + B) plus 1

0 0 1 0

F = (/a) B

F = a +/B

F = (a +/B) plus 1

0 0 1 1

F = 0

F = negative 1 (complement)

F = 0

0 1 0 0

F =/(AB)

F = A plus a (/B)

F = aplus A/B plus 1

0 1 0 1

F =/B

F = (a + B) plus a/B

F = (a + B) plus a/B plus 1

0 1 1 0

F = A then B

F = A minus B minus 1

F = A minus B

0 1 1 1

F = A/B

F = A (/B) minus 1

F = A (/B)

1 0 0 0

F =/A + B

F = aplus AB

F = aplus AB plus 1

1 0 0 1

F =/(A then B)

F = A and B

F = A plus B plus 1

1 0 1 0

F = B

F = (A +/B) plus AB

F = (A +/B) + AB + 1

1 0 1 1

F = AB

F = AB minus 1

F = AB

1 1 0 0

F = 1

F = A plus

F = aplus a plus 1

1 1 0 1

F = A +/B

F = (A + B) plus

F = (A + B) plus A plus 1

1 1 1 0

F = A + B

F = (A +/B) plus

F = (A +/B) plus A plus 1

1 1 1 1

F =

F = A minus 1

F =

 

Pin

Description

M status Controller

M = 1 logical operation; M = 0 arithmetic operation.

S3 S2 S0 operation Selection Control

S3 S2 S1 S0 determines which arithmetic the circuit executes

A3 A2 A1 A0

Operation count 1, Pin 3 is the highest bit

B3 B2 B1 B0

Operation count 2, Pin 3 is the highest bit

Cn sequence bit carry Input

Cn = 0 has an increment, Cn = 1 has no carry;

The carry signal produced by Cn + 4

Cn + 4 = 0 with an increment, Cn + 4 = 1 with no carry;

F3 F2 F1 F0

F3 F2 F1 F0 calculation result, F3 is the highest bit

 

("/" In the above table indicates reverse lookup)

ALU-74LS181 pin Description: M = 1 logical operation, m = 0 arithmetic operation.


Lab content:

 

The circuit is as follows:

 

 

 

The verification result is as follows:

S0 S1 S2 S3

Data 1

Data 2

Arithmetic Operation (M = 0)

Logical operation

(M = 1)

CN = 1 (without carry)

CN = 0 (with a forward position)

0 0 0 0

AH

5 H

F =

F = B

F = 5

0 0 0 1

Ah

5 H

F = f

F = 0

F = 0

0 0 1 0

Ah

5 H

F =

F = B

F = 5

0 0 1 1

Ah

5 H

F = f

F = 0

F = 0

0 1 0 0

FH

1 H

F = d

F = E

F = E

0 1 0 1

FH

1 H

F = d

F = E

F = E

0 1 1 0

FH

1 H

F = d

F = E

F = E

0 1 1 1

FH

1 H

F = D

F = E

F = E

1 0 0 0

FH

FH

F = E

F = F

F = F

1 0 0 1

FH

FH

F = E

F = F

F = F

1 0 1 0

FH

FH

F = E

F = F

F = F

1 0 1 1

FH

FH

F = E

F = F

F = F

1 1 0 0

5 H

5 H

F =

F = B

F = F

1 1 0 1

5 H

5 H

F =

F = B

F = F

1 1 1 0

5 H

5 H

F = 4

F = 5

F = 5

1 1 1 1

5 H

5 H

F = 4

F = 5

F = 5

 

 

Summary and experiences:

 

Through this experiment, I am familiar with the use of the software of multisim. It turns out that this software is so amazing, and more importantly, the components originally written in books, my understanding of computer computing methods and the composition of hardware has been deepened since I used it. I have a deep understanding of what computers are talking about in books!

This experiment is not very difficult. The key is to deepen understanding of computers!

 

 

 

Experiment 2

 

Lab Name:

Timer

 

Purpose:

(1) further familiar with the application methods of arithmetic logical units (ALU;

(2) be familiar with the data transmission principle of the simple receiver;

(3) Draw a logical circuit diagram and provide a beautiful and neat wiring diagram;

(4) be familiar with the functions and usage of digital components;

(5) be familiar with the creation and use of related sub-circuits.

 

 

Tutorial principle:

In this experiment, the single-bus simulator is simulated. The principle is 2-2. The corresponding circuit 2-3 is shown.

In the circuit diagram, the rightmost layer-5 device simulates the eight-bit data bus. The eight switches connected to 74LS244 generate the required data as K8, and 74LS244 is a three-state gate circuit, it is used to set the values of each register. Remember that the bus has only one input; two 74LS273 components are used as the temporary register DR1 and DR2; and two 74374 parts are used as the General Register GR1 and GR2; A large number of switches are used as control levels or input pulses. A large number of 8-segment display displays data information at the corresponding position. The core is an 8-bit ALU component.

Figure 2-2 single-bus Splitter

 

The experimental circuit is as follows:

 

 

Some level blocks:

74244_BLOCK content:

 

74273_BLOCK content:

 

 

74374_BLOCK content:

 

K8_BLOCK content:

 

8BIT_ALU_BLOCK content:

 

Lab content:

 

Follow the steps shown in Figure 2-3 to build the circuit and complete the following operations.

(1) Describe the working principle of the entire circuit.

(2) describes the functions of 74LS244N and its function in the circuit and the function of the input signal G;

(3) describes the functions of 74LS273N and its functions in the circuit and the functions of the input signal CLK;

(4) describes the functions of 74LS374N and its functions in the circuit, as well as the functions of the input signal CLK and OC;

(5) K8 generates arbitrary data and stores it in the General Register gr1.

(6) K8 generates arbitrary data and stores it in the General Register GR2.

(7) Complete GR1 + GR2 → GR1.

(8) Complete GR1-GR2 → GR1.

(9) GR1 finished GR2 → GR1.

(10) GR1 finished GR2 → GR1.

(11) GR1 finished GR2 → GR1.

(12 )~ GR1 → GR2. ("~" Indicates logical non-operation)

(13 )~ GR2 → GR1.

 

 

Lab answer:

(1)Working principle of the entire circuit: This circuit diagram completes some basic arithmetic and logic operations, and completes the corresponding operations through the input of the control end of 181. The 74LS244 controller inputs the corresponding signal to the bus, and the bus sends the input signal to GR1. by double-clicking a single pulse, the input signal is sent to DR1 and displayed on the LED, double-click the pulse connected to 273 to save the input signal to DR1 temporarily. Repeat the preceding operation to save the other input signal to dr2.

(2)74LS244 is a three-state gate circuit used to set the value of each register. Remember that the bus has only one input. The input signal G is the enable control end, which is effective at a low level.

(3)74LS273 is used as a temporary working register to temporarily Save the signal to be computed. CLR clears the signals stored in the register.

(4)The 74374 component serves as the General registers GR1 and GR2, in which signals are stored and transmitted.

OC is used to control output.

(5)Double-click the single pulse connected to 74LS273 (0) to save the data to GR1 and display it on the corresponding LED.

(6)Same as (5 ).

(7)^(13).

 

Summary and experiences:

Through this experiment, I deeply realized the magic of the computer world. computing is implemented step by step. There are both computing components and storage components, there are also components that control data transmission. A computer network is like a busy production space. Everything is scheduled by the cpu (manually controlled here ), if the computer has completed one operation after another, I think if the control commands are stored, can the computer be moved by itself? In fact, computers do the same thing. In this experiment, I have understood a lot of questions in the past. For example, why do computers have clock pulses? This is to achieve step-by-step computation. If there is no clock pulse, the computer will be messy and so on. The operations in the computer are no longer cold words in books. Now, it is in front of me!

 

 

 

 

Experiment 3: Multiplication

Lab name:

Multiplication

 

Purpose:

Open lab: Design and run a Multiplication Circuit Based on the schematic diagram.

 

Tutorial principle:

 

For example, it is the basic hardware configuration block for achieving the one-digit multiplication of the original code. According to this figure, the one-digit addition method is used to implement multiplication, and the device is designed and operated independently.

The circuit diagram is as follows:

74LS194_BLOCK content:

 

Lab content:

.

 

 

Summary and experiences:

Through this experiment, I deeply realized the implementation method of the multiplier in the calculator. The experiment process is quite tortuous. Since the two experiments at the beginning have a schematic diagram for reference, however, this experiment is completely open, and there is no schematic diagram for reference. At first, I thought I could not complete this experiment. After all, I did not get this line, I also took this experiment with a playful attitude, but the results were unexpected. I did it myself, it seems that the sentence is correct: "You have said 1 million times to yourself," I can't do it ", but most of the time, you still do it! ", Yes. If I have never tried one thing, how can I say that I cannot? Therefore, you must try and try again. If you do not do anything, it doesn't matter!

Reference file:

Http://pan.baidu.com/share/link? Consumer id = 2908487098 & UK = 1831241436

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.