01.06.2017 Views

UWE Bristol Engineering showcase 2015

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Nigel Godwin<br />

BEng (hons) Electronic <strong>Engineering</strong><br />

Project Supervisor<br />

Nigel Gunton<br />

There are many requirements that a 6502<br />

microprocessor clone should fulfil. These include<br />

appearance, operation, behaviour and timings.<br />

Hardwired Control Units<br />

The control unit of each CPU uses combinatorial<br />

and sequential logic to generate the CPU’s internal<br />

and external control signals. These control signals<br />

cause the CPU to perform the desired microoperations<br />

in the correct order to fetch, decode<br />

and execute the instructions in the processor’s<br />

instruction set<br />

Microsequencer Control<br />

A Microsequencer stores its control signals in a<br />

lookup ROM, the microcode memory. By accessing<br />

the locations of the ROM in the correct order, the<br />

lookup rom asserts the control signals in the<br />

proper sequence to realize the instructions in the<br />

processor’s instruction set.<br />

The Decision<br />

Microprocessor Type 6502 Clone<br />

When considering the two design concepts<br />

introduced in Chapter 6, a decision was made<br />

relating to a desired approach toward the cloning<br />

of the 6502. The decision was governed by the<br />

result of the investigators research, coupled with<br />

his personal career based needs and<br />

requirements. With this in mind, it was decided<br />

that a hardwired control system would be<br />

implemented.<br />

In my normal working capacity as a lecturer, I am<br />

being considered for the delivery of an<br />

introductory level of VHDL as a new subject area<br />

of learning for my students. With this in mind, I<br />

saw the possibility of improving my own<br />

knowledge of the basic concepts of hardware<br />

design language and its usage. I therefore decided<br />

that a TTL logic design, originally constructed by<br />

Ruud Baltissen would be implemented.<br />

RTL Diagram of 74LS393<br />

Euroboard 1<br />

There was four connectors used in the design of<br />

this board. They are identified by using the<br />

prefixes: con1_, con2, con3, con4. Each connection<br />

pin was then identified individually, e.g.,<br />

con1_reset, con1_rdy, and so on.<br />

The integrated circuit designs that were included<br />

in this board were:<br />

74ALS32<br />

74ALS573<br />

74LS688<br />

74LD125<br />

74ALS04<br />

These were then converted to schematic symbols<br />

and inserted into the schematic and connected<br />

accordingly.<br />

Enlarged section of Euroboard 1 showing<br />

converted symbols for designed integrated circuits.<br />

Project summary<br />

An investigation has been performed to examine the<br />

practicalities involved in cloning a 6502<br />

microprocessor by using Hardware Description<br />

Language. The cloned system is designed to use ‘Old<br />

School’ techniques, rather than the on-board tools<br />

that are incorporated into the Altera software<br />

package that was used. Although the design is not<br />

fully completed, all testing that has been carried out<br />

has confirmed the viability of the approach. It is<br />

considered that when completed, the design could be<br />

used as an educational aid to introduce new students<br />

to the possibilities that VHDL can offer when used in<br />

its most basic form.<br />

Project Objectives<br />

The main aim of this investigation into cloning a 6502<br />

microprocessor is do design a processor which, when<br />

linked to the necessary peripherals will be able to<br />

allow archive games for Commodore 64 and Atari<br />

home computers to be played.<br />

Project Conclusion<br />

Although this investigation was never going to derive<br />

a working 6502 due to the necessity of additional<br />

peripheral components, it has fully accomplished its<br />

desired outcomes.<br />

The investigator, due to work requirements needed<br />

to be able to embrace the topic of VHDL from the<br />

point of basic principles and practices. By designing<br />

the TTL logic integrated circuits from scratch, the<br />

investigator has learned various methods of<br />

combining bot combinational and sequential logic<br />

within the VHDL environment.<br />

The individual integrated circuit designs, when tested,<br />

all worked correctly, therefore suggesting that when<br />

connected into the schematic design files, a<br />

successful result will ensue.<br />

The exploration into the use of blocks and conduits to<br />

combine individual schematic design files by way of<br />

connectors was very successful, with the investigator<br />

successfully connecting the necessary circuit board<br />

designs, via the use of the backplane.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!