class RgGen::Verilog::Feature

Private Instance Methods

create_parameter(parameter_type, attributes, &block) click to toggle source
Calls superclass method
# File lib/rggen/verilog/feature.rb, line 23
def create_parameter(parameter_type, attributes, &block)
  attributes = attributes.merge(array_format: :serialized)
  super
end
create_port(direction, attributes, &block) click to toggle source
# File lib/rggen/verilog/feature.rb, line 15
def create_port(direction, attributes, &block)
  attributes =
    attributes
      .except(:data_type)
      .merge(direction: direction, array_format: :serialized)
  DataObject.new(:argument, attributes, &block)
end
create_variable(data_type, attributes, &block) click to toggle source
Calls superclass method
# File lib/rggen/verilog/feature.rb, line 10
def create_variable(data_type, attributes, &block)
  attributes = attributes.merge(array_format: :serialized)
  super
end