Crate gwr_components

Source
Expand description

Simulation components.

Modules§

arbiter
Perform arbitration between a number of interfaces.
connect
Helper connection macros
delay
A component that adds delay_ticks between receiving anything and sending it on to its output.
flow_controls
Components used for flow-control.
router
Perform routing between an input interface and a number number of outputs.
sink
A data sink.
source
A data source.
store
A data store.
test_helpers
types
Shared types.

Macros§

borrow_option
Get a reference to a variable stored in a RefCell<Option<>>.
borrow_option_mut
Get a mutable reference to a variable stored in a RefCell<Option<>>.
connect_port
Connect an OutPort port to an InPort
connect_tx
Connect a tx port for a subcomponent.
connect_tx_i
Connect a tx port for a subcomponent where the port is one of an array.
option_box_chain
option_box_repeat
option_rc_limiter
port_rx
Access rx port for a subcomponent.
port_rx_i
Access an individual index of an rx port array for a subcomponent.
rc_limiter
Create a RateLimiter wrapped in an Rc.
take_option
Take a variable out of a RefCell<Option<>>.