Open PedroAntunes178 opened 1 year ago
Is this fixed ?
Is this fixed ?
Hi professor, I do not think so.
Please add command to reproduce
1) Currently, ethernet constrains are commented, so the warnings no longer appear. See: Ethernet contraints for ku040 Ethernet contraints for cyclonev
2) The DDR clk
constraint warning still appears when we build iob-soc with USE_EXTMEM=1
:
make fpga-run BOARD=AES-KU040-DB-G INIT_MEM=0 USE_EXTMEM=1
CRITICAL WARNING: [Constraints 18-1056] Clock 'clk' completely overrides clock 'c0_sys_clk_clk_p_i'.
New: create_clock -period 4.000 -name clk [get_ports c0_sys_clk_clk_p_i], [/home/anobrega/artur/iob_soc_V0.7/hardware/fpga/vivado/AES-KU040-DB-G/iob_soc_fpga_wrapper_dev.sdc:2]
Previous: create_clock -period 4.000 [get_ports c0_sys_clk_clk_p_i], [/home/anobrega/artur/iob_soc_V0.7/hardware/fpga/ip/ddr4_0/ddr4_0/ddr4_0_in_context.xdc:1]
Resolution: Review the constraint files and remove the redundant clock definition(s). If the clock constraints are not saved in a file, you can first save the constraints to an XDC file and reload the design once the constraints have been corrected.
We could solve both issues by generating iob-soc contrains with py2 scripts based on the values of USE_ETHERNET
and USE_EXTMEM
python parameters.
Hello,
Issue Description:
There are a few critical warnings which I believe could be solved relatively easily.
A lot of the critical warnings present on the vivado.log file are related to the Ethernet constrains. This happens when the Ethernet is unused. The constraints are in the file iob_soc_fpga_wrapper_dev.sdc which is always included.
Another alarming warning is:
This is caused by the inclusion of the iob_soc_fpga_wrapper.sdc file even when the DDR is in use. On the Kintex UltraScale that makes the
create_clock -name "clk" -period $clk_period [get_ports "$clk_port"]
override the DDR clock constrains that are automatically created.Solution proposal:
Create a separate file for the Ethernet constrains. The constraints in no_ddr.sdc and in ddr.sdc ln.264 should also be removed.
Only add
create_clock -name "clk" -period $clk_period [get_ports "$clk_port"]
if USE_EXTMEM is not defined.