anchor.diff:  #  preventing any array overruns
   ##############################################################################
   
  -
  -
   #  if value of any array sizing param is higher than maxpins - reset maxpins
       for name, type, array, dir, value in pins:
           setmax(array)
   
  -    for name, type, array, dir, value in params:
  +    for name, type, array, dir, value in pin_ptrs:
           setmax(array)
   
  -    for type, name, array, value in variables:
  -        setmax(array)
  -
  +########################################################################
       if maxpins :
           have_maxpins = True
   
  
positive.code: 
  ###  Get the values from the instanceparams ############################################################
  
      for name, mptype, value in instanceparams:
          if (name == 'pincount') or (name == 'iprefix'):
              if name == 'pincount':
                  if value != None:
                      numpins = int(value)
                      have_numpins = True
                      iplist.append(name)
                      ipvlist.append(int(value))
              if name == 'iprefix':
                  if value != None:
                      iprefix_string = to_noquotes(value)
                      have_iprefix = True
  
          ## int instanceparams could be used an array size specifiers, so store them in iplist
          else :
              if (mptype == 'int'):
                  iplist.append(name)
                  if value == None: v = 0
                  else: v = int(value)
                  ipvlist.append(v)
  
  ###  Now set max and default pincount sizes  ###############################################################
  
      if have_numpins :  # if pincount being used
          if (not options.get("MAXCOUNT")) :
  
negative.code:                 print >>f, "*%s.N.%s.funct*" % (comp_name, to_hal(name)) ,
              else :
                  print >>f, "*%s.N.funct*" % comp_name ,
              print >>f, "\n( OR"
              if name != None and name != "_":
                  print >>f, "*<newinstname>.%s.funct*"  % to_hal(name) ,
              else :
  