I am wanting to take a signal and put it into a 4 to 10 decoder. The outputs of the decoder are going to be connected to a 10conductor cable which will connect to the inputs of a 10 to 4 encoder.
I am then wanting to check the output of that encoder with the inputs that I put into the decoder. If they are the same then the test has been passed and if they are not equal then the test has failed.
This is going to be a tester for a 10 conductor cable. I dont want to use 20 I/O's on my chip so I think using decoders/encoders is my best bet.
Problem I am having is finding the encoders and decoders that match up. The ones i ordered were:
Encoder: CD40147B Decoder: CD4028B
If you look at the truth tables of these two they seem like they would work exactly how I wanted them to. After the circuit failed I looked more closely at the truth tables and then realized that the CD40147B's truth table was negative logic. So now I am in a pickle.
Can someone please help me out in this matter? I am either looking for a decoder to match my encoder, an encoder to match my decoder, or two different IC's all together.
Thanks and I hope you guys can help me!!!
John