[comp.lang.vhdl] Wanted: Arithmetic package for BIT_VECTOR

ll@cae780.csi.com (Lars Erik Lundberg) (03/09/91)

Encouraged by the positive response to my request for a GNU Emacs VHDL-mode
a month ago (Thanks, all you contributors!) I challenge the net once more.

This time I'm looking for an arithmetic package for the BIT_VECTOR type.

More specifically, I'm looking for a set of functions/procedures that will
perform common arithmetic operations ( - , + , * , < , = , asl , asr , and
maybe /) on arbitrary length BIT_VECTOR operands. It would be nice if the
BIT_VECTOR could be interpreted as either UNSIGNED or TWO'S COMPLEMENT with
the operators overloaded accordingly.

Why not work with INTEGERs? Well, I need the ability to use primitive logic
operators as well as easy handling of individual bits.

Please mail the package directly to me if it isn't too big.

Thanks again!

/Lars Lundberg  (ll@csi.com)