class TdlSpace::DefDebugLogicArrayChain

Public Instance Methods

-(name) click to toggle source
# File lib/tdl/sdlmodule/sdlmodule_arraychain.rb, line 122
def -(name)
    if @chain.length > 1
        dimension = @chain[0,@chain.length-1]
    else 
        dimension = []
    end
    name = to_inp(name)
    belong_to_module.Def.debuglogic(name: name,dsize: @chain.last || 1,dimension: dimension,type: @type || 'logic')
end
wire() click to toggle source
# File lib/tdl/sdlmodule/sdlmodule_arraychain.rb, line 132
def wire 
    @type = 'wire'
    return self 
end