实验报告-表决器的设计与实现

项目内容

1.设计全加器电路,实现二进制加法中一列的运算(6分)

1. Design a circuit of full-adder, implementing the binary addition on one column of bits within two operands.

提示:

Tips:

在二进制加法每一列的运算中包含了3个输入,a i,b i和carry i,分别代表两个加数中的对应位,和前一列的进位值;该位加运算的输出也有两个,分别是进位结果carry i+1和加的结果sum i。

At each column, there are 3 values that must be added: one bit from each of the two operands and the carry from the previous column. We design these three bits as a i, b i and carry i. And there are 2 results, the sum bit sum i and the carryover to the next column, carry i+1.

要求:

Demands:

该电路的输入输出如下,请设计并实现逻辑电路部分,并通过multisim检验电路是否正确。

Design the circuit with the input part and the output part shown as follows. Check whether the circuit can work with the software multisim. (File containing circuit of the input and output part has been supplied.)

Fig 1 Circuit of input and output part of Full-Adder

2.设计加法器,实现4位二进制加法运算(4分)

Design an adding circuit for adding two 4-bit binary numbers.

提示:

Tips:

在任务1的基础上,通过对全加器的连接,实现1个4位二进制加法运算器。

We can ground this task on taks1, by connecting several full-adders.

该电路的输入用开关模拟,输出用灯泡模拟,如图2所示。设计并实现中间的逻辑电路部分,并使用multisim软件对电路进行仿真,验证电路是否正确。

Switches are used to simulate the input values, and lamps for the result and the circuit of input and output part of this task is as shown in Fig2. The combinational logic designed by you should be added to the circuit supplied. C is the final carry.

Fig 2 Circuit of input and output part of Adder

3.附加:发电机启动控制器(3分)

Additional: Circuit to control the start of the electronic power generators

某工厂有三个车间和一个自备电站,站内有两台发电机X和Y,Y的发电量是X的两倍,如果一个车间开工,只启动X就可以满足要求;两个车间开工,仅启动Y就可以满足要求;若三个车间同时开工,X和Y 都应启动。设计电路控制Y的启停。

A factory has 3 workshops and 1 power station owing two electronic power generators X and Y. The power generation of Y is twice of the X’s. If one of the workshops is on stream, only X needs to be started. And if two of the workshops are on stream, only Y needs to be started. And if all of the workshops start operation, both X and Y are needed to start. Your task is to design the start-control circuit of the electronic power generators.

相关文档
最新文档