logo

4CS015 Fundamentals of Computing - Assignment

4 Pages606 Words1175 Views
   

Fundamentals of Computing (4CS015)

   

Added on  2020-04-21

4CS015 Fundamentals of Computing - Assignment

   

Fundamentals of Computing (4CS015)

   Added on 2020-04-21

ShareRelated Documents
4CS015 Fundamentals of Computing – Workshop #5Name:Student ID:This is a marked workshop. It forms the third part of your portfolio. You will need to complete the workshop and then submit a copy of this document(copy and paste this into a word file) with a title that follows the following format (“DENNETT 1234567 wsp5.docx”), via CANVAS, before 11.59pm, Sunday, 12thNovember 2017.Workshop tasks:1.Arithmetic Logic Unit 1.Load the LogSim Arithmetic Logic Unit Circuit alu.cct from inside the logsim application (You'll find itin the logsim folder)(You may need to right-click on the link to download the file instead of opening itin the browser). It should look like this:The circuit behaves like a simple arithmetic logic unit. The inputs A0-A3 represent a 4 bit binary number. Inputs B0-B3 represent another binary number. A0 and B0 are the least significant bits respectively. The following table details the functions supported by the chip. All other control lines = 0.FunctionANDORXORNANDNORNOT AADDSUBTRACTX3 – X000000001001000110100010110101011Use A= 11 B=4, complete the following table in binary (15 marks):FUNCTIONOUTPUTAND1010OR1011XOR0001NAND1010NOR0100NOT A0100ADD10101SUBTRACT0001
4CS015 Fundamentals of Computing - Assignment_1
1.The logical operations are bitwise. Manually prove each operation has returned the correct result by (15 marks):1 0 1 11 0 1 0 AND OPERATION1 0 1 0 RESULT1 0 1 11 0 1 0 OR OPERATION1 0 1 1 RESULT1 0 1 11 0 1 0 XOR OPERATION0 0 0 1 RESULT1 0 1 11 0 1 0 NAND OPERATION1 0 1 0 RESULT1 0 1 11 0 1 0 NOR OPERATION0 1 0 0 RESULT1 0 1 11 0 1 0 NOT A0 1 0 0 RESULT1 0 1 11 0 1 0 ADD1 0 1 0 1 RESULT1 0 1 11 0 1 0 SUBTRACT0 0 0 1 RESULT
4CS015 Fundamentals of Computing - Assignment_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
DIGITAL LOGIC QUESTION ONE 4 BIT ADDER-SUBTRACTOR
|10
|942
|259

Frequency Modulation
|19
|1193
|110

Author's Note: 1a. By using a truth, the expressions AB C B B’ C’ AB’C AC (AC) AB’C+AC+BC’ (AB’C+AC+BC’)
|18
|2614
|451

Computer Organization and Architecture | Study
|13
|1634
|47