+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Member level 3
    Points: 934, Level: 6

    Join Date
    Mar 2016
    Posts
    65
    Helped
    0 / 0
    Points
    934
    Level
    6

    ASMD Chart decision boxes for OR condition

    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:



    Click image for larger version. 

Name:	ASMD AND condition.png 
Views:	5 
Size:	6.9 KB 
ID:	152572


    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;

    •   AltAdvertisment

        
       

  2. #2
    Full Member level 6
    Points: 2,170, Level: 10

    Join Date
    Aug 2016
    Posts
    369
    Helped
    55 / 55
    Points
    2,170
    Level
    10

    Re: ASMD Chart decision boxes for OR condition

    Click image for larger version. 

Name:	20190425_103213.jpg 
Views:	8 
Size:	438.4 KB 
ID:	152577

    Hi,

    I do not know how much this can help with what you want to do but basically, that is an OR function.
    -------------
    --Akanimo.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Member level 3
    Points: 934, Level: 6

    Join Date
    Mar 2016
    Posts
    65
    Helped
    0 / 0
    Points
    934
    Level
    6

    Re: ASMD Chart decision boxes for OR condition

    Quote Originally Posted by Akanimo View Post
    Click image for larger version. 

Name:	20190425_103213.jpg 
Views:	8 
Size:	438.4 KB 
ID:	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...



--[[ ]]--