This module includes all the base classes for different ICs.
Bases: BinPy.ic.base.IC
This method takes base class for IC’s having 14 pins
Bases: BinPy.ic.base.IC
This method takes base class for IC’s having 16 pins
Bases: BinPy.ic.base.IC
This method takes base class for IC’s having 5 pins
This is a base class for IC
Pin class for defining a particular pin of an IC
Sample param_dict for a pin : { ‘value’:0, ‘desc’:’IN1: Input 1 of Mux’, ‘can_vary’:True }
First 3 characters of desc will be used as pin_tag
This module has all the classes of ICs belonging to 4000 series.
Please note that the length of list self.pins is 1 more than the number of actual pins. This is so because pin0 is not used as a general term referring to the first pin of the IC. Zeroth index of the self.pins is not being used.
ICs in this module: [4000, 4001, 4002, 4008, 4009, 4010, 4011, 4012, 4013, 4015, 4017, 4019, 4020, 4023, 4025, 4068, 4069, 4070, 4071, 4072, 4073
4075, 4077, 4078, 4081, 4082]
Bases: BinPy.ic.base.Base_14pin
Dual 3 Input NOR gate + one NOT gate IC. Pin_6 = NOR(Pin_3, Pin_4, Pin_5) Pin_10 = NOR(Pin_11, Pin_12, Pin_13) Pin_9 = NOT(Pin_8)
Bases: BinPy.ic.base.Base_14pin
Quad 2 input NOR gate Pin_3 = NOR(Pin_1, Pin_2) Pin_4 = NOR(Pin_5, Pin_6) Pin_10 = NOR(Pin_8, Pin_9) Pin_11 = NOR(Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Dual 4 input NOR gate Pin_1 = NOR(Pin_2, Pin_3, Pin_4, Pin_5) Pin_13 = NOR(Pin_9, Pin_10, Pin_11, Pin_12)
Bases: BinPy.ic.base.Base_16pin
4 Bit Binary Full Adder
Bases: BinPy.ic.base.Base_16pin
Hex Inverter with Level Shifted output
Bases: BinPy.ic.base.Base_16pin
Hex Buffer with Level Shifted output
Bases: BinPy.ic.base.Base_14pin
Quad 2 input NAND gate Pin_3 = NAND(Pin_1, Pin_2) Pin_4 = NAND(Pin_5, Pin_6) Pin_10 = NAND(Pin_8, Pin_9) Pin_11 = NAND(Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Dual 4 input NAND gate Pin_1 = NAND(Pin_2, Pin_3, Pin_4, Pin_5) Pin_13 = NAND(Pin_9, Pin_10, Pin_11, Pin_12)
Bases: BinPy.ic.base.Base_14pin
CMOS Dual D type Flip Flop
Bases: BinPy.ic.base.Base_16pin
Dual 4 Stage static shift Register
Bases: BinPy.ic.base.Base_16pin
CMOS Counters
Bases: BinPy.ic.base.Base_16pin
8-to-4 line non-inverting data selector/multiplexer with OR function
Bases: BinPy.ic.base.Base_16pin
CMOS 14 BIT asynchornous binary counter with reset
Bases: BinPy.ic.base.Base_16pin
CMOS Octal Counter
Bases: BinPy.ic.base.Base_14pin
Triple 3 input NAND gate Pin_6 = NAND(Pin_3, Pin_4, Pin_5) Pin_9 = NAND(Pin_1, Pin_2, Pin_8) Pin_10 = NAND(Pin_11, Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Triple 3 input NOR gate Pin_6 = NOR(Pin_3, Pin_4, Pin_5) Pin_9 = NOR(Pin_1, Pin_2, Pin_8) Pin_10 = NOR(Pin_11, Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_16pin
Dual JK flip flops with set and reset
Bases: BinPy.ic.base.Base_16pin
1-of-10 no-inverting decoder/demultiplexer
Bases: BinPy.ic.base.Base_16pin
4-bit synchronous binary/decade up/down counter
2: {‘desc’: ‘Y2’}, 3: {‘desc’: ‘Y0’}, 4: {‘desc’: ‘Y7’}, 5: {‘desc’: ‘Y9’}, 6: {‘desc’: ‘Y5’}, 7: {‘desc’: ‘Y6’}, 8: {‘desc’: ‘GND’}, 9: {‘desc’: ‘Y8’}, 10: {‘desc’: ‘S0’}, 11: {‘desc’: ‘S3’}, 12: {‘desc’: ‘S2’}, 13: {‘desc’: ‘S1’}, 14: {‘desc’: ‘Y1’}, 15: {‘desc’: ‘Y3’}, 16: {‘desc’: ‘VCC’}
})
Bases: BinPy.ic.base.Base_14pin
Quad 2-input XOR gate
Bases: BinPy.ic.base.Base_14pin
8 input NAND gate Pin_13 = NAND(Pin_2, Pin_3, Pin_4, Pin_5, Pin_9, Pin_10, Pin_11, Pin_12)
Bases: BinPy.ic.base.Base_14pin
Hex NOT gate Pin_2 = NOT(Pin_1) Pin_4 = NOT(Pin_3) Pin_6 = NOT(Pin_5) Pin_8 = NOT(Pin_9) Pin_10 = NOT(Pin_11) Pin_12 = NOT(Pin_13)
Bases: BinPy.ic.base.Base_14pin
Quad 2 input XOR gate Pin_3 = XOR(Pin_1, Pin_2) Pin_4 = XOR(Pin_5, Pin_6) Pin_10 = XOR(Pin_8, Pin_9) Pin_11 = XOR(Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Quad 2 input OR gate Pin_3 = OR(Pin_1, Pin_2) Pin_4 = OR(Pin_5, Pin_6) Pin_10 = OR(Pin_8, Pin_9) Pin_11 = OR(Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Dual 4 input OR gate Pin_1 = OR(Pin_2, Pin_3, Pin_4, Pin_5) Pin_13 = OR(Pin_9, Pin_10, Pin_11, Pin_12)
Bases: BinPy.ic.base.Base_14pin
Triple 3 input AND gate Pin_6 = AND(Pin_3, Pin_4, Pin_5) Pin_9 = AND(Pin_1, Pin_2, Pin_8) Pin_10 = AND(Pin_11, Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Triple 3 input OR gate Pin_6 = OR(Pin_3, Pin_4, Pin_5) Pin_9 = OR(Pin_1, Pin_2, Pin_8) Pin_10 = OR(Pin_11, Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Quad 2 input XNOR gate Pin_3 = XNOR(Pin_1, Pin_2) Pin_4 = XNOR(Pin_5, Pin_6) Pin_10 = XNOR(Pin_8, Pin_9) Pin_11 = XNOR(Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
8 input NOR gate Pin_13 = NOR(Pin_2, Pin_3, Pin_4, Pin_5, Pin_9, Pin_10, Pin_11, Pin_12)
Bases: BinPy.ic.base.Base_14pin
Quad 2 input AND gate Pin_3 = AND(Pin_1, Pin_2) Pin_4 = AND(Pin_5, Pin_6) Pin_10 = AND(Pin_8, Pin_9) Pin_11 = AND(Pin_12, Pin_13)
Bases: BinPy.ic.base.Base_14pin
Dual 4 input AND gate Pin_1 = AND(Pin_2, Pin_3, Pin_4, Pin_5) Pin_13 = AND(Pin_9, Pin_10, Pin_11, Pin_12)
This module has all the classes of ICs belonging to 7400 series.
Please note that the length of list self.pins is 1 more than the number of actual pins. This is so because pin0 is not used as a general term referring to the first pin of the IC. Zeroth index of the self.pins is not being used.
Bases: BinPy.ic.base.Base_14pin
This is a QUAD 2 INPUT NAND gate IC Pin Configuration:
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7400()
>>> pin_config = {1: 1, 2: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 12: 0, 13: 0, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input open-collector NAND gate IC
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input NOR gate IC
Pin Configuration:
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7402()
>>> pin_config = {2: 0, 3: 0, 5: 0, 6: 1, 7: 0, 8: 1, 9: 1, 11: 1, 12: 1, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input open-collector NAND gate IC
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7403()
>>> pin_config = {1: 1, 2: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 12: 0, 13: 0, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a hex inverter IC
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7404()
>>> pin_config = {1: 1, 3: 0, 5: 0, 7: 0, 9: 0, 11: 0, 13: 1, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is hex open-collector inverter IC
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2 input AND gate IC
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7408()
>>> pin_config = {1: 1, 2: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 12: 0, 13: 0, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a Triple 3 input NAND gate IC
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7410()
>>> pin_config = {1: 1, 2: 0, 3: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 11: 1, 13: 0, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a Triple 3 input AND gate IC
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7411()
>>> pin_config = {1: 1, 2: 0, 3: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 11: 1, 13: 0, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a Triple 3 input NAND gate IC with open collector outputs
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7412()
>>> pin_config = {1: 1, 2: 0, 3: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 11: 1, 13: 0, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_14pin
This is a dual 4 input NAND gate IC
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7413()
>>> pin_config = {1: 1, 2: 0, 4: 0, 5: 0, 7: 0, 9: 1, 10: 1, 12: 1, 13: 1, 14: 1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_16pin
This is a 13-input NAND gate
Bases: BinPy.ic.base.Base_16pin
This is a 1:8 demultiplexer(3:8 decoder) with output being inverted input
Bases: BinPy.ic.base.Base_16pin
This is a dual 1:4 demultiplexer(2:4 decoder) with output being inverted input
Bases: BinPy.ic.base.Base_14pin
This is a Triple 3 input AND gate IC with open collector outputs
This class needs 14 parameters. Each parameter being the pin value. The input has to be defined as a dictionary with pin number as the key and its value being either 1 or 0
How to use:
>>> ic = IC_7415()
>>> pin_config = {1:1, 2:0, 3:0, 4:0, 5:0, 7:0, 9:1, 10:1, 11:1, 13:0, 14:1}
>>> ic.setIC(pin_cofig)
>>> ic.drawIC()
>>> ic.run()
>>> ic.setIC(ic.run())
>>> ic.drawIC()
Bases: BinPy.ic.base.Base_16pin
This is 16-pin 8:1 multiplexer featuring complementary W and Y outputs
Bases: BinPy.ic.base.Base_14pin
This is 14-pin 8:1 multiplexer with inverted input.
1 D4 2 D3 3 D2 4 D1 5 D0 6 Output W 7 Ground 8 select line C 9 select line B 10 select line A 11 D7 12 D6 13 D5 14 Positive Supply
Selectlines = CBA and Inputlines = D0 D1 D2 D3 D4 D5 D6 D7
Bases: BinPy.ic.base.Base_16pin
This is 16-pin dual 4:1 multiplexer with output same as the input.
Pin Number Description 1 Strobe1 2 Select line B 3 1C3 4 1C2 5 1C1 6 1C0 7 1Y - OUTPUT1 8 Ground 9 2Y - OUTPUT2 10 2C0 11 2C1 12 2C2 13 2C3 14 Select line A 15 Strobe2 16 Positive Supply
Selectlines = BA ; Inputlines1 = 1C0 1C1 1C2 1C3 ; Inputlines2 = 2C0 2C1 2C2 2C3
Bases: BinPy.ic.base.Base_16pin
This is a dual 1:4 demultiplexer(2:4 decoder) with one output being inverted input while the other same as the input
Bases: BinPy.ic.base.Base_16pin
This is a dual 1:4 demultiplexer(2:4 decoder) with one output being inverted input while the other same as the input with open collector
Bases: BinPy.ic.base.Base_14pin
This is a Hex open-collector high-voltage inverter
Bases: BinPy.ic.base.Base_14pin
This is a Hex open-collector high-voltage buffer
Bases: BinPy.ic.base.Base_14pin
This is a Dual 4-input NAND gates with schmitt-trigger inputs.
Bases: BinPy.ic.base.Base_14pin
This is a Hex inverters with schmitt-trigger line-receiver inputs.
Bases: BinPy.ic.base.Base_5pin
This is a single 2 input NAND gate IC
Bases: BinPy.ic.base.Base_5pin
This is a single 2 input NOR gate IC
Bases: BinPy.ic.base.Base_5pin
This is a single 2 input NAND gate IC
Bases: BinPy.ic.base.Base_5pin
This is a single inverter IC
Bases: BinPy.ic.base.Base_5pin
This is a single input NOT gate IC
Bases: BinPy.ic.base.Base_5pin
This is a single 2 input AND gate IC
Bases: BinPy.ic.base.Base_14pin
This is a dual 4-input NAND gate
Bases: BinPy.ic.base.Base_14pin
This is a dual 4-input AND gate
Bases: BinPy.ic.base.Base_14pin
This is a dual 4-input NAND gate with open collector outputs
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input NAND gates with schmitt-trigger line-receiver inputs
Bases: BinPy.ic.base.Base_14pin
This is a Dual 5-Input NOR Gate with Strobe
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input open-collector high-voltage NAND gates.
Bases: BinPy.ic.base.Base_14pin
This is a dual 5-input NOR gate
Bases: BinPy.ic.base.Base_14pin
This is a Triple 3-Input NOR Gate
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input NOR gates with buffered outputs.
Bases: BinPy.ic.base.Base_14pin
This is a 8-Input NAND Gate
Bases: BinPy.ic.base.Base_16pin
This is a Hex delay element.
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-Input OR Gate
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input open-collector NOR gate
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-input NAND gates with buffered output
Bases: BinPy.ic.base.Base_14pin
This is a Quad 2-Input NAND Buffer with Open Collector Output
Bases: BinPy.ic.base.Base_14pin
This is a Dual 4-Input NAND Buffer
Bases: BinPy.ic.base.Base_16pin
This is a BCD to Decimal decoder BCD Digits are in order of A B C D where pin 15 = A, pin 12 = D
Bases: BinPy.ic.base.Base_16pin
This is an excess-3 to Decimal decoder Excess-3 binary digits are in order of A B C D, where pin 15 = A and pin 12 = D
Bases: BinPy.ic.base.Base_16pin
This is an excess-3 gray code to Decimal decoder Excess-3 gray code digits are in order of A B C D, where pin 15 = A and pin 12 = D
Bases: BinPy.ic.base.Base_16pin
This is a Four-to-Ten (BCD to Decimal) DECODER datasheet at http://www.skot9000.com/ttl/datasheets/45.pdf
Bases: BinPy.ic.base.Base_14pin
This is a dual 2-wide 2-input AND-OR Invert gate
Bases: BinPy.ic.base.Base_14pin
This is a 4-wide 2-input AND-OR Invert gate
Bases: BinPy.ic.base.Base_14pin
This is a 4-wide 2-input AND-OR Invert gate
Bases: BinPy.ic.base.Base_14pin
This is a 2-input and 3-input AND-OR gate
Bases: BinPy.ic.base.Base_14pin
This is a 4-2-3-2 input AND-OR-invert gate
Bases: BinPy.ic.base.Base_14pin
AND gated JK Positive Edge triggered Flip Flop with preset and clear
Bases: BinPy.ic.base.Base_14pin
AND gated JK Master-Slave Flip Flop with preset and clear
Bases: BinPy.ic.base.Base_14pin
DUAL JK Flip Flops with clear
Bases: BinPy.ic.base.Base_14pin
Dual D-Type Positive-Edge-Triggered Flip-Flops with preset and clear
Bases: BinPy.ic.base.Base_16pin
4-Bit Bistable Latches
Bases: BinPy.ic.base.Base_16pin
Dual JK Flip Flop with preset and clear
Bases: BinPy.ic.base.Base_16pin
This is a 4-bit full adder with fast carry
Bases: BinPy.ic.base.Base_14pin
This is a quad 2-input exclusive OR gate