【问题标题】:Error (10500): VHDL syntax error at lab_06.vhd(54) near text "shifta";错误 (10500):lab_06.vhd(54) 靠近文本“shifta”的 VHDL 语法错误;
【发布时间】:2017-11-13 10:14:21
【问题描述】:

enter image description here

错误 (10500):lab_06.vhd(54) 靠近文本“shifta”的 VHDL 语法错误;

Info: *******************************************************************
Info: Running Quartus II 64-Bit Analysis & Synthesis
    Info: Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition
    Info: Processing started: Mon Nov 13 18:53:13 2017
Info: Command: quartus_map --read_settings_files=on --write_settings_files=off lab_06 -c lab_06
Warning (20028): Parallel compilation is not licensed and has been disabled
Error (10500): VHDL syntax error at lab_06.vhd(30) near text "ktj";  expecting "component"
Error (10500): VHDL syntax error at lab_06.vhd(54) near text "shifta";  expecting "entity", or "architecture", or "use", or "library", or "package", or "configuration"
Info (12021): Found 0 design units, including 0 entities, in source file lab_06.vhd
Error: Quartus II 64-Bit Analysis & Synthesis was unsuccessful. 2 errors, 1 warning
    Error: Peak virtual memory: 485 megabytes
    Error: Processing ended: Mon Nov 13 18:53:14 2017
    Error: Elapsed time: 00:00:01
    Error: Total CPU time (on all processors): 00:00:01
Error (293001): Quartus II Full Compilation was unsuccessful. 4 errors, 1 warning

【问题讨论】:

  • 如果您不提供有关导致错误的代码的任何信息,应该如何帮助您?
  • 请将您的代码粘贴到问题中,而不是共享图像。
  • 我的水晶球告诉我错误在第 42 行。
  • @mfro 好吧,错误的行实际上是在他提供的小信息中指定的;)

标签: vhdl


【解决方案1】:

在我看来,您尝试在架构 Behavior 之外实例化 lab_06。如果你写了end architecture Behavior;,我想这个问题会让你眼前一亮。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-18
    相关资源
    最近更新 更多