필터 지우기
필터 지우기

Timing constraints file for hdl coder

조회 수: 7 (최근 30일)
sameer al-obaidi
sameer al-obaidi 2016년 3월 7일
편집: Kiran Kintali 2021년 5월 22일
HI; I am designing a communication model in Matlab HDL coder (system generator) but I got the problem is a missing constraints file for timing. do any one have the solution for this problem?
sample time=1 for all components.
Regards
  댓글 수: 2
Rakesh Chavan
Rakesh Chavan 2016년 3월 16일
Hi,
When you say System Generator are you referring to the Xilinx system generator block. If so when you get the error is it caused by the System generator block? It might be a good idea to check with Xilinx as well if the Xilinx system generator block is throwing the error message.
Can you provide an image of the screenshot of the error message, that might help in understanding the issue you are facing.
Hope this helps
regards
Rakesh
sameer al-obaidi
sameer al-obaidi 2016년 3월 21일
Hi ; Sorry, I designed a model in Matlab HDL coder Simulink block and then generate VHDL code. this code I try to implement in FPGA kintex-7 through Vivado program but the problem is I must set the constraints timing file and other problem so it is a normal problem or not.
Regards

댓글을 달려면 로그인하십시오.

답변 (1개)

Kiran Kintali
Kiran Kintali 2021년 5월 22일
편집: Kiran Kintali 2021년 5월 22일
In MATLAB to HDL GUI project you can include additional project files related to constraints.
Add these two files in the location where your MATLAB code and HDL Coder project files are located.
insert_timing.tcl
add_file {../../../../clock_constraint.xdc}
clock_constraint.xdc
create_clock -name MWCLK -period 4.545 [get_ports clk]

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by