lib/ruby-vpi.rb in ruby-vpi-18.0.2 vs lib/ruby-vpi.rb in ruby-vpi-19.0.0

- old
+ new

@@ -5,11 +5,10 @@ module RubyVPI PROJECT_ID = 'ruby-vpi' PROJECT_NAME = 'Ruby-VPI' PROJECT_URL = "http://#{PROJECT_ID}.rubyforge.org" - WEBSITE_URL = PROJECT_URL + "/doc" PROJECT_SUMMARY = "Ruby interface to IEEE 1364-2005 Verilog VPI" PROJECT_DETAIL = "#{PROJECT_NAME} is a #{PROJECT_SUMMARY} and a platform for unit testing, rapid prototyping, and systems integration of Verilog modules through Ruby. It lets you create complex Verilog test benches easily and wholly in Ruby." Simulator = Struct.new(:name, :compiler_args, :linker_args) @@ -20,9 +19,10 @@ :vcs => Simulator.new('Synopsys VCS', '-DSYNOPSYS_VCS', ''), :vsim => Simulator.new('Mentor Modelsim', '-DMENTOR_MODELSIM', ''), :ncsim => Simulator.new('Cadence NC-Sim', '-DCADENCE_NCSIM', ''), } + # Speaks the given message using printf(). def RubyVPI.say fmt, *args #:nodoc: - Vpi.vpi_printf("#{PROJECT_NAME}: #{fmt}\n", *args) + VPI.vpi_printf("#{PROJECT_NAME}: #{fmt}\n", *args) end end