vivado中XADC和DDR3一起调用

vivado中同时调用XADC核和DDR3核时,会报错如下:
【place 30-99】 placer failed with error , there are more instances than sites for type XADC.

解决办法:将DDR3核中xadc部分设置为disable
vivado中XADC和DDR3一起调用_第1张图片
重新生成DDR3 IP核后例化代码里会新增device_temp_i,需要将XADC核采集到的温度值,即do_out[15:4],送给device_temp_i。
vivado中XADC和DDR3一起调用_第2张图片

xadc_temp
xadc_wiz_inst (
      .daddr_in(daddr_in[6:0]),
      .dclk_in(dclk_in),
      .den_in(den_in),
      .di_in(di_in[15:0]),
      .dwe_in(dwe_in),
 
      .vccaux_alarm_out(vccaux_alarm_out),
      .vccint_alarm_out(vccint_alarm_out),
      .user_temp_alarm_out(user_temp_alarm_out),
      .busy_out(busy_out),
      .channel_out(channel_out[4:0]),
      .do_out(do_out[15:0]),
      .drdy_out(drdy_out),
      .eoc_out(eoc_out),
      .eos_out(eos_out),
      .ot_out(ot_out),
      .alarm_out(alarm_out),
      .vp_in(vp_in),
      .vn_in(vn_in)
      );

你可能感兴趣的:(verilog)