The use of the Present Perfect is often because there is information (often implied and unstated) about the present. The Past Simple describes finished time (not necessarily finished actions) [Eg I was at home yesterday and I am at home today].
Anyways... consider this scenario - similar to your question:
Teacher "Class, have you done your homework? Because I want to talk about it now"
Teacher "Class, did you do your homework? Good. Today I want to..."
[Main source: M. Lewis "The English Verb"]
So, as others have stated both are possible. It is important to remember that in English it is not the action that determines the tense, but the message the speaker wants to communicate.