if(afi_rd_ctl[0]&&was_ct_addr){ct_data_ram[{int_data_addr,1'b1}],ct_data_ram[{int_data_addr,1'b0}]}<=afi_rdata;// make sure it is synthesized correctly
if(afi_rd_ctl[0]&&is_ct_addr){ct_data_ram[{int_data_addr,1'b1}],ct_data_ram[{int_data_addr,1'b0}]}<=afi_rdata;// make sure it is synthesized correctly