Quentin Tarantino's famous 'Top Gun' speech was originally written by the filmmaker and his friend, Roger Avary, for another project. The speech is fully scripted word by word used by Tarantino.
The "Top Gun" speech in Sleep with Me actually misquotes the real Top Gun script for intended humorous effect. Although Avary's speech claims that Iceman (Val Kilmer) says, "You can ride my tail any time" to Maverick (Tom Cruise) at the end of Top Gun, the character actually tells Maverick, "You can be my wingman any time."