A simulator of biochip design automation