Nios® V プロセッサー・ソフトウェア開発者ハンドブック

ID 743810
日付 7/08/2024
Public
ドキュメント目次

15.1. エンベデッド・コンポーネントの情報フロー

プラットフォーム・デザイナー IP コンポーネントは、コンポーネント記述ファイル <component_name>_hw.tcl に Tcl 割り当てステートメントを含めることによって情報を公開します。各割り当ては、コンポーネント全体または単一のインターフェイスに関連付けることができる名前と値のペアです。割り当てステートメントがコンポーネント全体に適用される場合、set_module_assignment コマンドを使用して設定されます。インターフェイスに適用する割り当てステートメントは、set_interface_assignment コマンドを使用して設定します。

# These assignments apply to the entire component # This is the syntax for the set_module_assignment command: # set_module_assignment <assignment_name> <value> # Here are 3 examples set_module_assignment embeddedsw.CMacro.colorSpace "CMYK" set_module_assignment embeddedsw.configuration.cpuArchitecture "My processor" set_module_assignment embeddedsw.memoryInfo.IS_FLASH 1
# This is the syntax of the set_interface_assignment command: # set_interface_assignment <interface_name> <assignment_name> <value> # Here is an example set_interface_assignment lcd0 embeddedsw.configuration.isPrintableDevice 1
図 28. エンベデッド・コンポーネントの情報フロー