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
*/
reg[3:0]WrDataThreshold='hf;
reg[1:0]WrCmdReleaseMode=0;
regwrQosHeadOfCmdQEn=0;
regwrFabricOutCmdEn=0;
regwrFabricQosEn=0;
regwr32BitEn=0;// verify it i 0
reg[2:0]wrIssueCap1=0;
reg[2:0]wrIssueCap0=7;
reg[3:0]staticQos=0;
wire[3:0]wr_qos_in;
wire[3:0]wr_qos_out;
wireaw_nempty;
wirew_nempty;
wireenough_data;// enough data to start a new burst
wire[11:3]next_wr_address;// bits that are incrtemented in 64-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[2:0]awsize_out;// verify it is 3'h3
wire[3:0]awlen_out;
wire[31:0]awaddr_out;
wire[5:0]wid_out;
wire[7:0]wstrb_out;
wire[63: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)
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;
// 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