Operator CustomSignalOperator

Operator Library: Prototype

[警告] Warning

免責聲明:此模組屬於 prototype library 的一部分。內容絕對屬於初步性質,且隨時可能進行大幅更改甚至移除。因此,此模組不得用於正式生產設計中,僅供測試用途。

該運算子會匯入以電子設計交換格式 (EDIF) 表示的自訂網表 (Netlist),以處理信號資料。 為了設定自訂運算子的行為,其中包含具有寫入和讀取存取權限的設定介面。 為了在 Visual Applets 中正常運作,必須透過 Latency 參數指定延遲。延遲的最小值為 2,因為運算子的輸入和輸出都經過暫存處理。自訂運算子中從輸入到輸出的每個管線階段都會增加運算子延遲。 此外,網表必須定義下列 I/O 連接埠。

I/O Signal Width 描述
ClkI 1 FPGA 時脈,其頻率如專案資訊視窗所示
EnableI, ResetI 1 用於在 Visual Applets 中確保正確的行為
DataI N 包含 N 個 1-bit 輸入連結的信號資料輸入陣列
DataO 1 已處理信號資料的輸出
ConfigAddressI 8 由 WriteAddress 和 ReadAddress 參數所斷言的位址,用於存取內部設定空間
ConfigWriteDataI 32 設定空間的資料
ConfigWriteStrobeI 1 在存取 WriteAddress 參數後持續一個 ClkI 週期
ConfigReadDataO 32 來自設定空間的資料
ConfigReadStrobeI 1 在存取 ReadAddress 參數後持續一個 ClkI 週期

I/O Properties

Property Value
Operator Type O
Input Link I[n],信號資料輸入,N 的範圍從 1 到 64
Output Link O,訊號資料輸出

支援的 Link 格式

Link Parameter Input Link I[n] Output Link O
Bit Width 1 as I
Arithmetic unsigned as I
Parallelism 1 as I
Kernel Columns 1 as I
Kernel Rows 1 as I
Img Protocol VALT_SIGNAL as I
Color Format VAF_GRAY as I
Color Flavor FL_NONE as I
Max. Img Width any as I
Max. Img Height any as I

參數

EdifFileName
Type 靜態寫入參數
Default netlist.edn
Range

此參數指定此運算子的網表名稱。網表檔案必須位於 {Visual Applets installation dir}/cores/Spartan3 路徑中

延遲
Type 靜態寫入參數
Default 2
Range [2, 255]

This parameter specifies the latency of signals from input to ouput. All signals should have exact this latency. Because inputs and outputs of the operator are registered the default latency is 2.

ConfigWriteData
Type 動態寫入參數
Default 0
Range [0, 2^32-1]

將值套用到 ConfigWriteDataI。

ConfigReadData
Type 動態寫入參數
Default 0
Range [0, 2^32-1]

位於 ConfigReadDataO 的資料。

ConfigWriteAddress
Type 動態寫入參數
Default 0
Range [0, 2^8-1]

將值套用到 ConfigAddressI,並為一個 ClkI 週期觸發 ConfigWriteStrobeI。

ConfigReadAddress
Type 動態寫入參數
Default 0
Range [0, 2^8-1]

將值套用到 ConfigAddressI,並為一個 ClkI 週期觸發 ConfigWriteStrobeI。