BinPy.ic package

Submodules

BinPy.ic.base module

This module includes all the base classes for different ICs.

class BinPy.ic.base.Base_14pin[source]

Bases: BinPy.ic.base.IC

This method takes base class for IC’s having 14 pins

setPin(pin_no, pin_value)[source]
setPinParam(pin_no, parm_dict)[source]
total_pins = 14
uses_pincls = False
class BinPy.ic.base.Base_16pin[source]

Bases: BinPy.ic.base.IC

This method takes base class for IC’s having 16 pins

SetPinParam(pin_no, parm_dict)[source]
setPin(pin_no, pin_value)[source]
total_pins = 16
uses_pincls = False
class BinPy.ic.base.Base_5pin[source]

Bases: BinPy.ic.base.IC

This method takes base class for IC’s having 5 pins

setPin(pin_no, pin_value)[source]
total_pins = 5
uses_pincls = False
class BinPy.ic.base.IC[source]

This is a base class for IC

drawIC()[source]
outputConnector = {}
setIC(param_dict)[source]

If pin class is not used this method then it takes a dictionary with the format { PINNO:PINVALUE, ... } Else it takes a dictionary of dictionaries with the format -> { PINNO:{PARAM1:VAL1, PARAM2:VAL2, ... }, PINNO2:{PARAM1:VAL1, PARAM2:VAL2, ... } , ... }

setOutput(index, value)[source]
class BinPy.ic.base.Pin(pin_no, param_dict={})[source]

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

setPinParam(param_dict)[source]
class BinPy.ic.base.logic(value=0)[source]

Implements methods of AND OR and EXOR using BinPy library Gate modules Remaps all basic python implementation of gates on variable of type bool to BinPy’s implementation of the same

BinPy.ic.base.pinlist_quick(first_arg)[source]

Defines a method to quickly convert a list of logic states to pin instances

