Machinekit

Machinekit

Machinekit Documentation

HAL Component — BITSLICE

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

bitslice

SYNOPSIS

bitslice

USAGE SYNOPSIS

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

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

FUNCTIONS

bitslice.N.funct ( OR <newinstname>.funct )

PINS

bitslice.N.in u32 in ( OR <newinstname>.in u32 in ) - The input value

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

INST_PARAMETERS

pincount int (default: 16)

AUTHOR

Andy Pugh

LICENCE

GPL2+