Washington (CNN) A new political attack ad in the US Senate race in Texas from a famed filmmaker suggests that Ted Cruz should have taken President Donald Trump "out by the woodshed" if he wanted to be true to his campaign slogan, "Tough as Texas."

The ad released Monday directed by Richard Linklater, known for the films "Dazed and Confused" and "Boyhood," mirrors a notable scene in his 2011 dark comedy "Bernie" and features the same actor.

"Somebody left something on my door the other day that said, 'Ted Cruz. Tough as Texas,'" actor Sonny Carl Davis says in the campaign ad before laughing.

"I mean, come on. If somebody called my wife a dog and said my daddy was in on the Kennedy assassination, I wouldn't be kissing their ass," Davis says, shown seated in a diner.

He continues, pointing a finger and leaning into the camera, "You stick a finger in their chest and give 'em a few choice words. Or you drag their ass out by the woodshed and kick their ass, Ted. C'mon, Ted."