BinPy.ic.series_4000 module

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]
class BinPy.ic.series_4000.IC_4000[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4001[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4002[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4008[source]

Bases: BinPy.ic.base.Base_16pin

4 Bit Binary Full Adder

run()[source]
class BinPy.ic.series_4000.IC_4009[source]

Bases: BinPy.ic.base.Base_16pin

Hex Inverter with Level Shifted output

run()[source]
class BinPy.ic.series_4000.IC_4010[source]

Bases: BinPy.ic.base.Base_16pin

Hex Buffer with Level Shifted output

run()[source]
class BinPy.ic.series_4000.IC_4011[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4012[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4013[source]

Bases: BinPy.ic.base.Base_14pin

CMOS Dual D type Flip Flop

run()[source]
class BinPy.ic.series_4000.IC_4015[source]

Bases: BinPy.ic.base.Base_16pin

Dual 4 Stage static shift Register

run()[source]
class BinPy.ic.series_4000.IC_4017[source]

Bases: BinPy.ic.base.Base_16pin

CMOS Counters

run()[source]
class BinPy.ic.series_4000.IC_4019[source]

Bases: BinPy.ic.base.Base_16pin

8-to-4 line non-inverting data selector/multiplexer with OR function

run()[source]
class BinPy.ic.series_4000.IC_4020[source]

Bases: BinPy.ic.base.Base_16pin

CMOS 14 BIT asynchornous binary counter with reset

run()[source]
class BinPy.ic.series_4000.IC_4022[source]

Bases: BinPy.ic.base.Base_16pin

CMOS Octal Counter

run()[source]
class BinPy.ic.series_4000.IC_4023[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4025[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4027[source]

Bases: BinPy.ic.base.Base_16pin

Dual JK flip flops with set and reset

run()[source]
class BinPy.ic.series_4000.IC_4028[source]

Bases: BinPy.ic.base.Base_16pin

1-of-10 no-inverting decoder/demultiplexer

run()[source]
class BinPy.ic.series_4000.IC_4029[source]

Bases: BinPy.ic.base.Base_16pin

4-bit synchronous binary/decade up/down counter

arraytoint(inputs)[source]
run()[source]
uses_pincls = None
self.setIC({1: {‘desc’: ‘Y4’},

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’}

})

class BinPy.ic.series_4000.IC_4030[source]

Bases: BinPy.ic.base.Base_14pin

Quad 2-input XOR gate

run()[source]
class BinPy.ic.series_4000.IC_4068[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4069[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4070[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4071[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4072[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4073[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4075[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4077[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4078[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4081[source]

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)

run()[source]
class BinPy.ic.series_4000.IC_4082[source]

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)

run()[source]

BinPy.ic.series_7400 module

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.

class BinPy.ic.series_7400.IC_7400[source]

Bases: BinPy.ic.base.Base_14pin

This is a QUAD 2 INPUT NAND gate IC Pin Configuration:

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 Y Output Gate 1 4 A Input Gate 2 5 B Input Gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 B Input Gate 3 10 A Input Gate 3 11 Y Output Gate 4 12 B Input Gate 4 13 A Input Gate 4 14 Positive Supply

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

To initialise the ic 7400:
  1. set pin 7:0
  2. set pin 14:1

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()
Methods:
pins = [None,0,0,None,0,0,None,0,None,0,0,None,0,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7401[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input open-collector NAND gate IC

run()[source]
class BinPy.ic.series_7400.IC_7402[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input NOR gate IC

Pin Configuration:

Pin Number Description
1 Y Output Gate 1 2 A Input Gate 1 3 B Input Gate 1 4 Y Output Gate 2 5 A Input Gate 2 6 B Input Gate 2 7 Ground 8 A Input Gate 3 9 B Input Gate 3 10 Y Output Gate 3 11 A Input Gate 4 12 B Input Gate 4 13 Y Output Gate 4 14 Positive Supply

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

To initialise the ic 7402:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,None,0,0,None,0,0,0,0,0,None,0,0,None,0]
run()[source]
class BinPy.ic.series_7400.IC_7403[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input open-collector NAND gate IC

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 Y Output Gate 1 4 A Input Gate 2 5 B Input Gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 B Input Gate 3 10 A Input Gate 3 11 Y Output Gate 4 12 B Input Gate 4 13 A Input Gate 4 14 Positive Supply

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

To initialise the ic 7403:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,None,0,0,None,0,None,0,0,None,0,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7404[source]

Bases: BinPy.ic.base.Base_14pin

This is a hex inverter IC

Pin Number Description
1 A Input Gate 1 2 Y Output Gate 1 3 A Input Gate 2 4 Y Output Gate 2 5 A Input Gate 3 6 Y Output Gate 3 7 Ground 8 Y Output Gate 4 9 A Input Gate 4 10 Y Output Gate 5 11 A Input Gate 5 12 Y Output Gate 6 13 A Input Gate 6 14 Positive Supply

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

To initialise the ic 7404:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,None,0,0,None,0,None,0,0,None,0,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7405[source]

Bases: BinPy.ic.base.Base_14pin

This is hex open-collector inverter IC

run()[source]
class BinPy.ic.series_7400.IC_7408[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2 input AND gate IC

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 Y Output Gate 1 4 A Input Gate 2 5 B Input Gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 B Input Gate 3 10 A Input Gate 3 11 Y Output Gate 4 12 B Input Gate 4 13 A Input Gate 4 14 Positive Supply

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

To initialise the ic 7408:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,None,0,0,None,0,None,0,0,None,0,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7410[source]

Bases: BinPy.ic.base.Base_14pin

This is a Triple 3 input NAND gate IC

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 A Input Gate 2 4 B Input Gate 2 5 C Input gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 A Input Case 3 10 B Input Case 3 11 C Input Case 3 12 Y Output Gate 1 13 C Input Gate 1 14 Positive Supply

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

To initialise the ic 7410:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,0,0,0,None,0,None,0,0,0,None,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7411[source]

Bases: BinPy.ic.base.Base_14pin

This is a Triple 3 input AND gate IC

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 A Input Gate 2 4 B Input Gate 2 5 C Input gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 A Input Case 3 10 B Input Case 3 11 C Input Case 3 12 Y Output Gate 1 13 C Input Gate 1 14 Positive Supply

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

To initialise the ic 7411:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,0,0,0,None,0,None,0,0,0,None,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7412[source]

Bases: BinPy.ic.base.Base_14pin

This is a Triple 3 input NAND gate IC with open collector outputs

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 A Input Gate 2 4 B Input Gate 2 5 C Input gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 A Input Case 3 10 B Input Case 3 11 C Input Case 3 12 Y Output Gate 1 13 C Input Gate 1 14 Positive Supply

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

To initialise the ic 7412:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,0,0,0,None,0,None,0,0,0,None,0,0]
run()[source]
class BinPy.ic.series_7400.IC_7413[source]

Bases: BinPy.ic.base.Base_14pin

This is a dual 4 input NAND gate IC

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 Not Connected 4 C Input Gate 1 5 D Input Gate 1 6 Y Output Gate 1 7 Ground 8 Y Output Gate 2 9 A Input Gate 2 10 B Input Gate 2 11 Not Connected 12 C Input Gate 2 13 D Input Gate 2 14 Positive Supply

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

To initialise the ic 7413:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,0,0,0,None,0,None,0,0,0,0,0,0]
run()[source]
class BinPy.ic.series_7400.IC_74133[source]

Bases: BinPy.ic.base.Base_16pin

This is a 13-input NAND gate

run()[source]
class BinPy.ic.series_7400.IC_74138[source]

Bases: BinPy.ic.base.Base_16pin

This is a 1:8 demultiplexer(3:8 decoder) with output being inverted input

run()[source]
class BinPy.ic.series_7400.IC_74139[source]

Bases: BinPy.ic.base.Base_16pin

This is a dual 1:4 demultiplexer(2:4 decoder) with output being inverted input

run()[source]
class BinPy.ic.series_7400.IC_7415[source]

Bases: BinPy.ic.base.Base_14pin

This is a Triple 3 input AND gate IC with open collector outputs

Pin Number Description
1 A Input Gate 1 2 B Input Gate 1 3 A Input Gate 2 4 B Input Gate 2 5 C Input Gate 2 6 Y Output Gate 2 7 Ground 8 Y Output Gate 3 9 A Input Gate 3 10 B Input Gate 3 11 C Input Gate 3 12 Y Output Gate 1 13 C Input Gate 1 14 Positive Supply

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

To initialise the ic 7415:
  1. set pin 7:0
  2. set pin 14:1

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()
Default pins:
pins = [None,0,0,0,0,0,None,0,None,0,0,0,None,0,0]
run()[source]
class BinPy.ic.series_7400.IC_74151A[source]

Bases: BinPy.ic.base.Base_16pin

This is 16-pin 8:1 multiplexer featuring complementary W and Y outputs

run()[source]
class BinPy.ic.series_7400.IC_74152[source]

Bases: BinPy.ic.base.Base_14pin

This is 14-pin 8:1 multiplexer with inverted input.

Pin Number Description

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

run()[source]
class BinPy.ic.series_7400.IC_74153[source]

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

run()[source]
class BinPy.ic.series_7400.IC_74155[source]

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

run()[source]
class BinPy.ic.series_7400.IC_74156[source]

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

run()[source]
class BinPy.ic.series_7400.IC_7416[source]

Bases: BinPy.ic.base.Base_14pin

This is a Hex open-collector high-voltage inverter

run()[source]
class BinPy.ic.series_7400.IC_7417[source]

Bases: BinPy.ic.base.Base_14pin

This is a Hex open-collector high-voltage buffer

run()[source]
class BinPy.ic.series_7400.IC_7418[source]

Bases: BinPy.ic.base.Base_14pin

This is a Dual 4-input NAND gates with schmitt-trigger inputs.

run()[source]
class BinPy.ic.series_7400.IC_7419[source]

Bases: BinPy.ic.base.Base_14pin

This is a Hex inverters with schmitt-trigger line-receiver inputs.

run()[source]
class BinPy.ic.series_7400.IC_741G00[source]

Bases: BinPy.ic.base.Base_5pin

This is a single 2 input NAND gate IC

run()[source]
class BinPy.ic.series_7400.IC_741G02[source]

Bases: BinPy.ic.base.Base_5pin

This is a single 2 input NOR gate IC

run()[source]
class BinPy.ic.series_7400.IC_741G03[source]

Bases: BinPy.ic.base.Base_5pin

This is a single 2 input NAND gate IC

run()[source]
class BinPy.ic.series_7400.IC_741G04[source]

Bases: BinPy.ic.base.Base_5pin

This is a single inverter IC

run()[source]
class BinPy.ic.series_7400.IC_741G05[source]

Bases: BinPy.ic.base.Base_5pin

This is a single input NOT gate IC

run()[source]
class BinPy.ic.series_7400.IC_741G08[source]

Bases: BinPy.ic.base.Base_5pin

This is a single 2 input AND gate IC

run()[source]
class BinPy.ic.series_7400.IC_7420[source]

Bases: BinPy.ic.base.Base_14pin

This is a dual 4-input NAND gate

run()[source]
class BinPy.ic.series_7400.IC_7421[source]

Bases: BinPy.ic.base.Base_14pin

This is a dual 4-input AND gate

run()[source]
class BinPy.ic.series_7400.IC_7422[source]

Bases: BinPy.ic.base.Base_14pin

This is a dual 4-input NAND gate with open collector outputs

run()[source]
class BinPy.ic.series_7400.IC_7424[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input NAND gates with schmitt-trigger line-receiver inputs

run()[source]
class BinPy.ic.series_7400.IC_7425[source]

Bases: BinPy.ic.base.Base_14pin

This is a Dual 5-Input NOR Gate with Strobe

run()[source]
class BinPy.ic.series_7400.IC_7426[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input open-collector high-voltage NAND gates.

run()[source]
class BinPy.ic.series_7400.IC_74260[source]

Bases: BinPy.ic.base.Base_14pin

This is a dual 5-input NOR gate

run()[source]
class BinPy.ic.series_7400.IC_7427[source]

Bases: BinPy.ic.base.Base_14pin

This is a Triple 3-Input NOR Gate

run()[source]
class BinPy.ic.series_7400.IC_7428[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input NOR gates with buffered outputs.

run()[source]
class BinPy.ic.series_7400.IC_7430[source]

Bases: BinPy.ic.base.Base_14pin

This is a 8-Input NAND Gate

run()[source]
class BinPy.ic.series_7400.IC_7431[source]

Bases: BinPy.ic.base.Base_16pin

This is a Hex delay element.

run()[source]
class BinPy.ic.series_7400.IC_7432[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-Input OR Gate

run()[source]
class BinPy.ic.series_7400.IC_7433[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input open-collector NOR gate

run()[source]
class BinPy.ic.series_7400.IC_7437[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-input NAND gates with buffered output

run()[source]
class BinPy.ic.series_7400.IC_7438[source]

Bases: BinPy.ic.base.Base_14pin

This is a Quad 2-Input NAND Buffer with Open Collector Output

run()[source]
class BinPy.ic.series_7400.IC_7440[source]

Bases: BinPy.ic.base.Base_14pin

This is a Dual 4-Input NAND Buffer

run()[source]
class BinPy.ic.series_7400.IC_7442[source]

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

run()[source]
class BinPy.ic.series_7400.IC_7443[source]

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

run()[source]
class BinPy.ic.series_7400.IC_7444[source]

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

run()[source]
class BinPy.ic.series_7400.IC_7445[source]

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

run()[source]
class BinPy.ic.series_7400.IC_7451[source]

Bases: BinPy.ic.base.Base_14pin

This is a dual 2-wide 2-input AND-OR Invert gate

run()[source]
class BinPy.ic.series_7400.IC_7454[source]

Bases: BinPy.ic.base.Base_14pin

This is a 4-wide 2-input AND-OR Invert gate

run()[source]
class BinPy.ic.series_7400.IC_7455[source]

Bases: BinPy.ic.base.Base_14pin

This is a 4-wide 2-input AND-OR Invert gate

run()[source]
class BinPy.ic.series_7400.IC_7458[source]

Bases: BinPy.ic.base.Base_14pin

This is a 2-input and 3-input AND-OR gate

run()[source]
class BinPy.ic.series_7400.IC_7464[source]

Bases: BinPy.ic.base.Base_14pin

This is a 4-2-3-2 input AND-OR-invert gate

run()[source]
class BinPy.ic.series_7400.IC_7470[source]

Bases: BinPy.ic.base.Base_14pin

AND gated JK Positive Edge triggered Flip Flop with preset and clear

run()[source]
class BinPy.ic.series_7400.IC_7472[source]

Bases: BinPy.ic.base.Base_14pin

AND gated JK Master-Slave Flip Flop with preset and clear

run()[source]
class BinPy.ic.series_7400.IC_7473[source]

Bases: BinPy.ic.base.Base_14pin

DUAL JK Flip Flops with clear

run()[source]
class BinPy.ic.series_7400.IC_7474[source]

Bases: BinPy.ic.base.Base_14pin

Dual D-Type Positive-Edge-Triggered Flip-Flops with preset and clear

run()[source]
class BinPy.ic.series_7400.IC_7475[source]

Bases: BinPy.ic.base.Base_16pin

4-Bit Bistable Latches

run()[source]
class BinPy.ic.series_7400.IC_7476[source]

Bases: BinPy.ic.base.Base_16pin

Dual JK Flip Flop with preset and clear

run()[source]
class BinPy.ic.series_7400.IC_7483[source]

Bases: BinPy.ic.base.Base_16pin

This is a 4-bit full adder with fast carry

run()[source]
class BinPy.ic.series_7400.IC_7486[source]

Bases: BinPy.ic.base.Base_14pin

This is a quad 2-input exclusive OR gate

run()[source]

Module contents

Table Of Contents

Previous topic

BinPy.dev package

Next topic

BinPy.tools package

This Page