To make it work, I set the (AR/AW)CACHE=0x11 and (AR/AW)PROT=0x00. In the CDMA datasheet, these were the recommended values, which I confirmed with ChipScope, when attached to CDMA's master port.
The default values set by VHLS were 0x00 and 0x10 respectively, which is also the case in the last post.
Alex
*/
wireaw_nempty;
wirew_nempty;
reg[11:0]next_wr_address_w;// bits that are incremented in 32-bit mode (higher are kept according to AXI 4KB inc. limit)
reg[31:0]write_address;
wirefifo_wd_rd;// read data fifo
wirelast_confirmed_write;
wire[5:0]awid_out;// verify it matches wid_out when outputting data
wire[1:0]awburst_out;
wire[1:0]awsize_out;
wire[3:0]awlen_out;
wire[31:0]awaddr_out;
wire[5:0]wid_out;
wirewlast_out;
wire[3:0]wstrb_out;
wire[31:0]wdata_out;
regfifo_data_we_d;
regfifo_addr_we_d;
reg[3:0]write_left;
reg[1:0]wburst;// registered burst type
reg[3:0]wlen;// registered awlen type (for wrapped over transfers)
reg[1:0]wsize;
wirestart_write_burst_w;
wirewrite_in_progress_w;// should go inactive last confirmed upstream cycle
regwrite_in_progress;
reg[7:0]num_full_data=0;// Number of full data bursts in FIFO
wire[5:0]wresp_num_in_fifo;
regwas_wresp_re=0;
wirewresp_re;
wire[AW_FIFO_DEPTH:0]wacount;
wire[W_FIFO_DEPTH:0]wcount;
// documentation sais : "When set, allows the priority of a transaction at the head of the WrCmdQ to be promoted if higher
// priority transactions are backed up behind it." Whqt about demotion? Assuming it is not demoted
assignaresetn=~rst;// probably not needed at all - docs say "do not use"