ahmedomar_2000
Newbie level 4
- Joined
- Jul 4, 2013
- Messages
- 6
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 3
- Activity points
- 51
i need to use this code ,i post just a small part , it is a very long values , so i need a help in how to use these values which appear below in my code in a lookup table ( ram or rom ),
if (outputt<=x"0e00" and outputt>=x"0d7a")then
output1<=x"0012";
-----------------------------------------------
elsif (outputt<=x"0d79" and outputt>=x"0ccd")then
output1<=x"0013";
-------------------------------------------
elsif (outputt<=x"0ccc" and outputt>=x"0c31")then
output1<=x"0014";
-------------------------------------------
elsif (outputt<=x"0c30" and outputt>=x"0ba3")then
output1<=x"0015";
-------------------------------------------
elsif (outputt<=x"0ba2" and outputt>=x"0b22")then
output1<=x"0016";
-------------------------------------------
elsif (outputt<=x"0b21" and outputt>=x"0aab")then
output1<=x"0017";
-------------------------------------------
elsif (outputt<=x"0aaa" and outputt>=x"0a3e")then
output1<=x"0018";
-------------------------------------------
elsif (outputt<=x"0a3d" and outputt>=x"09d9")then
output1<=x"0019";
-------------------------------------------
if (outputt<=x"0e00" and outputt>=x"0d7a")then
output1<=x"0012";
-----------------------------------------------
elsif (outputt<=x"0d79" and outputt>=x"0ccd")then
output1<=x"0013";
-------------------------------------------
elsif (outputt<=x"0ccc" and outputt>=x"0c31")then
output1<=x"0014";
-------------------------------------------
elsif (outputt<=x"0c30" and outputt>=x"0ba3")then
output1<=x"0015";
-------------------------------------------
elsif (outputt<=x"0ba2" and outputt>=x"0b22")then
output1<=x"0016";
-------------------------------------------
elsif (outputt<=x"0b21" and outputt>=x"0aab")then
output1<=x"0017";
-------------------------------------------
elsif (outputt<=x"0aaa" and outputt>=x"0a3e")then
output1<=x"0018";
-------------------------------------------
elsif (outputt<=x"0a3d" and outputt>=x"09d9")then
output1<=x"0019";
-------------------------------------------