cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alkaid
Newbie
Newbie
263 Views
Registered: ‎05-26-2019

How to modify Vitis HLS MAXI interface default address length

Jump to solution

I am using Vitis HLS 2020.2. The function below generated the m_axi interfaces (`weight` and `bias`) of 64 bits address. But in Vivado HLS 2019.2, they are 32 bits. How to get 32 bits address?

void conv(stream<AXIS_T> &in, stream<AXIS_T> &out,const half *weight,const half *bias, const Config &config) {
#pragma HLS INTERFACE m_axi port=weight offset=slave depth=1179648
#pragma HLS INTERFACE m_axi port=bias offset=slave depth=512
#pragma HLS INTERFACE axis port=out register_mode=both register
#pragma HLS INTERFACE axis port=in register_mode=both register
#pragma HLS INTERFACE s_axilite port=config
#pragma HLS INTERFACE s_axilite port=return
}

alkaid_0-1617717799224.png

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
1 Reply