Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 4, Problem 7RQ
State the logic instruction you would use when you want to:
- a. Know when one or both matching bits in two different words are 1.
- b. Reverse the state of bits in a word.
- c. Know when matching bits in two different words are both 1.
- d. Know when one or the other bit of matching bits, but not both, in two different words is 1.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Hi I need this in Assembly Language in the KEIL software,THE CODES FOR BOTH:
1. Using looping and CMP, find the product of all the numbers from 1 to 5.
2. Move a number (your choice initially) to a register, then have three labels: greater, less, equals, and then B to the appropriate one seeing if is less than 20, greater than 20, or equal to 20. Be sure to test all cases.
1. Your goal is to design a circuit which has as input a number 0-9 represented in binary form.
The inputs are labeled A, B, C, D where A is the most significant bit. 10-15 represent "don't
care" conditions. The output is the sum of 3 and the input represented in binary form. The
outputs are labeled W, X, Y, Z where W is the most significant bit.
a. Create a truth table for the circuit.
b. Complete the Karnaugh maps for W and Y, minimizing the Boolean functions. Blank
K-maps are attached.
Write the Boolean equations for W and Y from the K-maps.
с.
2. Implement the following truth table directly (without any minimization) using a PLA. Properly
label the inputs and outputs.
Inputs
Outputs
A
C
D
X
Y
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
please try and follow the instruction
Chapter 4 Solutions
Programmable Logic Controllers
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
This optional Google account security feature sends you a message with a code that you must enter, in addition ...
Survey of Operating Systems, 5e
Apply the normalization process to the Veterinary Office ListVersion One relation shown in Figure 1-34 (see pag...
Database Concepts (8th Edition)
Explain what is meant by a compensation action and, using an example, show why these actions may have to be inc...
Software Engineering (10th Edition)
How are relationships between tables expressed in a relational database?
Modern Database Management (12th Edition)
In Problems 1 through 10, find a function y=f(x) satisfying the given differential equation and the prescribed ...
Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis
Leap Year Detector Design a program that asks the user to enter a year, and then displays a message indicating ...
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Knowledge Booster
Similar questions
- Assume that you have two-bit arithmetic circuit as below. To get output D = A - B, what are S1, S0 and Cin , respectively?arrow_forward273. The coding scheme that was designed to be used in combination with None Return to Zero- Invert (NRZ-I) is a. BSZS b. 8RIlOR c. 4D/5D d. R8ZSarrow_forwardonly one of the following statements is false according to the Sequential circuit. a. it contains at least one memory element b. it can contain multiple combinational circuit c. The output states depend on present states d. All inputs and outputs are applied at the same timearrow_forward
- 6. In a(n) circuit, the input values explicitly determine the output. 7. In a(n) existing state of the circuit. circuit, the output is determined by the input as well as the 8. A circuit that computes the sum of two binary digits, taking the input carry bit into account, is called a(n) 9. A(n) based on select signals is a circuit that selects a single output value from a set of inputs 10. A S-R latch is a circuit that can be used asarrow_forwardComputer Science The computer science department would like to create an analog clock with the numbers for the hours shown in binary. Due to space concerns, each hour should show the same number of digits with preceding zeros. What is the max number of digits per hour that they would need to show all the binary numbers on the clock? How did you come up with the solution?arrow_forwardPart A. Combinational Example:1. Practice by entering the following code for a basic two bit comparator circuit and the test benchto test it.2. Execute the code and verify the output.3. Modify the code to add a homework header as well as to create a 3 bit comparator circuit and anappropriate test bench to test it.4. Execute your modified code and verify the output. // Combinational Example is a basic comparator circuit. The output z =1 if x and y are equal. module comparator( input x, input y, output z ); assign z = (~x & ~y) |(x & y); endmodule// testbench for comparator module`timescale 1ns / 1psmodule stimulus;// Inputsreg x;reg y;EGS216 – Lab 8 HDL practice using online Verilog compiler.// Outputswire z;// Instantiate the Unit Under Test (UUT)comparator uut (.x(x),.y(y),.z(z));initial begin // Initialize Inputsx = 0;y = 0;#20 x = 1;#20 y = 1;#20 y = 0;#20 x = 1;#40; endinitial begin$monitor("x=%d,y=%d,z=%d \n",x,y,z);endendmodulearrow_forward
- 5. The maximum number of output states an 1-bit comparator could have is: b.2 а.1 с.3arrow_forward1. Design a 16*1 MUX using 4 *1 MUXs. 2. Design a 4-bit ALU to perform the following functions:A + B, A - B, A + 1, A’ . B’ ,A OR B, A XOR B, A AND B 3. Design a combinational logic that compares X and Y, where X = X1X0 and Y = Y1Y0; the output of combinational logic is 1, when X < Y; otherwise the output is 0.(a) Show truth table.(b) Find output function using K-map. 4. Design a logic circuit with three inputs and one output; the output generates even parity bit of the inputs.(a) Show the truth table. (b) Find output function. (c) Draw logic circuit.arrow_forward1- What is the different between signed and unsigned conditional jump instructions.arrow_forward
- Implement a 16:1 multiplexer using following instructions: a. Use a combination of 8:1, 4:1 and 2:1 multiplexer. b. You are allowed to use only one 8:1 and one 4:1 multiplexer. c. Identify the correct number of select bits in each multiplexer used.arrow_forwardAssume you have three input pins called Pin 1, Pin 2, and Pin 3. Assume you have a single 2-bit register called A. Please draw a circuit that does the following: When Pin 1 is on and Pin 2 is off and Pin 3 is off, then A stores integer 1 in binary. When Pin 1 is off and Pin 2 is on and Pin 3 is off, then A stores integer 2 in binary. When Pin 1 and Pin2 are off and Pin 3 is on, then A stores integer 3 in binary. When Pin 1, Pin 2 and Pin 3 are all off, then A stores integer 0 in binary. No other pin combinations are defined.arrow_forward3- Perform the deconvolution operation between the following two signals: 2.5 2 1.5 4. 1 0.5 -0.5 -1 -0.5 0.5 1. 1.5 2 1.5 2.5 3.5 4 4.5 5 5.5 6 use matlab programarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education