Machinekit

Machinekit

Machinekit Documentation

HAL Component — LUTNV2

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

lutnv2

SYNOPSIS

lutnv2

USAGE SYNOPSIS

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

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

DESCRIPTION

LUT component with configurable number of pins

FUNCTIONS

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

PINS

INST_PARAMETERS

pincount int (default: 2) - number of input pins, in0..inN

functn int (default: 255) - lookup function - see man lut5

AUTHOR

Michael Haberler

LICENCE

GPLv2 or later