is "Tag Buffer" system memory or on-chip memory

The Tag Buffer is used by ISP to track all visible fragments and the primitives that they belong to.

Please see this topic for more information .

The Tag Buffer is kept on-chip - we’ll look to make this more clear in the document for the future.