looking for a logic chip
dr hydra
Posts: 212
Is there a simple logic chip available that takes input from one pin...over two clocks/two inputs...and outputs the data on two seperate pins...an example 8 bit data could be convert to 16 bit data over two clocks...but using a latch so the output does not change until both input data is received...
Example... input pin A receives a 1 and then a 0...then outputs on pin B the 1 and outputs on pin C the 0...at the same time
Example... input pin A receives a 1 and then a 0...then outputs on pin B the 1 and outputs on pin C the 0...at the same time
Comments
If I am interpreting what you want correctly that can be done with a 74xx595 or other serial to parallel shift register.
Sure, a CPLD
To do this on an Octal part, would need 8 in and 16 out, and no generic logic offers that.
In a CPLD, you can buffer one 8 bit value, and then update all pins, needing 24 latches, 16 at pins and 8 buried.
You can either use both clock edges, or add a phase flip flop, but a phase flip flop needs some reset pin to tell it if it is doing a Buried or Pin update.
A 44 pin CPLD could even manage 8 in to 24 out, on a 3 edge design.
-Phil
DIP rather limits your choices, to devices like ATF2500 (DIP40) or ATF750 (DIP24) , and they are not cheap, or easy to pgm.
If speed does not need to be super fast (ie a couple of us is ok, instead of sub 100ns) then you could use a simple small uC like a AT89LP52 - those are easier to PGM (ISP, 5V) and come under $1 in DIP40, moderate volumes.
Is this being slaved to a Prop, or some other 8 bit micro ?
so if it is not for a high volume product just use a PROP, saves you the learning curve, tools etc. for CPLDs - unless you have it already
8 in - 16 out
2 COGs each waiting for it's rising/falling trigger to copy the 8 bit over to OUT
the first one does a DIR input last one does a DIR Output
a few lines in PASM
you could even reuse the main props oscillator and load the ram from the main prop as well.
so only a DIP 40 needed ;-)
I did something similar for a legacy bus interface running a few 100 kHz.