How can i use the divider_generator from vivado ip catalog

its a simple IP that just divides two

numbers and returns quotient,

and remainder.

could someone provide example code?

Where are you getting stuck? Have you generated the core for your project already?