How to create a sine wave generator module?

Hello,
I’m trying to test a BPF that gets an input of a sinewave.
So in order to create the sinewave, I need to create a new module.
I found something online, but with frequencies above 1MHz it doesn’t work, even after trying to change the timescale and time related parameters:

So maybe there’s a better way to create a sine wave? Or maybe a way to tweak this module to work?

Thanks