Regarding Write strobe logic implementation of AXI4

How can we implement write strobe logic in axi 4 obviously on master side? Can any one help me with the code snippet and explain the logic for the same.It would be a great help to me.

Thanking you in Advance

In reply to laksh:

Please read the AXI4 spec and implement accordingly in the driver.