for simulation, (x + y) mod z will work for 32b signed integers. for larger values, or for synthesis, you would need to do the add + division/modulo. This tends to be a multi-cycle operation unless "z" is a constant. in which case the division can be approximated by a multiplication by constant.
There are IP cores and other simple methods for div/mod.