# `EHLS.Device`
[🔗](https://github.com/elixir-hls/elixir-hls/blob/v0.1.0/lib/ehls/backend.ex#L127)

A device backend: the FPGA family. It acts inside the compile: the buffers cut a kernel's
combinational paths where its estimated delay exceeds the budget (priv/pipeline_buffers.py).

# `budget`

```elixir
@callback budget() :: number()
```

Delay budget in ns per register stage (`PIPE_BUDGET` overrides it).

# `delay_model`

```elixir
@callback delay_model() :: map()
```

The delay model, ns: `"shift"` / `"add"` / `"mul"` (`[base, per bit]`; shifts by a constant
are wires), `"logic"`, `"select"`, `"div_per_bit"`, `"other"` (one number each).

# `name`

```elixir
@callback name() :: String.t()
```

The short name (`EHLS_DEVICE`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
