lib/ruby-vpi.rb in ruby-vpi-11.0.0 vs lib/ruby-vpi.rb in ruby-vpi-11.1.0
- old
+ new
@@ -17,17 +17,17 @@
along with Ruby-VPI; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
=end
module RubyVpi
- # Initializes the current bench by loading:
+ # Initializes the bench by loading:
# 1. the design.rb file
- # 2. the proto.rb file (if prototyping is enabled)
+ # 2. the proto.rb file if prototyping is enabled
# 3. the spec.rb file
#
- # aDesignId:: The name of the Ruby interface to the design under test.
- # aSpecFormat:: The format of the specification.
+ # aDesignId:: The name of the Ruby design object.
+ # aSpecFormat:: The format being used by the specification.
def RubyVpi.init_bench aDesignId, aSpecFormat
if caller.find {|s| s =~ /^(.*?)_bench.rb:/}
testName = $1
else
raise 'Unable to determine name of test.'
@@ -88,10 +88,10 @@
# load the design's specification
require "#{testName}_spec.rb"
end
- # Provides information about the Ruby-VPI project's configuration.
+ # Provides information about this project's configuration.
module Config
PROJECT_ID = 'ruby-vpi'
PROJECT_NAME = 'Ruby-VPI'
PROJECT_URL = "http://#{PROJECT_ID}.rubyforge.org"
PROJECT_SUMMARY = "Ruby interface to Verilog VPI."