# File lib/ruby-vpi/integer.rb, line 121
121:   def split aWidth = 8
122:     raise ArgumentError, "width must be positive and non-zero" unless aWidth > 0
123: 
124:     int, bits = self, length
125:     mask = aWidth.to_mask
126:     words = []
127: 
128:     while bits > 0
129:       words.unshift int & mask
130:       int >>= aWidth
131:       bits -= aWidth
132:     end
133: 
134:     words
135:   end