Sha256: 5dcf8e54f505d9721c0f27cd831bcde19f64f28507dfc6ef8765e46f9326d120
Contents?: true
Size: 708 Bytes
Versions: 2
Compression:
Stored size: 708 Bytes
Contents
# Transforms Verilog header files into Ruby. # * The standard input stream is read if no input files are specified. # * Output is written to the standard output stream. #-- # Copyright 2006 Suraj N. Kurapati # See the file named LICENSE for details. if File.basename($0) == File.basename(__FILE__) # parse command-line options require 'optparse' opts = OptionParser.new opts.banner = "Usage: #{File.basename __FILE__} [options] [files]" opts.on '-h', '--help', 'show this help message' do require 'ruby-vpi/rdoc' RDoc.usage_from_file __FILE__ puts opts exit end opts.parse! ARGV require 'ruby-vpi/verilog_parser' puts ARGF.read.verilog_to_ruby end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-16.0.1 | bin/header_to_ruby.rb |
ruby-vpi-16.0.0 | bin/header_to_ruby.rb |