Class: TdlSpace::ResetDefLogicArrayChain

Inherits:
DefLogicArrayChain show all
Defined in:
lib/tdl/class_hdl/hdl_ex_defarraychain.rb

Instance Attribute Summary collapse

Attributes inherited from DefArrayChain

#belong_to_module, #chain

Instance Method Summary collapse

Methods inherited from DefLogicArrayChain

#clock, #integer, #reset, #string, #tri0, #tri1, #wire

Methods inherited from DefArrayChain

#[], #check_name, #check_topmodule_method, #initialize, #method_missing, #to_inp

Constructor Details

This class inherits a constructor from TdlSpace::DefArrayChain

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class TdlSpace::DefArrayChain

Instance Attribute Details

#activeObject

Returns the value of attribute active.



176
177
178
# File 'lib/tdl/class_hdl/hdl_ex_defarraychain.rb', line 176

def active
  @active
end

Instance Method Details

#-(name) ⇒ Object



177
178
179
180
181
# File 'lib/tdl/class_hdl/hdl_ex_defarraychain.rb', line 177

def -(name)
    name = to_inp(name)

    belong_to_module.Def.reset(name:name,active: @active || "low",dsize: @dsize || 1)
end