It depends on your future plan. If you want to teach, then go for an integrated Ph.D. degree instead of an MTech from any institute. It will save you 1 year.
However, if you want a career in research then do a Mtech first and then go for your Ph.D. You can get your Ph.D. from other better institutes like some IIT.
An integrated Ph.D. will take a minimum of 6 years to complete. Getting the award depends a lot on your performance and your mentor. If your mentor is happy with your performance, you can get your degree done within 5 years too.
On the other hand, doing an M.Tech and a Ph.D. separately will take at least 7 years.
So, consider all these factors and choose what’s best for you.