📄 fourbitadder.cir
字号:
4 bit adder* Models:.MODEL dmod D.MODEL qmod NPN(BF=75 RB=100 CJE=1PF CJC=3PF).SUBCKT NAND 1 2 3 4* noeuds: entrees(2) sortie vccq1 9 5 1 qmodd1clamp 0 1 dmodq2 9 5 2 qmodd2clamp 0 2 dmodrb 4 5 4kr1 4 6 1.6kq3 6 9 8 qmodr2 8 0 1krc 4 7 130 q4 7 6 10 qmoddvbedrop 10 3 dmodq5 3 8 0 qmod.ends NAND .SUBCKT ONEBIT 1 2 3 4 5 6 * noeuds entrees(2) ,carryin, sortie, carryout, vccx1 1 2 7 6 NANDx2 1 7 8 6 NANDx3 2 7 9 6 NANDx4 8 9 10 6 NANDx5 3 10 11 6 NAND x6 3 11 12 6 NANDx7 10 11 13 6 NANDx8 12 13 4 6 NANDx9 11 7 5 6 NAND.ends ONEBIT.SUBCKT TWOBIT 1 2 3 4 5 6 7 8 9* noeuds x1 1 2 7 5 10 9 ONEBITx2 3 4 10 6 8 9 ONEBIT.ends TWOBIT.SUBCKT FOURBIT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15x1 1 2 3 4 9 10 13 16 15 TWOBITx2 5 6 7 8 11 12 16 14 15 TWOBIT.ends FOURBIT* Inputs/Supplies:vcc 99 0 DC 5VVIN1A 1 0 DC 0 pulse(0 3 0 10ns 10ns 10ns 50ns)VIN1B 2 0 DC 0 pulse(0 3 0 10ns 10ns 20ns 100ns)VIN2A 3 0 DC 0 pulse(0 3 0 10ns 10ns 40ns 200ns)VIN2B 4 0 DC 0 pulse(0 3 0 10ns 10ns 80ns 400ns)VIN3A 5 0 DC 0 pulse(0 3 0 10ns 10ns 160ns 800ns)VIN3B 6 0 DC 0 pulse(0 3 0 10ns 10ns 320ns 1600ns)VIN4A 7 0 DC 0 pulse(0 3 0 10ns 10ns 640ns 3200ns)VIN4B 8 0 DC 0 pulse(0 3 0 10ns 10ns 1280ns 6400ns)* Circuit description:x1 1 2 3 4 5 6 7 8 9 10 11 12 0 13 99 FOURBITrbit0 9 0 1krbit1 10 0 1krbit2 11 0 1krbit3 12 0 1krcout 13 0 1k* Analysys:.tran 1ns 6ns.print tran v(1).end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -