Chargement…
Chargement…
The entity decodeur_3vers8 has a selector (i_sel) of type std_logic_vector(2 downto 0), an enable (i_en) of type std_logic, and an output (o_q) of type std_logic_vector(7 downto 0).
When i_en is '1', the output is one-hot encoded: "000"->"00000001", "001"->"00000010", ..., "111"->"10000000". When i_en is '0', the output is "00000000".
| Signal | Direction | Width | Description |
|---|---|---|---|
i_sel | Input | 3 bits | Select |
i_en | Input | 1 bit | Enable |
o_q | Output | 8 bits | Output |