Vivado使用与注意事项

dcp网表

dcp网表不需要附加一个.v/.vhd的文件,直接使用,ngc网表才需要。

using cached ip status

在tcl console下输入,或者在Project Setting > IP > Clear Cache

config_ip_cache -clear_output_repo

然后Regenerate IP。

tcl

write_cfgmem -force -format BIN -interface BPIx16 -size 128 -loadbit "up 0x0 E:/project/vivado2015.2.1/finace_xc7k325t/finace_xc7k325t.runs/impl_1/finace_wrapper.bit" E:/project/vivado2015.2.1/finace_xc7k325t/finace_xc7k325t.runs/impl_1/finace_wrapper.bin
copy /y E:\project\vivado2015.2.1\finace\finace.runs\impl_1\finace_wrapper.bit C:\project\boot\finace
copy /y E:\project\vivado2015.2.1\finace_1_10g_toe\finace.runs\impl_1\finace_wrapper.bit C:\project\boot\finace

[Place 30-69] Instance mig_7series_0 … is unplaced after IO placer

Block Design中MIG的DDR3信号管脚忘记从顶层模块导出了。

[Shape Builder 18-140] Failed to build a LUTNM shape for instances

[Shape Builder 18-140] Failed to build a LUTNM shape

Do you have LUTNM constraints? I see that its a synthesis critical warning.
It just letting the user know about the decision that the synthesizer is making.
If you are not getting any error in implementation flow, its ok to ignore this.

IP设置没法更改

生成IP后,无法立刻更改IP参数配置,此时IP配置窗口的OK键是无法点击的,因为刚生成的IP正在编译。

保存和显示波形文件

write_hw_ila_data -force E:/project/vivado2015.2.1/finace/tcp_ila_data [upload_hw_ila_data hw_ila_1]
open_hw # 等同于点击按钮Hardware Manager
read_hw_ila_data E:/project/vivado2015.2.1/finace/tcp_ila_data.ila
display_hw_ila_data

xdc

xdc文件的注释使用#,必须另起一行,不能在行末尾加注释。

Verilog语法检查能力差

变量声明必须在处理之前,否则,vivado不报错,直接把process reg a部分优化掉,所以建议所以变量都声明在文件顶部,同理,s_axis_tdata_csum如果不声明,也不报错,被vivado当作s_axis_tdata_csum = 0处理,

always @(...) begin
  process reg a
end
reg a;

assign s_axis_tdata_csum = s_axis_tdata[31:16] + s_axis_tdata[63:48];

不能重复声明变量,不报错,vivado会当成两个不同的变量,导致结果不对。

axi stream data fifo

如果你不在block design中使用这个IP,那么GUI中设置的DATA宽度不会适配到生成的verilog中,总是512,可以手动更改生成的IP文件,手动更改,这个问题在vivado2015.2.1和vivado2017.4中都会出现。

xxx.srcs\sources_1\ip\axis_data_fifo_0\synth\axis_data_fifo_0.v

[IP_Flow 19-4048] Interface ‘s_axi’ may not be edited on IP ‘finace_axi_10g_ethernet_0_0’.

vivado2015.2.1,reset synth,Delete Files,BD上reset generated outputs,重新编译。

Processor System Reset

Vivado使用与注意事项_第1张图片

外部管脚时钟域

可先查看其他的1处的时钟域,粘贴过去,
Vivado使用与注意事项_第2张图片

你可能感兴趣的:(FPGA)