Documentation ¶
Index ¶
- type BitPattern
- type BitVector
- func (bv BitVector) Equal(_bv BitVector, strict bool) bool
- func (bv *BitVector) From(i interface{})
- func (bv *BitVector) Reset(pos int)
- func (bv *BitVector) Set(pos int)
- func (bv BitVector) SignExtendTo(width uint) BitVector
- func (bv BitVector) String() string
- func (bv BitVector) Sub(hi int, lo int) BitVector
- func (bv *BitVector) Test(pos int) bool
- func (bv BitVector) ToUint32() uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitPattern ¶
type BitPattern struct { Width uint // contains filtered or unexported fields }
func Bp ¶
func Bp(length uint) BitPattern
func P ¶
func P(s string) BitPattern
func (BitPattern) Match ¶
func (bp BitPattern) Match(bv BitVector) bool
func (BitPattern) String ¶
func (bp BitPattern) String() string
type BitVector ¶
type BitVector struct { Width uint // contains filtered or unexported fields }
func (BitVector) SignExtendTo ¶
Click to show internal directories.
Click to hide internal directories.