[SOLVED] ASMD Chart decision boxes for OR condition

Status
Not open for further replies.

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 do not know how much this can help with what you want to do but basically, that is an OR function.
 
Reactions: eengr

    eengr

    Points: 2
    Helpful Answer Positive Rating
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.


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...
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…