bob2987
Junior Member level 1
- Joined
- Feb 20, 2014
- Messages
- 18
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 192
Hi,
I try to understand this programm
Why this code : D <= A; will be ignored ? And what overrides means ?
**broken link removed**
Thank you.
I try to understand this programm
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ---------------------------------------------------------------------------------------------------------------- -- XOR_SIG.VHD -- May 2001 Library IEEE; use IEEE.std_logic_1164.all; entity xor_sig is port (A, B, C: in STD_LOGIC; X, Y: out STD_LOGIC); end xor_sig; architecture SIG_ARCH of xor_sig is signal D: STD_LOGIC; begin SIG:process (A,B,C) begin D <= A; -- ignored !! X <= C xor D; D <= B; -- overrides !! Y <= C xor D; end process; end SIG_ARCH; ----------------------------------------------------------------------------------------------------------------
**broken link removed**
Thank you.
Last edited by a moderator: