Machinekit

Machinekit

Machinekit Documentation

HAL Component — LUTN

INSTANTIABLE COMPONENTS — General

All instantiable components can be loaded in two manners

Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)

NAME

lutn

SYNOPSIS

lutn

USAGE SYNOPSIS

loadrt lutn
OR
newinst lutn <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]

( args in [ ] denote possible args and parameters, may not be used in all components )

FUNCTIONS

lutn.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )

PINS

lutn.N.in-%02d bit in (MM=00..pincount) ( OR <newinstname>.in-%02d bit in (MM=00..pincount) )

lutn.N.out bit out ( OR <newinstname>.out bit out )

INST_PARAMETERS

pincount int (default: 2) functn u32 (default: 0)

LICENCE

GPL