Latch logic is detected for variable 'start_token', failed to import Simulink model. Hdl Import parse failed.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
i keep getting the same erreor : Latch logic is detected for variable 'start_token', failed to import Simulink model. Hdl Import parse failed.
I have verified several time my code in quartus and modelsim, it runs good. but in matlab it's not working;.
0 Kommentare
Antworten (1)
Kiran Kintali
am 26 Mär. 2021
Bearbeitet: Kiran Kintali
am 26 Mär. 2021
I think you have hit a limitation of the Verilog importer. The importer only supports a small subset of Verilog language suitable for Simulink model generation. Please refer to HDL Coder documentation.
% reproduce the issue by unziping the attachment and running importhdl
>> importhdl(pwd)
### Parsing FAR2_Verilog.v.
### Top Module name: 'FAR2_Verilog'.
### Identified ClkName::Clk.
FAR2_Verilog.v:140:15: Latch logic is detected for variable 'start_token', failed to import Simulink model.
Hdl Import parse failed.
Error using privimporthdl (line 459)
Importhdl failed.
Error in importhdl (line 78)
privimporthdl(hdlInSrc, varargin{:}) - Show complete stack trace
1 Kommentar
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!