commenting chip analysis code