Question

In: Computer Science

Design a combinational logic circuit that takes a single digit decimal number as its input and...

Design a combinational logic circuit that takes a single digit decimal number as its input and also detects if the input is an odd number.

Design a combinational circuit that accepts a 3-bit number and generates an output binary number equal to the square of the input number.

Solutions

Expert Solution

Notice that every other bit in the input is multiple of 2 except the Least Significant Bit. SO the number is odd if LSB is 1 and is even if LSB is 0.

Let the imput be where i0 is the LSB

So if i0 is 1 even bit should be 0 and odd bit should be 1

and if i0 is odd even bit should be 1 and odd bit should be 0

The circuit is:

squuare of 3 bit number is a 6 bit number. ssuppose the input is and output is .

steps to be taken are:

1. find the truth table

2. minimize the boolean function using K-map (or any other technique)

3. build the minimized circuit.

1.

The truth table is:


Related Solutions

Problem Statement: Design a combinational logic circuit that meets the following specifications: • Input: 3-bit binary...
Problem Statement: Design a combinational logic circuit that meets the following specifications: • Input: 3-bit binary integer (A), 2-bit binary integer (B). • Output: 5-bit binary integer (X) = (AxB). For example, A=6, B=2, X=6x2=12. Notation: • A=(A2,A1,A0) • B=(B1,B0) • X=(X4,X3,X2,X1,X0) Required Output: Show the truth table and a minimal logic expression for each of the outputs. Also, draw a logic diagram using discrete gates. Extra Credit: Redesign by using multiplexers and minimal discrete logic as appropriate. 1 |...
Design a logic circuit that takes 2-bit input A and 2-bit input B and subtracts the...
Design a logic circuit that takes 2-bit input A and 2-bit input B and subtracts the two numbers using full adders and inverters with full adders diagram, which input is subtracted dos not matter.
Design a combinational circuit that implements a Binary-to-Grey Code converter. Your input should be a four-bit...
Design a combinational circuit that implements a Binary-to-Grey Code converter. Your input should be a four-bit binary number, and your output should be the equivalent four-bit Grey Code value. First, design the circuit using NAND gates only. Next, design the circuit using a minimal number of 2-input XOR gates.
Explain the operation of the isolation amplifier. Design a circuit that takes an input voltage and...
Explain the operation of the isolation amplifier. Design a circuit that takes an input voltage and outputs a scaled differentiated version of the input minus a scaled version of the input, at the output of the circuit
Design a synchronous sequential logic circuit with input X (that has been synchronized to the clock)...
Design a synchronous sequential logic circuit with input X (that has been synchronized to the clock) and output Y. Every second high-to-low transition of X results in a one clock period long pulse on Y immediately after the transition. Otherwise, Y is 0. Draw a timing diagram (showing input, output and state variables) for an appropriate sequence on input X
design a logic circuit that counts the number of 1s in 12 inputs(a0...a11) and outputs a...
design a logic circuit that counts the number of 1s in 12 inputs(a0...a11) and outputs a 4-bit binary that represents the count of 1s. for example, if input is 111111111111 which has 12 1s, then output should be 1100 note :Do not use clocking. draw logic diagram.
Design a “disk spinning” animation circuit for a CD player. The input to the circuit will...
Design a “disk spinning” animation circuit for a CD player. The input to the circuit will be a 3-bit binary number A1, A2, A3 provided by 3-bit up counter. The circuit for 3-bit counter has already been provided in CCT file on Google Classroom, so there is no need to design the up counter yourself. The animation will appear on the top four lights of the LED display of Figure, i.e., on X1, X2, X7, and X6, going clockwise as...
Design a circuit using PIC 18F458, which counts the number of input pluses read by any...
Design a circuit using PIC 18F458, which counts the number of input pluses read by any input I/O port of the PIC 18 and show the pulses counting state on the 7-segment display. Hint: For Input pulses function generator or 555 Astable oscillator can be used.
Using the principles and components of digital and linear logic circuits design a circuit that is...
Using the principles and components of digital and linear logic circuits design a circuit that is able to open and close the door of a garage of vehicles according to the following conditions: a) The door will open in the following cases: a.1) a manual push-button is activated and there is sunlight. a.2) the button is not activated, there is no sunlight and the light of a vehicle is detected. b) The door must close after 30 seconds of opening....
Create the logic for a rhyming program that takes in five words from a user input...
Create the logic for a rhyming program that takes in five words from a user input and replaces the selected rhyming words with the user's input, then creates and displays the Humpty Dumpty rhyme with the five words from the user input. Hint: 1. You will use the sentinel values: start and stop 2. The program will ask the user for 5 words. 3. The program will store the 5 words 4. The program outputs the rhyme replacing the ____...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT