anger5
Newbie level 4
- Joined
- Feb 20, 2010
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,321
For example I have some coding as below
How to use the design compiler to optimize this coding to make sure the minimum numbers of cells?
Actually this is a just example. If I replace the 'X' with '1', then this circuit will become the full adder. As a result, there is a only one cell mapping that is expected result.
How to use the design compiler to optimize this coding to make sure the minimum numbers of cells?
Actually this is a just example. If I replace the 'X' with '1', then this circuit will become the full adder. As a result, there is a only one cell mapping that is expected result.
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 LIBRARY IEEE; USE IEEE.STD_LOGIC_1164.ALL; ------------------------------ ENTITY AA IS PORT(XI:IN STD_LOGIC_VECTOR(2 DOWNTO 0); XO:OUT STD_LOGIC(1 DOWNTO 0)); END AA; ------------------------------ ARCHITECTURE AA OF AA IS BEGIN PROCESS(XI) BEGIN CASE XI IS WHEN"000"=>XO<="00"; WHEN"001"=>XO<="10"; WHEN"010"=>XO<="10"; WHEN"011"=>XO<="01"; WHEN"100"=>XO<="10"; WHEN"101"=>XO<="0X; WHEN"110"=>XO<="0X"; WHEN"111"=>XO<="11"; END CASE; END PROCESS; END AA;
Last edited by a moderator: