Uploaded by sajjan kumar

Logic Implementation-pages-1-2

advertisement
Design Assignment 1
Logic Implementation
Task:
Your task is to program the code for “The Black Box”.
You have been given a template code file into which your code will be
placed.
The Black Box takes 3 digital inputs (I1, I2 and I3) and generates the values
of 2 digital outputs (Q1 and Q2) based on these.
There is an additional input (I4) which makes the black box operate with
the inverse logic to usual, that is – it inverts the values of Q1 and Q2 which
would usually be displayed for a given state of I1, I2 and I3.
There is one additional output which is on when none of the other outputs
(Q1 or Q2) are activated, to show that the unit is operational but outputting
two zero values.
The input and output details are as follows:
Digital Inputs:
I1: Digital Input 1
I2: Digital Input 2
I3: Digital Input 3
I4: Inverse Operation Option
Digital Outputs:
Q1:
Digital Output 1
Q2:
Digital Output 2
Q3:
Q1 and Q2 both zero
The code is to be programmed in FBD (Functional Block Diagram) language
using the template file provided.
Note: The preferred version of software is ZelioSoft 2 v 5.3.1
ELE1301 – Computer Engineering
Black Box Operation Logic
You have been given the following operational parameters for your
Black Box Operation:
I1
0
0
0
0
1
1
1
1
I2
0
0
1
1
0
0
1
1
I3
0
1
0
1
0
1
0
1
Q1
1
1
1
1
1
1
0
1
Q2
0
0
1
0
1
1
1
1
Note that these are the states Q1 and Q2 should indicate while the
inverse operation button is not selected. You will need to create a
new truth table including the additional inputs, outputs and
operation. That is, your truth table will include 4 inputs and 3 outputs.
The logic simplification that you complete should be based solely on
the truth table. If you notice a more efficient way of completing the
task you are welcome to submit that also but please note that the
marking rubric (attached) allocates marks towards the completion of
the truth table and the subsequent logic simplification process.
Download