danm v0.1.4 Danm.Entity protocol
A design entity protocol.
Link to this section Summary
Functions
elaborate the design into a concrate one
return true if port exist.
return the name of the design
return the port as {dir, w} tuple with the given port name
return the ports in the design as a list of names
return the type string of the design
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Link to this function
elaborate(b)
elaborate the design into a concrate one
Link to this function
has_port?(b, name)
return true if port exist.
Link to this function
name(b)
return the name of the design
Link to this function
port_at!(b, name)
return the port as {dir, w} tuple with the given port name
Link to this function
ports(b)
return the ports in the design as a list of names
Link to this function
type_string(b)
return the type string of the design