Class: TdlSpace::ClockDefLogicArrayChain

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

#freqMObject

Returns the value of attribute freqM.



167
168
169
# File 'lib/tdl/class_hdl/hdl_ex_defarraychain.rb', line 167

def freqM
  @freqM
end

Instance Method Details

#-(name) ⇒ Object



168
169
170
171
172
# File 'lib/tdl/class_hdl/hdl_ex_defarraychain.rb', line 168

def -(name)
    name = to_inp(name)

    belong_to_module.Def.clock(name:name,freqM:@freqM || 100,dsize:@dsize || 1)
end