0831 add funcsim trace(not finish)