Method: Reset#inst_port
- Defined in:
- lib/tdl/elements/Reset.rb
#inst_port ⇒ Object
def port_length
(@port.to_s + " ").length
end
44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/tdl/elements/Reset.rb', line 44 def inst_port # if @port # (@port.to_s + " " + " "*sub_len + @name.to_s) # end if dsize.eql? 1 n = "" else n = "[#{(@dsize-1)}:0]" end return [@port.to_s+n,@name.to_s,""] end |