danm v0.1.4 Danm.Sink
A sink is a design entity with some input ports and not output
Link to this section Summary
Functions
A sink is super simple, however I need to make it a full struct to be an entity
return inputs as a map of name => width
merge a sink
create a sink. all width assume to be 0 for now
set the width of one input
Link to this section Functions
A sink is super simple, however I need to make it a full struct to be an entity
Link to this function
inputs(b)
return inputs as a map of name => width
Link to this function
merge(b, inputs)
merge a sink
Link to this function
new(inputs)
create a sink. all width assume to be 0 for now
Link to this function
set_input(b, n, w)
set the width of one input