lib/origen/pins.rb in origen-0.28.2 vs lib/origen/pins.rb in origen-0.29.0
- old
+ new
@@ -225,11 +225,15 @@
group.id = id if id
options = {
name: ''
}.merge(options)
+ rtl_name = options[:rtl_name]
+ force = options[:force]
options.delete(:size).times do |i|
options[:name] = "#{id}#{i}".to_sym
+ options[:rtl_name] = "#{rtl_name}#{i}".to_sym if rtl_name
+ options[:force] = force[i] if force
if power_pin
group[i] = PowerPin.new(i, self, options)
elsif ground_pin
group[i] = GroundPin.new(i, self, options)