[{"data":1,"prerenderedAt":297},["ShallowReactive",2],{"example-page-cpu":3},{"id":4,"info":5,"parts":6,"wired":38,"refs":39,"nets":40,"moreNets":295,"code":296},"cpu","A 4-bit accumulator computer from MOSFETs only: program counter (3 bits), mask ROM 8 × 5 bits (the program is in the arrangement of the transistors), 4-bit adder, multiplexers, accumulator register + carry flip-flop. Every rising clock edge executes one instruction: LOAD n (ACC = n) or ADD n (ACC = ACC + n), and the program counter advances. Program: LOAD 1, ADD 2, ADD 2, ADD 2, ADD 2, LOAD 0, ADD 3, ADD 3 → ACC 1 3 5 7 9 0 3 6, then from the start. Clock: automatic 2 Hz (switch AUTO) or button TAKT with AUTO open. RESET sets program counter and ACC to 0 (automatic at power-on). Green LEDs = ACC, yellow = carry. Output J1 (JST PH 7-pin): 1–4 = ACC D0–D3, 5 = STB (clock delayed by ≈7 µs: latch data on the rising STB edge), 6 = 5 V, 7 = GND, 5 V CMOS levels. Cable W1 leads to the TFT board (J2, board \"Display\"). Hard-wired gate control with counters, hex decoder and SPI shift register; no microcontroller, no firmware. The TFT shows the last output value as a hex digit.",[7,10,13,16,19,21,23,25,28,30,32,34,36],[8,9],"resistor",20,[11,12],"capacitor",7,[14,15],"led",5,[17,18],"button",2,[20,18],"jst_ph7",[22,18],"nmos",[24,18],"pmos",[26,27],"cable7",1,[29,27],"ldo",[31,27],"st7735_tft",[33,27],"switch",[35,27],"vdc",[37,27],"vpulse",false,{"C_RST":11,"C_STB":11,"D_ACC0":14,"D_ACC1":14,"D_ACC2":14,"D_ACC3":14,"D_CARRY":14,"J1":20,"QSB1n1":22,"QSB2n1":22,"R_CLK":8,"SW_RESET":17,"V_TAKT":37,"V1":35,"W1":26,"QSB1p1":24,"QSB2p1":24,"R_RST":8,"SW_TAKT":17,"R_ACC0":8,"R_ACC1":8,"R_ACC2":8,"R_ACC3":8,"SW_AUTO":33,"R_AUTO":8,"R_STB":8,"DC2":11,"DC3":11,"DC4":11,"DDS1":31,"DPOR":11,"DU1":29,"DR1":8,"DR2":8,"DR3":8,"DR4":8,"DR5":8,"DR6":8,"DR7":8,"DR8":8,"DRST":8,"DR9":8,"DR10":8,"DC1":11,"J2":20},[41,79,96,103,110,118,126,132,138,146,165,172,179,186,193,199,206,212,221,229,236,248,254,260,266,272,289],{"name":42,"pins":43},"GND",[44,47,49,52,54,56,58,60,63,66,68,70,72,75,77],[45,46],"C_RST","2",[48,46],"C_STB",[50,51],"D_ACC0","K",[53,51],"D_ACC1",[55,51],"D_ACC2",[57,51],"D_ACC3",[59,51],"D_CARRY",[61,62],"J1","7",[64,65],"QSB1n1","S",[67,65],"QSB2n1",[69,46],"R_CLK",[71,46],"SW_RESET",[73,74],"V_TAKT","−",[76,74],"V1",[78,62],"W1",{"name":80,"pins":81},"VDD",[82,84,86,88,91,93,95],[61,83],"6",[85,65],"QSB1p1",[87,65],"QSB2p1",[89,90],"R_RST","1",[92,90],"SW_TAKT",[76,94],"+",[78,83],{"name":97,"pins":98},"ACC0",[99,100,102],[61,90],[101,90],"R_ACC0",[78,90],{"name":104,"pins":105},"ACC1",[106,107,109],[61,46],[108,90],"R_ACC1",[78,46],{"name":111,"pins":112},"ACC2",[113,115,117],[61,114],"3",[116,90],"R_ACC2",[78,114],{"name":119,"pins":120},"ACC3",[121,123,125],[61,122],"4",[124,90],"R_ACC3",[78,122],{"name":127,"pins":128},"ACLK",[129,131],[130,90],"SW_AUTO",[73,94],{"name":133,"pins":134},"ACLK2",[135,137],[136,90],"R_AUTO",[130,46],{"name":139,"pins":140},"CLK",[141,142,143,145],[136,46],[69,90],[144,90],"R_STB",[92,46],{"name":147,"pins":148},"D_3V3",[149,151,153,155,158,160,162],[150,90],"DC2",[152,90],"DC3",[154,90],"DC4",[156,157],"DDS1","VCC",[156,159],"LED",[161,90],"DPOR",[163,164],"DU1","OUT",{"name":166,"pins":167},"D_D0_3V3",[168,170],[169,46],"DR1",[171,90],"DR2",{"name":173,"pins":174},"D_D1_3V3",[175,177],[176,46],"DR3",[178,90],"DR4",{"name":180,"pins":181},"D_D2_3V3",[182,184],[183,46],"DR5",[185,90],"DR6",{"name":187,"pins":188},"D_D3_3V3",[189,191],[190,46],"DR7",[192,90],"DR8",{"name":194,"pins":195},"D_RST",[196,197],[161,46],[198,90],"DRST",{"name":200,"pins":201},"D_STB_3V3",[202,204],[203,46],"DR9",[205,90],"DR10",{"name":207,"pins":208},"nRST",[209,210,211],[45,90],[89,46],[71,90],{"name":213,"pins":214},"nSTB",[215,217,218,220],[64,216],"D",[85,216],[67,219],"G",[87,219],{"name":222,"pins":223},"STB",[224,226,227,228],[61,225],"5",[67,216],[87,216],[78,225],{"name":230,"pins":231},"STBD",[232,233,234,235],[48,90],[64,219],[85,219],[144,46],{"name":237,"pins":238},"X_5V",[239,241,243,245,247],[240,90],"DC1",[163,242],"IN",[163,244],"EN",[246,83],"J2",[78,83],{"name":249,"pins":250},"X_D0",[251,252,253],[169,90],[246,90],[78,90],{"name":255,"pins":256},"X_D1",[257,258,259],[176,90],[246,46],[78,46],{"name":261,"pins":262},"X_D2",[263,264,265],[183,90],[246,114],[78,114],{"name":267,"pins":268},"X_D3",[269,270,271],[190,90],[246,122],[78,122],{"name":273,"pins":274},"X_GND",[275,276,277,278,279,280,281,282,283,284,285,286,287,288],[240,46],[150,46],[152,46],[154,46],[156,42],[171,46],[178,46],[185,46],[192,46],[205,46],[198,46],[163,42],[246,62],[78,62],{"name":290,"pins":291},"X_STB",[292,293,294],[203,90],[246,225],[78,225],0,null,1796304401061]