Apr 25, 2019 #1 E eengr Member level 4 Joined Mar 9, 2016 Messages 75 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 4,270 Hi I am trying to prepare an ASMD chart for my VHDL design. My question regarding ASMD decision boxes: Could we have multiple conditions to be checked mentioned in single decision box? I have seen some examples where people usually use multiple decision boxes for multiple checks. e.g., for the following check: Code VHDL - [expand]1 2 3 4 5 6 7 if (A=B) AND (C=D) then ---- ---- ---- end if; The recommended ASMD notation is as shown below: If I were to follow the above recommended method then how would I do the chart for an OR condition? i.e., Code VHDL - [expand]1 2 3 4 5 6 7 if (A=B) OR(C=D) then ---- ---- ---- end if;
Hi I am trying to prepare an ASMD chart for my VHDL design. My question regarding ASMD decision boxes: Could we have multiple conditions to be checked mentioned in single decision box? I have seen some examples where people usually use multiple decision boxes for multiple checks. e.g., for the following check: Code VHDL - [expand]1 2 3 4 5 6 7 if (A=B) AND (C=D) then ---- ---- ---- end if; The recommended ASMD notation is as shown below: If I were to follow the above recommended method then how would I do the chart for an OR condition? i.e., Code VHDL - [expand]1 2 3 4 5 6 7 if (A=B) OR(C=D) then ---- ---- ---- end if;
Apr 25, 2019 #2 A Akanimo Advanced Member level 3 Joined Aug 30, 2016 Messages 847 Helped 145 Reputation 290 Reaction score 165 Trophy points 1,323 Activity points 7,122 Hi, I do not know how much this can help with what you want to do but basically, that is an OR function.
Hi, I do not know how much this can help with what you want to do but basically, that is an OR function.
Apr 25, 2019 #3 E eengr Member level 4 Joined Mar 9, 2016 Messages 75 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 4,270 Akanimo said: View attachment 152577 Hi, I do not know how much this can help with what you want to do but basically, that is an OR function. Click to expand... Thank you very much. I did not realise that 'state blocks' and 'Decision blocks' could have multiple exit and entry points respectively. I was working on the assumption that: State block could have one Exit point only Decision block could have one Entry point only...
Akanimo said: View attachment 152577 Hi, I do not know how much this can help with what you want to do but basically, that is an OR function. Click to expand... Thank you very much. I did not realise that 'state blocks' and 'Decision blocks' could have multiple exit and entry points respectively. I was working on the assumption that: State block could have one Exit point only Decision block could have one Entry point only...