lib/origen/sub_blocks.rb in origen-0.22.0 vs lib/origen/sub_blocks.rb in origen-0.23.0

- old
+ new

@@ -239,9 +239,10 @@ regs.is_a?(Origen::Registers::RegCollection) && !regs.empty? else false end end + alias_method :has_regs?, :owns_registers? def sub_block(name, options = {}) if i = options.delete(:instances) a = [] options[:_instance] = i