For the PC this was rather simple all controls were set low and only the Read

For the pc this was rather simple all controls were

This preview shows page 4 - 10 out of 15 pages.

my control/display panel. For the PC this was rather simple, all controls were set low and only the Read was set high. This configuration reflects the stand-alone memory address generation circuit. However for the MAR, the state of the system (DB) is also its input. I also added the memory address generation circuitry to our partially completed microprocessor as shown in the schematic shown below.
Image of page 4

Subscribe to view the full document.

Task 5-4: Programming the Limited-Instruction-Set Instruction Decoder PROM In this task I will to build Limited-Instruction-Set Instruction Decoder PROM. According to Appendix D I need to make a hex extension file with the following code. 0115 0550 0000 0000 0115 0750 0000 0000 0115 0001 0000 0000
Image of page 5
After saving it into our library I came up with the following design. In0 In1 In2 In3 In4 In5 Out0 Out1 Out2 Out3 Out4 Out5 Out6 Out7 Out8 Out9 Out10 Out11 Out12 Out13 Out14 Out15 PROM 5 1 1 0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 0 1 Task 5-5: Testing the Instruction Decoder Circuit. In this task I will separately check the PROM I built for any problems. I will attach the inputs of the PROM with a Hex keyboard and switches. The figure of the instruction decoder is given below: In0 In1 In2 In3 In4 In5 Out0 Out1 Out2 Out3 Out4 Out5 Out6 Out7 Out8 Out9 Out10 Out11 Out12 Out13 Out14 Out15 PROM 5 1 1 0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 0 1 I got the following table for all the input combinations. Input Output
Image of page 6

Subscribe to view the full document.

0 0115 1 0550 2 0000 3 0000 4 0115 5 0750 6 0000 7 0000 8 0115 9 0001 10 0000 11 0000 PROM Output Truth Table Testing: As I test this sub circuit with the hex keyboard and hex display, I get the hex bit output as entered in the file. Task 5-6: Build and test the controller In this task I will build the Controller by using two Registers and the PROM. Testing: .Testing of Controller gives us the following outputs of various combinations In0 In1 In2 In3 In4 In5 Out0 Out1 Out2 Out3 Out4 Out5 Out6 Out7 Out8 Out9 Out10 Out11 Out12 Out13 Out14 Out15 PROM CLEAR CLK EN A0 A1 A2 A3 Y0 Y1 Y2 Y3 REG CLEAR CLK EN A0 A1 A2 A3 Y0 Y1 Y2 Y3 REG 1 +5V 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 0 1 2 0 0 0 1 SR0 SR1 ID3 ID4 ID5 ID6 ID7 ID8 ID9 ID10 ID11 ID12 1D13 ID14 ID15 IR0 IR1 IR2 IR3 ID0 ID1 ID2
Image of page 7
Data Bus Clock Reset State Register Inst Register PROM Output 0=0000 ------ 1 0=0000 0=0000 0115 0=0000 0,1,0 0 1=0001 0=0000 0550 1=0001 0,1,0 0 0=0000 0=0000 0115 1=0001 0,1,0 0 1=0001 1=0001 0750 2=0010 0,1,0 0 0=0000 1=0001 0115 2=0010 0,1,0 0 1=0001 2=0010 0001 Task 5-7: Build the complete Microprocessor circuit . In this task we will insert the controller circuit into our brainless microprocessor. I also made necessary changes in the control panel. The figure is shown below: Task 5-8: Write and Execute a Simple Program for your Microprocessor.
Image of page 8

Subscribe to view the full document.

We will run the below given program on our microprocessor now. Instruction Comment Load ACC with 3 ; Put the number 3 into the Accumulator.
Image of page 9
Image of page 10
  • Spring '18

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes