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



111
112
113
114
115
116
117
118
# File 'lib/tdl/class_hdl/hdl_package.rb', line 111

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