# File lib/ruby-vpi/integer.rb, line 141
141:   def split aWidth = 8
142:     raise ArgumentError, "width must be positive and non-zero" unless aWidth > 0
143: 
144:     int, bits = self, length
145:     mask = aWidth.to_mask
146:     words = []
147: 
148:     while bits > 0
149:       words.unshift int & mask
150:       int >>= aWidth
151:       bits -= aWidth
152:     end
153: 
154:     words
155:   end