The 1st gen TSX was based on the Japanese Accord (different than North American Accord) and is a true driver's car. Some mistakenly think it was based on the Civic but it was not. Honda got this one right.
The 2nd gen TSX is based on the NA Accord, I think. It replaced the TSX and TL. And while a nice car, it is totally different.