文章 ID: 000090145 內容類型: 錯誤訊息 最近查看日期: 2022 年 04 月 28 日

錯誤 (10158):Verilog HDL 模組宣告錯誤 <module_name.sv> (11):埠<interface_name>「 並未宣告為埠</interface_name></module_name.sv>

環境

    Intel® Quartus® Prime Standard Edition 軟體
BUILT IN - ARTICLE INTRO SECOND COMPONENT
描述

在Intel® Quartus® Prime Lite Edition 和 Standard Editions 的合成過程中,您可能會看到這個錯誤。編譯系統 Verilog Interfaces 時發生此錯誤,埠清單使用 Verilog-95 語法編碼。

模組module_a(clk、rst、module_a_inf);
輸入 clk;      核心頻率
輸入 rst;      Rst。

module_a_to_module_b_interface.module_a module_a_inf;  模組 A 介面

解決方法

此限制僅在 Prime Lite Edition 和標準版Intel® Quartus®中發生。有兩個選項可以解決這個問題:

  • 使用Prime 專業版Intel® Quartus®編譯
  • 介面語法變更為:

模組module_a(
輸入 clk,// Core 頻率
輸入 rst,// rst。

module_a_to_module_b_interface.module_a module_a_inf // 模組 A 介面

);

相關產品

本文章適用於 1 產品

Intel® 可程式裝置

1

本頁內容結合了人類與電腦翻譯的英文原文內容。本內容僅供您參考,僅供一般參考,不應被視為完整或準確。若本頁英文版與翻譯有任何矛盾,將由英文版負責。 請參閱本頁的英文版本。