Not sure, are you meaning the pipe instead of the gate for access? 80 cm does sound quite a long distance to me, but have never tried to see. But, I’m not sure you will be able to keep cats out of your garden if hogs can get it. They can squeeeze through susrprisingly small holes. Cats are also quite good at jumping over gates.
But if I was going to have raised beds, I would try to make some sort of ramps so that the hogs could access the tops of the beds for foraging, etc.