typedef enum logic { Setup = 1'b0, // APB in Idle or Setup Access = 1'b1 // APB in Access } apb_state_e;