As my research moves along, I decided to create a Diode Memory unit first for binary use, before I implement the ternary memory version. I designed 2 types of boards, the first is the base board which is the first 64 bits or 8 bytes, the 2nd board can be stacked on top to create 128 bits or 16 bytes with more boards on top for 192/256 bits or 24/32 bytes. I will be building these soon, as these designs have not been tested yet, I suggest checking my work, I will confirm these in another blog.
The ROM choice was a 27C64 which is a 8Kx8 and is very popular, available in general stock and I will use it in further designs, the decoder is a 74LS138 which seems to be a great choice for this simple project. The only problem I had was the 138 has only 3 bits to decode, so I had to add a few extra bit of routing to create 32 bytes. The 138 has 3 enable lines GA_, GB_, G1, so the first block I put G1 high and GA_and GB_ would be enabled when both are low, these are from the A3 and A4 lines which are low. The second block I put GA_ low to ground with GB_ and G1 would be A4 as low and A3 as high. As you can see by the diagram I swapped A3 and A4 with GA grounded for the 3rd block, the last block I used an inverter on GB_ from A3 which must be high,
If you are not using 32 bytes then you can ignore the 74LS04 connection. To use each block you must bridge the labelled connectors with jumpers. The Parts list for 2 boards are:
SK1 = 28 pin DIP socket with extended legs
H1 = 16 Pin socket with extended legs x 2
U3 = 74LS138 x 2
R1-R8 = 10K resistors x 2
D1-D64 = 1N4148 Diodes x 2
SW1-SW8 = 8 sw DIP x 2
J1-J2 = Pin for Power x 2
Each corner has 2mm holes , add crews and extended legs as needed x 2
If you choose to build it, you will be limited to 32 bytes. To test the unit you could plug it into to a EPROM reader. My next version should allow up to 256 bytes or more. Regards Arto.
To start the journey of discovery, we must have all the building blocks and tools ready to use as creativity requires a selective group of useful mechanisms to achieve a modicum of feed back to keep the momentum going forward towards interesting and useful discoveries. The Ternary building block are here, along with a Binary controller that you can use to design your Logic elements as needed. I have shown previous Unary gates and they are still usable in these designs. I decided to put 4 gates in one unit so wiring can be simplified when you create the 2/3/4 input gates. For a 2 input gate you need 3 gates for the columns and a summing gate and 3 gates for the rows a summing gate for the rows and the result. This makes it simpler, you will only need 2 unary boards for an 2 input gate, a base board was designed to make this easier, these can be stacked, as high as required.
Parts List for each Unary Gate V6
U1,U3,U4 _________G3VM-353A U2,U5 ____________G3VM-61A1 U6,U8,U9 _________G3VM-353A U7,U10 ___________G3VM-61A1 U11,U13,U14 ______G3VM-353A U8,U15 ___________G3VM-61A1 U16,U18,U19 ______G3VM-353A U17,U20 __________G3VM-61A1 LED1,2,3,4 ________3mm Blue 36 x ______________Male/Female headers 20 x ______________4 Pin sockets (if required) 1 x _______________Unary Board V6
Parts List for Base Boards
4 x _______________24Pin Fmale Header 8 x _______________3 Pin
Parts List for Binary to Ternary Gate Selector Board
6 x _______________CD4555BE 9 x _______________ADG412BNZ C1,C2,C3,C4,C5,C6 _100 nF Caps D1-D12 ___________1N4007 D19,D20,D21,D22 __1N4007 1 x _______________LM7805 1 x _______________LM7905 C7,C10,C12,C22 ___47uF Electrolytic Caps Led1 _____________Led R1 _______________1K 3 x _______________6 Pin 3 x _______________5 Pin 15 x ______________8 Pin Dip 1 x _______________7 Pin Dip 1 x _______________74LS125
1 x _______________LAA110LS 1 x _______________LBB110STR 3 x _______________220 Ohm 3 x _______________1xPin hdrs 2.54 1 x _______________4 pin hdr 1.27 1 x _______________RGB PCB board
Parts List for TMS9995 Board
1 x ________U8 ____74LS138 1 x ________U5 ____74LS32 1 x ________U6 ____MAX232CPE 1 x ________U7 ____TMS9902 1 x _____U11+U12__TMS9901 x2 1 x ________U1 ____TMS9995 1 x ________U4 ____74LS04 1 x ________U3 ____62256-07 SRAM 1 x ________U2 ____M27C256 EPROM + Binary Data Cortex + Terminal 1 x _______________DB9 RS232 RA port 1 x _______________Header 6 Pin C1-C8 ____________100nF C11,C12___________100nF C16 -C20 __________1uF Electrolyticn R1________________10K R2 – R6____________1K C13, C14 __________15pF X1 _______________12 Mhz XTAL 1 x _______________LED21 LED indicator 1 x _______________SW4 Micro switch C15 ______________10nF 4 x _______________10 pin RA Male Pin Headers 1 x ________U9 ____LM7805 C22, C23 __________47Uf DC1 ______________9v input Jack 3 x________________40 Pin Dip 2 x _______________ 28 Pin Dip 2 x _______________ 14 Pin Dip 2 x _______________ 16 Pin Dip 1 x _______________ 18 Pin Dip 1 x _______________TMS9995 SBC PCB Board (Conner Stuarts Design)
Boards
Unary Gate Base Board V6 Unary Gate Base Board Singles V6 Binary to Ternary Gate Controller V1 Ternary Input Switches Ternary Bit Display TMS9995 SBC
Each Unary board consists of 4 separate Unary Gates they can be used as a set or individually, depending which base board you use.
The Unary Gate Base Board has been configured as a 2 input gate A, B and the result in C.
The Unary Gate Base Board Singles is configured to use as either a 2 input gate by wiring it as required or as single chains or groups.
J1, J4, J7, J10 are your ternary inputs, while J2, J5, J8, J11 are your outputs to each gate.
K1, K2, K3 are configurable with J40, J39, J38 as a matrix to give you all 27 Unary configurations. The interconnections are configurable with a small 6 pin cross connected board, or you can use jumper cables if you choose.
Controller Board
This has a 12vac input and 18+3 pin binary input and a 3 pin ternary output. It was designed to connect to a TMS9995 SBC with CRU outputs and have software to control the gate configuration in hardware.
With Five Boards there are 45 binary controls which will give you a Ternary Multiplexer made of five 2 input gates and 3 Unary gates. Once you have tested and configured your logic, then you can use the base board with plugin matrix connectors as your final gate design.
Setting Your Bits
H1, H2 and H3 are your binary control bits to select each gate type. You select 6 bits to as either decimal or Hex to each unary port. I added U28(74LS125) and U29 3 pin header which is used to switch each gate on, under software control as required.
Ternary Input Switches
This board has 9 ternary outputs and can be used to control the A+B inputs on the Unary boards. There is 9 RGB indicators for the slide switches, Red = +5v , Green = 0v , Blue = -5v.
Ternary Bit Display
This small board gives you a visual indication of your output bits, Red = +5v , Green = 0v , Blue = -5v
Listed below is the Program to control the Ternary Gate Selector. If you want to attach more Selector boards you will need to expand the CRU outputs. I have left the header J5 to allow CE for more TMS9901 to be added at some point. The next version will also have have mounting board for 4 more chips, giving a total of 96 outputs.
Where 21 are needed for each 2 input gate, this allows control of 4 2 input gates, 84 pins , leaving you 12 spare pins for other controls.
This is a Cortex Basic program to control one two input gate.
8 REM TERNARY GATE CONTROL 9 REM *** BY ARTO HEINO 2023 ** 10 REM OUTPUT ON 9901 PORT BIT 0 to bit 20 (21 BITS) 11 REM TO CONTROL TERNARY 18 BIT GATES + 3 BIT CONTROL 12 REM 13 REM SETUP BASE ADDRESS OF 9901 to 64 decimal = >0040 HEX 14 BASE 64 15 DIM TR(27,6) 17 REM DISABLE EACH CD4555BE CHIP 18 CRB(16+18)=0 19 CRB(16+19)=0 20 CRB(16+20)=0 24 REM LOAD 27 TERNARY GATE BIT DATA 25 RESTORE 27 FOR Z=1 TO 27 28 FOR X = 1 TO 6 29 READ TR(Z,X) 30 NEXT X 31 NEXT Z 32 REM SELECT 3 GATES 33 FOR A=1 TO 3 36 PRINT “COLUMN “; A 38 PRINT “SELECT GATE 1 TO 27” 39 INPUT GT 40 IF GT<1 OR GT>27 THEN GOTO 38 42 FOR BT=1 T0 6 45 REM SET HIGH OR LOW 48 CRB(15+BT+(A*6-6)) =TR(GT,BT) 56 NEXT BT 57 NEXT A 60 REM ENABLE EACH CD4555BE CHIP 61 CRB(16+18)=1 62 CRB(16+19)=1 63 CRB(16+20)=1 64 END 65 REM DATA FOR GATES 66 REM H1 + H2 + H3 101 DATA 0,0,0,0,0,0 102 DATA 1,0,0,0,0,0 103 DATA 0,1,0,0,0,0 104 DATA 0,0,1,0,0,0 105 DATA 1,0,1,0,0,0 106 DATA 0,1,1,0,0,0 107 DATA 0,0,0,1,0,0 108 DATA 1,0,0,1,0,0 109 DATA 0,1,0,1,0,0 110 DATA 0,0,0,0,1,0 111 DATA 1,0,0,0,1,0 112 DATA 0,1,0,0,1,0 113 DATA 0,0,1,0,1,0 114 DATA 1,0,1,0,1,0 115 DATA 0,1,1,0,1,0 116 DATA 0,0,0,1,1,0 117 DATA 1,0,0,1,1,0 118 DATA 0,1,0,1,1,0 119 DATA 0,0,0,0,0,1 120 DATA 1,0,0,0,0,1 121 DATA 0,1,0,0,0,1 122 DATA 0,0,1,0,0,1 123 DATA 1,0,1,0,0,1 124 DATA 0,1,1,0,0,1 125 DATA 0,0,0,1,0,1 126 DATA 1,0,0,1,0,1 127 DATA 0,1,0,1,0,1
Here is the layout for the SBC and the Ternary Gates.
An alternative design without the SBC and just putting units together.
Here are a few pictures regarding some of the components.
This is the CODE for the 27 selections of Unary gates, H1,H2,H3 CRU outputs.
Here are the PCB’s for the Basic boards.
If you want to see more of this type of content, I would appreciate any donation to help pay for more original designs and parts. I hope you enjoy this work, regards Arto.
An error has occurred; the feed is probably down. Try again later.
Join 123 other subscribers
Published material Link
Talking to the Birds
Book Available NOW
At Amazon
At Createspace
https://www.createspace.com/4513692
______________________
Cartoons
http://www.scribd.com/doc/106684504/Scraps-Sketches-and-Satire
_______________________
Magic Square
http://www.scribd.com/doc/33050524/The-Magic-Square-of-Three-Crystal