Skip to content

Associate state update logic with FSM states #5

Description

@zsisco

Want more expressive state update logic. Generate circuits (not just value output).

For example:

                                                "!stop"
                                                 .~~~.       
  .+---------.     "go"        .-----------------+.  !       
  |"acc':= 0"+~~~~~~~~~~~~~~~~>|"acc':= acc + val"|  !
  `----------'                 `-------+----------'<-'       
       ^                               !
       !                               ! 
"reset"!        .------------.         !"stop" 
       `~~~~~~~~+"acc':= acc"|<~~~~~~~~'  
                `------------'

So, some way to associate how external state acc gets updated according to the FSM state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions