Q the Platypus Posted March 10, 2019 Share Posted March 10, 2019 Inspired by a discussion on this forum I decided to work on creating my own multiplexer. This is an early design so far and there are is much room for improvements but I hope people will find this helpful. There is nothing about this design that would prevent it from being used for any number of channels as long as it is a power of 2. Spoiler This is the main multiplexer. The two automation wires on the bottom left select which channel is active. The not gate/and gate array is used to decode the binary representation of the channel into a signal that selects which and gate will allow which in coming single threw. On the right you can see the data line and the clock line exiting the image. Spoiler Here is the control system for the multiplexer. The And gate s-r latch combination acts as a frequency divider/pulse counter. The counter alternates between off and on with every pulse that it receives, however it only will output a pulse when it is in the "on" mode. This means that by chaining these counters together it will cycle through the output of "00" "01" 10" "11". Spoiler This is the demultiplexer that is used to undo the multiplexing. It uses the same binary counting system as the multiplexer along with the same system to do channel selection. After the channel selector the and with one input notted is used as an edge detector to reset the s-r latch briefly each time the that channel is switched to. Limitations of this design. It has no way to handle channel sync so if for some reason the states of the counters on each side get out of synchronisation things will get mapped to the wrong channels. I would like to improve the design by going to a one wire design and using something like Manchester encoding to encode the clock signal inside of the data. However in order to do this I'm going to need to create a phase detector and a variable frequency oscillator in order to create the clock signal re-generator. Link to comment Share on other sites More sharing options...
Epishade Posted March 11, 2019 Share Posted March 11, 2019 I understand some of these words Link to comment Share on other sites More sharing options...
Yunru Posted March 11, 2019 Share Posted March 11, 2019 [Insert comment about each gate also being a 1 tick buffer when I have more time] Link to comment Share on other sites More sharing options...
Q the Platypus Posted March 13, 2019 Author Share Posted March 13, 2019 Yes the edge detectors use that to detect the edges. Link to comment Share on other sites More sharing options...
Gurgel Posted March 14, 2019 Share Posted March 14, 2019 This is the standard digital multiplexer design. Should work in ONI as well. Link to comment Share on other sites More sharing options...
Arnadath Posted March 14, 2019 Share Posted March 14, 2019 @Q the Platypus hey. It seems that i will have to freeze my project for more than the afforementioned 2 weeks. You seem interested in digital stuff. Would you like to continue it? I have too many real life stuff atm and got in the forum today to ask if anyone would like to make progress on it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.