lib/HDLRuby/std/connector.rb in HDLRuby-2.4.20 vs lib/HDLRuby/std/connector.rb in HDLRuby-2.4.21

- old
+ new

@@ -11,10 +11,10 @@ # The duplication is done according to event +ev+. # The optional req and ack arguments are the signals for controlling the # duplicator using a handshake protocol. If set to nil, the duplicator # runs automatically. function :duplicator do |typ, ev, in_ch, out_chs, req = nil, ack = nil| - ev = ev.poswedge unless ev.is_a?(Event) + ev = ev.posedge unless ev.is_a?(Event) inner :in_ack inner :in_req out_acks = out_chs.size.times.map { |i| inner(:"out_ack#{i}") } typ.inner :data par(ev) do