code: def add_net(self, net):
          
  
          self.sanity_check_net(net)
          self.logic.add(net)
docs: Add a net to the logic of the block.
  
          The passed net, which must be of type LogicNet, is checked and then
          added to the block.  No wires are added by this member, they must be
          added seperately with add_wirevector.