Class: TdlPackage

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/class_hdl/hdl_package.rb

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

return ClassHDL::AnonyModule.new



156
157
158
159
160
161
162
163
# File 'lib/tdl/class_hdl/hdl_package.rb', line 156

def self.method_missing(method,*args,&block)

    sdlm = ClassHDL::SdlPackage.new(name: method,out_sv_path: args[0])

    sdlm.instance_exec(&block)

    sdlm.gen_sv_module
end