Chargement…
Chargement…
The entity decodeur_2vers4 has a selector (i_sel) of type std_logic_vector(1 downto 0), an enable signal (i_en) of type std_logic, and an output (o_q) of type std_logic_vector(3 downto 0).
When i_en is '1', the output is one-hot encoded: "00" -> "0001", "01" -> "0010", "10" -> "0100", "11" -> "1000". When i_en is '0', the output is "0000".
| Signal | Direction | Width | Description |
|---|---|---|---|
i_sel | Input | 2 bits | Select |
i_en | Input | 1 bit | Enable |
o_q | Output | 4 bits | Output |