CREATE THIS Emulated Computer for Teaching Computer Architecture using Multi Med
ID: 3575708 • Letter: C
Question
CREATE THIS Emulated Computer for Teaching Computer Architecture using Multi Media Logic. Also Describe how this works in detailsPlease attach the logic file with the answer.
An eight-bit computer has been designed using an open source logic emulation package called “Multimedia Logic”from www.softronix.com. The intent of the project was to
make clear to computer science students how the data path and control lines work to provide computer functionality.
Providing a computer that is very well instrumented,visible on one page and easy to demonstrate, was the main goal of this design effort. In my computer architecture
classes I ask my students to design an emulated computer.This design was one I produced to illustrate what I wantedfrom my students. I suggested they start with an
instruction set and register design and build a computerfrom this foundation. For this eight-bit computer, aninstruction format of three bits of operation code and five
bits of immediate was chosen. This instruction formatprovides for eight instructions. These with mnemonics are:1. adi - Add the immediate value to the input register
and place in the output register,2. adm - Add memory location addressed by theimmediate to the input register and place in theoutput register,
3. lmi - Load the contents of the memory locationaddressed by the immediate value to the inputregister,
4. som - Save the output register to the memorylocation addressed by the immediate value,
5. ji - Jump to the location given in the immediate,
6. jzi - Jump to the location given by the immediateif the result of the last addition was zero,
7. om - Output the data from the memory locationaddressed by the immediate to the output displaydevice,
8. hlt - Halt operation.
Explanation / Answer
Answer:
The physical architecture was to use two separate memories, to hold the data and program. This parallels the MIPS emulator PC SPIM which has a “.data” segment of memory holding constant data and a “.text” segment that contains the machine instructions. This construction simplifies the data path of the computer, but limits the capability to do recursion. The design includes an input register and an output register. This design is a complete eight-bit, single cycle, stored program computer. The data paths are connected at the start of the clock cycle at then at the clock transition registers and memory are writing enabled. This enables demonstration of the inputs to commands being set up and then the operation being executed. One non-physical device available in the logic emulator used is a binary controlled text display. This device can be seen just below the vertical column of control line indicators. This display shows one of sixteen lines of text, depending on the binary inputs to the device. In this case the device is used to show the operation being set up in the computer. The memory devices can be used as read-only devices reading content from an underlying file, or they can be initialized with a file and altered dynamically during program execution. For registers memory devices with all address lines grounded are used.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.