danm v0.1.4 Danm.ConditionLogic
A condition logic is a design entity with a list of conditions anf choices, output the choices when first condition evaluate to true
Link to this section Summary
Functions
A condition logic is just a wrapper around a list of expr. output is a string inputs is a map of %{name => width}
check the last condition to see if it is true
create a condition logic. all width assume to be 0 for now
Link to this section Functions
A condition logic is just a wrapper around a list of expr. output is a string inputs is a map of %{name => width}
Link to this function
last_is_true?(s)
check the last condition to see if it is true
Link to this function
new(list, list)
create a condition logic. all width assume to be 0 for now