danm v0.1.4 Danm.ComboLogic
A combo logic is a design entity with some input ports and one output, and the output is derived from input as a combinatorial logic expression
Link to this section Summary
Functions
A combo logic is just a wrapper around an expr. output is a string inputs is a map of %{name => width}
my has_port function
whether output is part of inputs
create a combo logic. all width assume to be 0 for now
my port_at function
my ports function
Link to this section Functions
A combo logic is just a wrapper around an expr. output is a string inputs is a map of %{name => width}
Link to this function
has_port?(b, name)
my has_port function
Link to this function
loop_back?(b)
whether output is part of inputs
Link to this function
new(str, list)
create a combo logic. all width assume to be 0 for now
Link to this function
port_at!(b, name)
my port_at function
Link to this function
ports(b)
my ports function