class RgGen::VHDL::Feature
Private Instance Methods
create_generic(_, attributes, &block)
click to toggle source
# File lib/rggen/vhdl/feature.rb, line 21 def create_generic(_, attributes, &block) DataObject.new(:generic, attributes, &block) end
create_port(direction, attributes, &block)
click to toggle source
# File lib/rggen/vhdl/feature.rb, line 14 def create_port(direction, attributes, &block) attributes = attributes .merge(direction: { input: :in, output: :out}[direction]) DataObject.new(:port, attributes, &block) end
create_signal(_, attributes, &block)
click to toggle source
# File lib/rggen/vhdl/feature.rb, line 10 def create_signal(_, attributes, &block) DataObject.new(:signal, attributes, &block) end