Quiz 1 with correct answers
.docx
keyboard_arrow_up
School
Defense Acquisition University *
*We aren’t endorsed by this school
Course
EET231
Subject
Computer Science
Date
Jan 9, 2024
Type
docx
Pages
9
Uploaded by charleshaskett
The address for the point on the I/O module would be:
O:2/8
The Boolean equation for the logic represented in the ladder diagram can be expressed as:
Y = (AB) + (ACD) + (DE) + (BCE)
The bit status condition of the input device shown connected to address I:2/8 must be ___ to turn on output address O:3/6.
0
The address O:3/7 would be found on terminal ____ of an output module residing in slot ___ of the PLC chassis.
7, 3
The highlighted rungs in the program rung shown indicate:
the instruction is true.
A normally open limit switch is wired to an input module, and programmed using XIO instruction. The instruction will be true when:
the limit switch is open
Rung 2 will be True whenever:
the pressure switch is closed.
the selector switch is closed and rung 1 is True.
The instruction at address B3:1/3 is associated with:
an internal relay coil.
If the XIC instruction at address I:1/3 is True:
output O:2/0 will also be True.
When LS1 is actuated and LS2 is not:
pilot light PL3 (O:2/7) is ON.
Which one of the following timer parameters represents the value that increments as the timer is timing?
Accumulated time Which one of the following timer parameters determines the accuracy of the timer?
Time base.
For the timer program shown, output B is switched ON when:
input A is closed. The on-delay timer (TON) starts timing when the timer's:
ladder rung switches from false to true. The off-delay timer (TOF) starts timing when the timer's:
ladder rung switches from true to false. For the programmed timer circuit shown, the pilot light should come on:
as soon as the switch is closed. for 15 seconds after the switch is opened. For the programmed timer circuit shown, assume the switch is closed for 5 seconds and then opened. After 12 seconds have elapsed motor(s) ____ will still be operating.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Define Address select logic.
arrow_forward
Derive the Boolean logic expression for input x6 of the Encoder that will control the common bus in the Basic Computer.
X1
S2
X2
Multiplexer
Encoder
bus select
inputs
So
X6
X7
X6 =
RTO
arrow_forward
Each entry in the interrupt vector table stands for a unique set of information.
arrow_forward
1- Write the VHDL code for the circuit shown in figure2. The circuit acts as
support circuit for the control unit. It takes 5 bit from a 7 bit bus and start
counting down at the rising Bus
edge of each clock cycle in
case the "Decr" signal is active.
A new data loaded to the
(4.0)
n shift count
5-bit down counter
CLK
Decr
circuit each time the "Ld"
signal activated. The output
"n" is equal to "1" in case the
count value reaches "00000".
Explain why the control unit
Ld
n 04.00
n-0
needs
such
circuit.
Do
functional simulation for your design.
Figure 2
arrow_forward
1. Design a 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write)
Unit 3 (A/L) - Design a 4-bit ALU using Unit 1 and Unit 2. The control signal A/L willindicate which operation the ALU will perform (when the control signal is 0 performArithmetic, otherwise if the signal is 1 then perform Logic).Unit 4 (R/W)- Design three 4-bit parallel registers to hold A, B, and C where C keepsthe output of the ALU. The registers have a R/W control signal that indicates that theyare being written to or read from.
arrow_forward
1. Design a 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write)
The details of each control signal (Unit) are as follows.Unit 1 (A/S) - Design a 4-bit adder/subtractor that accepts two 4-bits numbers, A andB, and either add them up (A + B) or subtract them (A – B) depending on a controlsignal A/S (when the control signal is 0 perform ADD, otherwise if the signal is 1 thenperform SUB). The result will be stored in C.Unit 2 (A/O) - Design a 4-bit AND/OR unit that accepts two 4-bits numbers, A and B,and either AND them or OR them depending on a control signal A/O (when the controlsignal is 0 perform AND, otherwise if the signal is 1 then perform OR – bitwise logicaloperation). The result will be stored in C.Unit 3 (A/L) - Design a 4-bit ALU using Unit…
arrow_forward
In the interrupt vector table, each entry represents a different collection of information.
arrow_forward
1. Design a SINGLE 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write)
The details of each control signal (Unit) are as follows.
Unit 1 (A/S) - Design a 4-bit adder/subtractor that accepts two 4-bits numbers, A andB, and either add them up (A + B) or subtract them (A – B) depending on a controlsignal A/S (when the control signal is 0 perform ADD, otherwise if the signal is 1 thenperform SUB). The result will be stored in C.
Unit 2 (A/O) - Design a 4-bit AND/OR unit that accepts two 4-bits numbers, A and B,and either AND them or OR them depending on a control signal A/O (when the controlsignal is 0 perform AND, otherwise if the signal is 1 then perform OR – bitwise logicaloperation). The result will be stored in C.
Unit 3 (A/L) - Design a 4-bit ALU…
arrow_forward
A separate set of information corresponds to each entry in the interrupt vector table.
arrow_forward
8086 circuit, assume that the connection of ports A and B is as follows. An information parallel to Port A, or input is provided using the push button. 74LS47 (BCD->display converter) to port B) connected, 7-segment display is placed at the output of the converter. From the A-g inputs of the display characters are created by giving the corresponding led light on the display, whichever is 1. 74LS47 received from Port B binary information provides a conversion to show the correct number on the display(For addresses of ports a and b.
By dividing the number consisting of the values (in this order) found in d0, d2, d4 and d6 from the information in Port A by two enter the code showing the result in the range 0-F on the display (if the result is two digits, one digit).
arrow_forward
please do all parts
arrow_forward
intel 8086 microprocessor
arrow_forward
Computer Organization
Single Cycle Data Path
Assembly in RISC-V
Draw a picture showing the datapath (with all functional units that are used) for
add t2, t1, t0
Explain what is happening in each functional unit
arrow_forward
Separate data groups are represented by each individual element of the table that lists
the interrupt vectors.
arrow_forward
Design a simple ALU. There are 2 inputs, A and B, and each one is stored in 16-bit register and a 3-bit opcode. The
output is a 17-bit register Y. The opcode controls ALU functions as follows:
Opcode
Function
000
001
010
011
100
101
110
111
Operation
Y <= A
Y <= A + B
Y<=A-B
Y <= A AND B
Y <= A OR B
Y <= A + 1
Y<=A-1
Y <= B
A
Add
Subtract
AND
OR
Increment A
Decrement A
B
Write the full VHDL code for your design use your student ID as name of your top-level entity
Hint: use multiplexer and simple logic and arithmetic assignments.
arrow_forward
Draw the ASMD chart for the following state transition:
• If x = 1, control goes from S1 to S2 and then to S3;
• If x = 0, control goes from S1 to S3.
] What is the value of registers Ro, R1 and R2 after the RTL operations executed in the
(a)
(b)
following order:
• So + 1, S1 + 0, Ro + 0, R1 + 20, R2 + 15
• R2 + R2 + 1, Rq + R1 + Ro
If (S, = 1) then (R1 – R2) else if (S, = 1) then (Ro R2)
%3D
arrow_forward
The interrupt vector table is made up of many entries, each of which has its own independent data structure.
arrow_forward
Each entry in the interrupt vector table corresponds to a different set of information.
arrow_forward
Operation
performed
Result =
Control
сodes
1 00
0 01
1 01
1 10
A or B
А - В
A + B
Α xor B
A and B
111
9.
Draw on the right the internal architecture of a one-bit ALU with the following function
table:
arrow_forward
write assembly code for C=A-B for this accumulator architecture machine
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Related Questions
- Define Address select logic.arrow_forwardDerive the Boolean logic expression for input x6 of the Encoder that will control the common bus in the Basic Computer. X1 S2 X2 Multiplexer Encoder bus select inputs So X6 X7 X6 = RTOarrow_forwardEach entry in the interrupt vector table stands for a unique set of information.arrow_forward
- 1- Write the VHDL code for the circuit shown in figure2. The circuit acts as support circuit for the control unit. It takes 5 bit from a 7 bit bus and start counting down at the rising Bus edge of each clock cycle in case the "Decr" signal is active. A new data loaded to the (4.0) n shift count 5-bit down counter CLK Decr circuit each time the "Ld" signal activated. The output "n" is equal to "1" in case the count value reaches "00000". Explain why the control unit Ld n 04.00 n-0 needs such circuit. Do functional simulation for your design. Figure 2arrow_forward1. Design a 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write) Unit 3 (A/L) - Design a 4-bit ALU using Unit 1 and Unit 2. The control signal A/L willindicate which operation the ALU will perform (when the control signal is 0 performArithmetic, otherwise if the signal is 1 then perform Logic).Unit 4 (R/W)- Design three 4-bit parallel registers to hold A, B, and C where C keepsthe output of the ALU. The registers have a R/W control signal that indicates that theyare being written to or read from.arrow_forward1. Design a 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write) The details of each control signal (Unit) are as follows.Unit 1 (A/S) - Design a 4-bit adder/subtractor that accepts two 4-bits numbers, A andB, and either add them up (A + B) or subtract them (A – B) depending on a controlsignal A/S (when the control signal is 0 perform ADD, otherwise if the signal is 1 thenperform SUB). The result will be stored in C.Unit 2 (A/O) - Design a 4-bit AND/OR unit that accepts two 4-bits numbers, A and B,and either AND them or OR them depending on a control signal A/O (when the controlsignal is 0 perform AND, otherwise if the signal is 1 then perform OR – bitwise logicaloperation). The result will be stored in C.Unit 3 (A/L) - Design a 4-bit ALU using Unit…arrow_forward
- In the interrupt vector table, each entry represents a different collection of information.arrow_forward1. Design a SINGLE 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write) The details of each control signal (Unit) are as follows. Unit 1 (A/S) - Design a 4-bit adder/subtractor that accepts two 4-bits numbers, A andB, and either add them up (A + B) or subtract them (A – B) depending on a controlsignal A/S (when the control signal is 0 perform ADD, otherwise if the signal is 1 thenperform SUB). The result will be stored in C. Unit 2 (A/O) - Design a 4-bit AND/OR unit that accepts two 4-bits numbers, A and B,and either AND them or OR them depending on a control signal A/O (when the controlsignal is 0 perform AND, otherwise if the signal is 1 then perform OR – bitwise logicaloperation). The result will be stored in C. Unit 3 (A/L) - Design a 4-bit ALU…arrow_forwardA separate set of information corresponds to each entry in the interrupt vector table.arrow_forward
- 8086 circuit, assume that the connection of ports A and B is as follows. An information parallel to Port A, or input is provided using the push button. 74LS47 (BCD->display converter) to port B) connected, 7-segment display is placed at the output of the converter. From the A-g inputs of the display characters are created by giving the corresponding led light on the display, whichever is 1. 74LS47 received from Port B binary information provides a conversion to show the correct number on the display(For addresses of ports a and b. By dividing the number consisting of the values (in this order) found in d0, d2, d4 and d6 from the information in Port A by two enter the code showing the result in the range 0-F on the display (if the result is two digits, one digit).arrow_forwardplease do all partsarrow_forwardintel 8086 microprocessorarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning