I use both.

I use "Have you ... ?" when time isn't a factor, and "Did you ... ?" when time is a factor. For example,
Past Simple (time is important; the "when")
I gave you this assignment last week. Did you do it?
Present Perfect (the act is important)
Take our your homework. Have you done it?
All the best.