Question

In: Electrical Engineering

1) Convert (0.513)10 to octal. 2) Given the two binary numbers X = 1010100 and Y...

1) Convert (0.513)10 to octal.

2) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction (a) X - Y and (b) Y - X by using 2’s complements.

4) Simplify the Boolean function and draw the logic diagram to implement the function (i) F(a,b,c,d) = ∑(0,1,9,12,13,14) (ii) F(a,b,c,d) = ∑(0,2,3,5,9,10,15) with don’t care d(a,b,c,d) = ∑(1,3,7,8,11,)

5) Implement the Boolean expression F (A, B, C, D) = _(1, 3, 4,7, 8,12, 13, 14, 15) using 4X1 mux.

6) Write and verify verilog HDL of 4 bit Johnson counter.

7) Design a system that detects the occurrence of 110 or 001. The system input, output signals are given below

X 0 1 1 0 0 0 1 0 0 ;Y 0 0 0 1 0 0 1 0 0. Notice it is in table form but I wrote like that

8) Design a modulo 10 up/down counter with control input. Write a verilog code for your design and a test bench to verify your design.

Solutions

Expert Solution



Related Solutions

Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be...
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be helpful thanks
Convert each of following numbers to Octal numbers, showing all steps. a. (111110110)2 b. (1100010)2 c....
Convert each of following numbers to Octal numbers, showing all steps. a. (111110110)2 b. (1100010)2 c. (2001)10 d. (1492)10 e. (A9)16 f. (5FF71 )16
Design a transducer to convert a binary string into octal. For example the bit string 001101110...
Design a transducer to convert a binary string into octal. For example the bit string 001101110 should produce 156. Please complete the code to account for the 7 cases of 3 digit binary strings. //Function binaryToOctal takes a char array digits of length 3 //Pre: digits contains 3 binary digits. //Post: function returns the octal number equivalent to the 3 binary digits int binaryToOctal( char digits[], int 3){ int number; if(digits[0]=='0') if (digits[1]=='1') if (digits[2]=='0') return 2;//found "010" else return...
Develop a python program to convert two decimal numbers (A and B) to binary numbers. You...
Develop a python program to convert two decimal numbers (A and B) to binary numbers. You should generate B complement signal (flip all the bits of Input B,
Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95...
Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95 (10)
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert these numbers from Decimal to Binary 111: 66: 252 11 20 Convert these numbers from...
Convert these numbers from Decimal to Binary 111: 66: 252 11 20 Convert these numbers from Binary to Decimal 00110110 11111000 00000111 10101010 What is the Default Subnet mask of Class A IPV4 What is the Default Subnet mask of Class B IPV4 What is the Default Subnet mask of Class C IPV4 What is the CIDR notation or / short handwriting of Subnet masks: Class A: /?. Explain the reason Class B: /? Explain the reason Class C: /?...
Convert the following values into binary numbers for each word and place the binary values in...
Convert the following values into binary numbers for each word and place the binary values in the two-dimensional array in their proper order of words. Value Binary Number Equivalent Word 0 462,91210 Word 1 1142008 Word 2 5420h Word 3 20,992d Word 4 1104208 Word 5 6102008 Word 6 9F88h Word 7 20,49610 Word 8 502416 Word 9 1101018 Word 10 71082h
Suppose the joint probability distribution of two binary random variables X and Y are given as...
Suppose the joint probability distribution of two binary random variables X and Y are given as follows. x/y 1 2 0 3/10 0 1 4/10 3/10 X goes along side as 0 and 1, Y goes along top as 1 and 2 e) Find joint entropy H(X, Y ). f) Suppose X and Y are independent. Show that H(X|Y ) = H(X). g) Suppose X and Y are independent. Show that H(X, Y ) = H(X) + H(Y ). h)...
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system....
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system. Make sure there are enough digits in the results to be able to perform arithmetic operations with these two numbers. (b) Perform in the signed 2’s complement system, (+70) + (-26) (c) Perform in the signed 2’s complement system, (-70) - (-26) (d) Perform in the signed 2’s complement system, (+70) + (+26)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT