Questions tagged [bitvector]

A data structure for an array of single bit values, usually with emphasis on memory-efficient storage and performance.

A bit Vector stores an array of single bit values (0,1) usually in a memory-efficient (i.e. packed) way. Typical operations on a bit vector are

  • access to single bits
  • boolean operations between two bit vectors (AND, OR, XOR, NOT)
  • vector-like operations (append/prepend, insertion of bits)
  • shift operations

Implementation are often optimized to use operations provided by the CPU to perform these operations in an performant way.

References

137 questions
-3
votes
1 answer

Convert Bitvector64.Section to Bitvector32

I have created the mysec variables for BitVector64. For the version less than 8 I would like to generate the value using the BitVector32 static BitVector64.Section mySect1; static BitVector64.Section mySect2; static BitVector64.Section…
Velu
  • 851
  • 4
  • 13
  • 29
-3
votes
1 answer

Difference between BIT_VECTOR and ARRAY OF BIT

I'm starting to study VHDL for my University examination and I have a question: which is the difference between a BIT_VECTOR type and an ARRAY OF BIT?
michele_ub
  • 123
  • 1
  • 5
1 2 3
…
9
10