Voltecx 目前為測試版。macOS 版先推出,Windows 與 Linux 安裝包仍在測試中。測試版。macOS 版先推出,Windows 與 Linux 版仍在測試。⁠最新消息
文件

匯流排解多工器 (busDemux)

把匯流排拆成各個元素,每個輸出一個純量訊號。

busDemux

元件參考 · English

分類: 控制 · 種類: {"block":"busDemux","kind":"control"}

何時使用

用在匯流排的各元素要分開送往不同地方時,例如從閘極匯流排分出每一臂各自的閘極訊號,或接到不做逐元素運算的方塊。

接腳

接腳 訊號域 意義
in 訊號 要拆開的匯流排;寬度必須等於 n。
out1 訊號 第一個元素。
out2 訊號 第二個元素。
out3 訊號 第三個元素(n 為 3 以上)。
out4 訊號 第四個元素(n 為 4 以上)。
out5 訊號 第五個元素(n 為 5 以上)。
out6 訊號 第六個元素(n 為 6 以上)。
out7 訊號 第七個元素(n 為 7 以上)。
out8 訊號 第八個元素(n 為 8)。

常用參數

  • n: Number of elements the bus on in splits into, 2 to 8 (out1 … out8); it must be the bus's width (預設值: 2)

參數

鍵 單位 預設值 典型範圍 說明
n — 2 Number of elements the bus on in splits into, 2 to 8 (out1 … out8); it must be the bus's width

參數說明在兩種語言中都是英文。

模型

每個輸出與匯流排中對應的元素是同一個網路,所以此方塊不會改變模擬;網路沿用輸出的名稱。

常見錯誤

  • n 必須等於 in 上匯流排的寬度;數目不同會回報錯誤並列出兩者。輸入不是匯流排也是錯誤。
  • 輸出沿用你為其網路取的名稱,沒有人命名的匯流排元素則以匯流排命名(g_1、g_2)。模擬後請探測與繪製這些名稱;匯流排本身不會被記錄。

規格書與來源

沒有規格書。將 n 設為匯流排的寬度,2 到 8。

範例

以指令 file.openExample 開啟範例,名稱為 demo:busDemux.


由 cargo xtask reference 依使用說明文字與參數規格產生,請勿手動編輯。