3.3. 分割RBFイメージの作成
インテル® Quartus® Prime FPGAプロジェクトが正常にコンパイルされ、.sofコンフィグレーション・ファイルが生成されたら、quartus_cpfコマンド・ライン・ユーティリティーを使用して分割.rbfファイルのペアを生成する必要があります。-cオプションを使用して変換ステップであることを示し、--hpsオプションを使用して.rbfをペリフェラルとコアのファイルに分割する必要があることを示します。残りの引数は、入力.sofファイルと出力.rbfファイルのベース名になります。
$ quartus_cpf --convert --hps -o bitstream_compression=on output_files/ghrd_10as066n2.sof output_files/ghrd_10as066n2.rbf
Info: ******************************************************************* Info: Running Quartus Prime Convert_programming_file Info: Version 18.0.1 Build 261 06/28/2018 SJ Pro Edition Info: Copyright (C) 2018 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and its AMPP partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details. Info: Processing started: Sun Jul 15 23:05:21 2018 Info: Command: quartus_cpf --convert --hps -o bitstream_compression=on output_files/ghrd_10as066n2.sof output_files/ghrd_10as066n2.rbf Info: Quartus Prime Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 1297 megabytes Info: Processing ended: Sun Jul 15 23:05:45 2018 Info: Elapsed time: 00:00:24 Info: Total CPU time (on all processors): 00:00:58 $ ls output_files/*.rbf output_files/ghrd_10as066n2.core.rbf output_files/ghrd_10as066n2.periph.rbf
上のコマンド例では、2つの新しいファイル (ghrd_10as066n2.core.rbfとghrd_10as066n2.periph.rbf) が生成されます。これらは分割されている.rbfファイルです。ghrd_10as066n2.periph.rbfを最初にロードしてから、ghrd_10as066n2.core.rbfファイルをロードする必要があります。