added parameters to bram slave