Apb i2c project

Im working on a project in which there is an rtl of a bridge for connecting apb master to an i2c slave. I have 2 separate fifo’s, tx for collecting the witten data(32 bit) from apb master and rx, from where I should read the data as 8 bit. Is this possible? if so how to do it in uvm ??