the compilation failed due to timing violation
Show older comments
Hello,
I am working on generating an NI FPGA Bitfile from Simulink. During the generation process, I encountered an error. I have attached the error message and the HDL code generation report. Could you please help me resolve this issue?
%% Set Model ‘PB’ HDL parameters
hdlset_param(‘PB’, 'AdaptivePipelining', 'on');
hdlset_param(‘PB’, 'Backannotation', 'on');
hdlset_param(‘PB’, 'CriticalPathEstimation', 'on');
hdlset_param(‘PB’, 'FloatingPointTargetConfiguration', hdlcoder.createFloatingPointTargetConfig('NativeFloatingPoint' ...
, 'LatencyStrategy', 'Zero') ...
);
hdlset_param(‘PB’, 'HDLSubsystem', ‘PB’);
hdlset_param(‘PB’, 'MulticyclePathConstraints', 'on');
hdlset_param(‘PB’, 'OptimizationReport', 'on');
hdlset_param(‘PB’, 'Oversampling', 61);
hdlset_param(‘PB’, 'ReferenceDesign', 'Default system');
hdlset_param(‘PB’, 'ResourceReport', 'on');
hdlset_param(‘PB’, 'SynthesisTool', 'NI LabVIEW');
hdlset_param(‘PB’, 'SynthesisToolChipFamily', 'Kintex7');
hdlset_param(‘PB’, 'SynthesisToolDeviceName', 'xc7k325t');
hdlset_param(‘PB’, 'SynthesisToolPackageName', 'fbg676');
hdlset_param(‘PB’, 'SynthesisToolSpeedValue', '-1');
hdlset_param(‘PB’, 'TargetDirectory', 'hdl_prj\hdlsrc');
hdlset_param(‘PB’, 'TargetFrequency', 40);
hdlset_param(‘PB’, 'TargetPlatform', 'PXIe-7868R');
hdlset_param(‘PB’, 'Traceability', 'on');
hdlset_param(‘PB’, 'Workflow', 'NI FPGA Bitfile Generation');



Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!