Operator CustomSignalOperator
Operator Library: Prototype
![[警告]](../common/images/admon/warning.png) |
Warning |
|
免責聲明:此模組屬於 prototype library 的一部分。內容絕對屬於初步性質,且隨時可能進行大幅更改甚至移除。因此,此模組不得用於正式生產設計中,僅供測試用途。
|
該運算子會匯入以電子設計交換格式 (EDIF) 表示的自訂網表 (Netlist),以處理信號資料。
為了設定自訂運算子的行為,其中包含具有寫入和讀取存取權限的設定介面。
為了在 Visual Applets 中正常運作,必須透過 Latency 參數指定延遲。延遲的最小值為 2,因為運算子的輸入和輸出都經過暫存處理。自訂運算子中從輸入到輸出的每個管線階段都會增加運算子延遲。
此外,網表必須定義下列 I/O 連接埠。
| Property |
Value |
| Operator Type |
O |
|
Input Link
|
I[n],信號資料輸入,N 的範圍從 1 到 64 |
|
Output Link
|
O,訊號資料輸出 |
| 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] |
|
此參數指定信號從輸入到輸出的延遲。所有信號都應具備確切的這個延遲。由於運算元的輸入和輸出經過暫存,預設延遲為 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。
|