Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated showing new PCB

...

Table of Contents

IntroductionImage Removed

The Z88 Flash/RAM card has been working for several years now. When OZ 4.6 was introduced, allowing applications to be run in RAM, some games failed to run.

Standard VersionModified Turbo Version

Image Added

Image Added

This was found to be due to an intermittent timing error from the decode chip CD74HCT139 which switches between the RAM and Flash chip.

Although this is one of the fastest decode chips, taking 10nS, the software speed improvements pushed it outside these limits.

This documents highlights the steps taken to rectify this. The detail of the steps taken are now in subsections, allowing the reader to go into detail if required.

Object

The object of this exercise is to see if by redefining the design on a small PCB, with the same footprint (SMD SO16) of the existing decode chip, a faster decode could be achieved by

  1. Using high speed NAND gates, to see if then if that was successful
  2. Then try using Use a decode chip from the same family.
  3. Using the knowledge gained, add the circuit on the card to add the more components to make a high speed 74139.

The Z88 only uses one half of the dual functionality of the full chip.

Adding 3 more of these decode chips allow full functionality using four 3mm wide high speed chips.

See http://www.neuroproductions.be/logic-lab/index.php?id=63191 for the ongoing logic in checking that the full chip will work. 

  1. 74xx139 card.

NAND Gate Build

Building the circuit on a breadboard externally

...

The latest software was tried again in a standard 512K/512K Flash/RAM Card and Vic could not make the games software go wrong. The prototype board was packed and sent to Mr T who had a failing Z88 and 512K/512K Flash/RAM Card. He confirmed that it was the decoder chip that was causing the fault and suggested that another decoder could be found.

DECODER Chip Build

http://tinyurl.com/j6zkfaj

Building the circuit on a breadboard externally

Using 5 NAND Gates to prove that there is a hardware problem was very useful, but for a production run using a single 2-to-4 Line Decoder chip to replace them is the next step.
This circuit could now be bread-boarded and tested outside the Z88 card case again.

The four signal and power lines can be seen connecting the card to the breadboard.

Results

The Games play played without crashing.

Printed Circuit Board

2-to-4 Line Decoder

Provisional Layout

Image Removed

Full 74139 Version Build

Tiny url http://tinyurl.com/zf9halyThe PCB could now be designed.

Z88 Turbo Card produced

It has been proved that the decode chip in the Z88 Flash/RAM card is too slow. Existing users who wish to run applications in RAM will need their cards modified with the chip being replaced with this card.

Full 74xx139 Version Build Concept

A new opportunity or a waste of time?

The decoder chip above works. It changes the timing from 10 to 3nS and replaces 1/4 of the 74139 for in the Z88 design. Is there a demand for a full 74xx139 replacement card?

For the full version, adding 2 OR, dual logic gates to the outputs enables adds the /CE signal to the design.

Choosing the DUAL TWO-INPUT POSITIVE-OR GATE chip

Looking through the data sheets for a Texas Instruments VC1 chip found the following timings:-

...

SN74LVC2G32QDCURQ1

...

The 2-to-4 Line Decoder display fast times.

Here is the chip that has been chosen:-

...

Image Removed

PART NUMBERPACKAGEBODY SIZE (NOM)
SN74LVC2G32QDCURQ1VSSOP (8)2.30 mm × 2.00 mm

Full Data Sheet for SN74LVC2G32-Q1 DUAL TWO-INPUT POSITIVE-OR GATE & Timing

...

View file
namesn74lvc2g32-q1.pdf
height150

...

Image Removed

This chip provides the logic for the /CE signal.

Circuit Description

There are 2 inputs A and B. The /CE signal enables the chip.

Logic Lab Test v Truth Table

The logic was checked against the Simplified Schematic with thanks to http://www.neuroproductions.be/logic-lab/ for the simulator.

Image Removed

...

00

...

Image Removed

...

Image Removed

...

01

...

Image Removed

...

Image Removed

...

02

...

Image Removed

...

Image Removed

...

03

...

Image Removed

...

Image Removed

The eight combinations all agree.

http://www.neuroproductions.be/logic-lab/index.php?id=64582

http://www.neuroproductions.be/logic-lab/index.php?id=64583

The simulator file may be used and viewed at

http://www.neuroproductions.be/logic-lab/index.php?id=64758

Circuit Diagram using a 2-to-4 Line Decoder and 2 Dual OR Chips.

2-to-4 Line Decoder

Updated 17/11/2016

View file
name20161117c Turbo Decoder - Z88 Card.pdf
height250

All the components required cannot be fitted on a single card. The design has been split onto two cards. The first PCB is just for the Z88.

2-to-4 Line Decoder and 2 Dual OR Chips

If a full 74139 chip is required another PCB with the extra components can be either

...

The challenge is to

  • fit 6 chips into a 16 pin DIL footprint
  • establish whether there is a demand

SMD or DIL Footprint?

16 pin DIL16 pin SO 16

Image Added

Image Added

Image Added

Using the Z88 Turbo Card fitting pins or wires to connect the 74xx139 Card piggybacked both footprints may be accommodated. This has proved to be impractical. Another design needs to be considered if required perhaps using a slot across the middle to connect the SO16 footprint to the card.

Build 74xx139 on a 16 pin DIL footprint

This should be possible, 3 chips on each side of the PCB with 2 rows of 8 pins on either side.

Demand or not?

Once the PCB design has been completed, it can be costed and this concept can be floated.

A decision may be made then whether to proceed with manufacture the PCB or not. It could be used in legacy equipment to see if it improved the performance. There could also be different options.

  • card only
  • card and components (to build)
  • fully built

It will definitely not be able to compete on price, as it will cost more than 10p.

Building the circuit on a breadboard externally

Components required

...

Image Removed

...

Image Removed

2 MSOP-8 IC adaptors were obtained in addition to the DUAL TWO-INPUT POSITIVE-OR GATE chips. 
This circuit could now be bread-boarded and tested.

This photo needs to be replaced

Image RemovedNeeds to be done

A test needs to be done to test the functionality of the NAND gate using the /CE signal.

Image Added

The four signal and power lines can be seen connecting the card to the breadboard.

This picture needs to be replaced.

Image Removed

The Games play without crashing.

Oscilloscope Readings

(This picture needs replacing)

Image Removed

This produced the signals required.

This trace shows the Flash chip being selected (/CE1) in 3nS.

The RAM (/CE) would be the same timings.

...

titleSignals not the same abbreviations as the circuit

The names of the signals on the scope are not all the same as shown in the circuit.

...

Printed Circuit Board

2-to-4 Line Decoder

Main points

  • Small holes are drilled in the centre of the pads of H1,so that wire links may be used to connect the signals from the 512K/512K card to the PCB.
  • The pads of the footprint of the SOT-23-5 have been made longer, to enable easier soldering of the small parts.
  • The bottom Left Hand corner of the PCB matches the shape of the 512K/512K Card for easy alignment.

Provisional Layout

Image Removed

The 7 layers

Here are the layers printed on A4 sheets. The board is small, zooming in is generally helpful.

To be done

View filenameCircuits.pdfheight250Image Added

Results

The results need to be reported.

Printed Circuit Board

74xx139 DIL Card

To be done

Image Added

There are two functions for this card.

  • The DIL 16 pads have holes through them allowing wires to be soldered to DIL 16 pads on another card.
  • When used with the Z88 Flash/RAM card, it can be used with a SO 16 footprint. 16 pins or wires need to be soldered so that the DIL chip or converter card can be piggy backed on top with 2 off SIL sockets.

74xx139 to be produced or not

Depends on response.