许多人声称他们正在建造一台三元计算机,但是据我所知,没有人完成该项目。Triador项目不会给您空洞的承诺!
我正在基于平衡三进制数系统构建一个非常简单但功能强大且毫不妥协的三进制计算器。整个计算机将仅基于由模拟键组装而成的三元复用器构建。遵循有关在YouTube上构建计算器的迷你系列文章:
![](https://habrastorage.org/getpro/habr/post_images/a30/5de/04d/a305de04dc4982bc2d76ac343cd3e1fb.jpg)
首先,我儿时的故事
22 , , 2020 . , 22 . , , , . , , , , : «, , ?» : " ". , ( , ), . , . , 22 .
( ), 22 , , . 22 1970 -70. , , , .
, - . , , , . , , ! . , , ! :
![](https://habrastorage.org/webt/f3/xu/nm/f3xunmbq1vcxhrem4rgeojcvlrm.jpeg)
, !
s1e1: -
, -, , :
![](https://habrastorage.org/getpro/habr/post_images/724/503/b19/724503b1982f46a07e1432fa95d8d7ab.jpg)
? , . , , , . -, :
![](https://habrastorage.org/getpro/habr/post_images/200/2ef/41f/2002ef41f7d2f4e04ed628f67bf403a6.png)
- , "" : -5, 0 +5 .
""? , , +5 , , -5 , , 0 , . 0 , 0 . .
- :
![](https://habrastorage.org/getpro/habr/post_images/8d1/219/d4f/8d1219d4f47f34b31006184a371ce6c5.png)
, : .
:
s1e2:
— , . , ; , , " ". , , .
, 0 9, , . , , 7204 " , , ". , 0, 1 2, , .
![](https://habrastorage.org/webt/cz/e-/ee/cze-eepro8zhxk1hf8bnzxiakkm.jpeg)
— ! . , .
— , . .
, . , ! 0, 1 -1. , '-' 1, , N, O P. , PONP " 27, , , ".
, , () . , , , ; , -5 NPP: -9 + 3 + 1.
:
s1e3:
: . , , .
, S,N,O,P C. , , - — -!
![](https://habrastorage.org/webt/_c/ln/4p/_cln4pdoyjcu_0tuiemom5mh_ko.jpeg)
S () , ,
. S C N, O P.
- :
![](https://habrastorage.org/webt/15/7p/ir/157pirgfdmulwi-xioei1xcelqa.png)
, — , . , .
, , Shaos. dg403, , , :
![](https://habrastorage.org/webt/4a/mb/ad/4ambad_bocdk6_0khdqve6grzjs.png)
, :
![](https://habrastorage.org/webt/ha/q3/fy/haq3fy6hvr_aavfye1qdxvwxpve.jpeg)
13 : , S,N,O,P C, . , dg403 ( !), , ( ).
!
s1e4:
, — , . :
![](https://habrastorage.org/webt/d-/zt/zx/d-ztzxtsrfxn3k3knlrhs8uutcm.png)
, :
![](https://habrastorage.org/webt/op/7y/b4/op7yb4ddok5w3bvzsgcgp8tcgv8.jpeg)
. : A,B,C Q. , A,B C , Q . , C , Q A:
![](https://habrastorage.org/webt/pv/wn/gg/pvwnggzxrvqcxsyb-b0axsxo4qy.png)
C , Q B, A:
![](https://habrastorage.org/webt/fj/ku/t1/fjkut1nbfjgjwjwhovsb0gqb2tk.png)
, C ? , Q , , , C . A B , , :
![](https://habrastorage.org/webt/2k/wp/rv/2kwprvpnoywk70ie3hrc2vuhrds.png)
C, , , . , , . , .
. .
, , D--. gated D-latch. , : D () E (enable). Q D E=1, E=0.
![](https://habrastorage.org/getpro/habr/post_images/f19/4f3/f2a/f194f3f2a5e42832aed2ecd55cb340e1.gif)
(flip-flop) (gated D-latch) :
![](https://habrastorage.org/getpro/habr/post_images/0a9/33d/8ae/0a933d8ae91280022abbafcca2ab3a1d.svg)
Master-slave edge-triggered D flip-flop.
, ? , --!
![](https://habrastorage.org/webt/vf/q2/tw/vfq2twzdu6mjhqaamolgxjtbjl0.png)
, PO ON. , . -5 A, , . , , . .
, , , :
s1e5: random-access memory
:
![](https://habrastorage.org/webt/lw/he/2q/lwhe2qotbi-ibauqurve1cxsxao.jpeg)
:
![](https://habrastorage.org/webt/b3/sg/nk/b3sgnkn_9xrvj5usyzcpovaglt8.png)
, A , Q , . , .
, 13 , . ? , 1--13:
![](https://habrastorage.org/webt/0t/e-/a2/0te-a2klrdklwa_hr-g4ddvhmww.png)
, — 3, 13, .
, 27 , 13. , , . 1:13 — 1:27:
![](https://habrastorage.org/webt/a-/2o/vo/a-2ovo7bhbxbteqrtvtxdlahumq.png)
, 1:13. ? , , , . , , . , . A Q.
— . , . , . — 1:13. . 151 !
![](https://habrastorage.org/webt/m1/vb/w8/m1vbw8cspt-3wbmewr7_nwscszg.png)
, :
, . , - .
如果您喜欢它,那么为了提高下一个赛季的期望,您可以立即尝试编写Triador,我为此专门准备了一个模拟器。
宇宙航行日快乐,再见!