Lab3.pdf

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

Introduction to Computer Architectures 1 ICAR Laboratory : ENIAC The aim of this lab is to illustrate the different techniques that can be used to implement a computer. In a previous lab we used the Analytical engine simulator. This computer is based on the classic fetch–decode–execute cycle used in most modern machines. However, it is only one solution to implementing a computer. An alternative approach is the dataflow architecture as used in ENIAC. To illustrate these ideas a software simulation of ENAIC will be used. This simulator is again written in the Java programming language and runs on both Windows or Linux platform. Note, there may be some Java 'issues' under Linux. The original website which contains this application and additional information on this computing machine can be found at: Two different variants of this simulator are also available on the module web page so that you can continue these exercises at home on your own computer. First, download the default ENIAC configuration file Default.xml from the VLE (under lab script). Next, start the ENIAC simulator by selecting : Start -> All programs -> Hardware Development -> ENIAC This will launch the ‘Open configuration’ box, click on the ‘Load from local file’ radio button. Click the browse button , selecting the file Default.xml that you previously downloaded, as shown in figure 1. Click the OK button to load this ‘room’ configuration. Figure 1 : main user interface The main user interface will now open, as shown in figure 2. This is designed to replicate the original ENIAC room layout (compare to lecture slide), allowing you to wire up inputs, outputs and control signals through a series of drag and drop cables. Mike Freeman 31/10/2016
Image of page 1

Subscribe to view the full document.

Introduction to Computer Architectures 2 Typically the user interface can not be displayed on one screen, left click, hold and drag on the overview window to scroll between panels. To illustrate how this computer could be programmed we will implement a simple dataflow architecture to calculate the equation shown in figure 3. Figure 2 : accumulator control panel Figure 3 : algorithm and dataflow graph Figure 4: digit trunk connections Mike Freeman 31/10/2016 ACC value (Blinken lights) ACC Controls: operation and repeat switches Program Trunks Digit Trunks D A B C Tray 1 GO! Button ACC1 ACC2 ACC3 ACC4 Connection Wire
Image of page 2
Introduction to Computer Architectures 3 Figure 5: program trunk connections and operation settings Step 1 : set initial accumulator values A = Accumulator 2 B = Accumulator 3 C = Accumulator 4 D = Accumulator 1 The required initial values may be set by left clicking on the appropriate ‘Blinken’ light, as shown in figures 2 and 4 (top four panels, Blinken light 1–4). Remember, each accumulator represents a ten digit decimal, one-hot encoded number.
Image of page 3

Subscribe to view the full document.

Image of page 4
You've reached the end of this preview.
  • Winter '19
  • oussama jadayel
  • Input/output, Mike Freeman

{[ snackBarMessage ]}

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