Commit af638893 authored by Théotime BOLLENGIER's avatar Théotime BOLLENGIER
Browse files

helps

parent 4e4f3236
......@@ -235,7 +235,7 @@ __argen_completion()
return
fi
COMPREPLY=($(compgen -W "config_shuffling constraint_io_locations hdl_arch_writer high_level_arch_generator ide place_and_route_viewer resource_usage_analyzer resources_to_svg rewrite_placement_with_IO_locations state_viewer vcd_to_video VirtBitgen VirtSta vpr_par_reader --help" "${COMP_WORDS[1]}"))
COMPREPLY=($(compgen -W "config_shuffling constraint_io_locations hdl_arch_writer high_level_arch_generator ide place_and_route_viewer resource_usage_analyzer resources_to_svg rewrite_placement_with_IO_locations state_viewer vcd_to_video VirtBitgen VirtSta vpr_par_reader --help" -- ${words[1]}))
}
complete -F __argen_completion argen
......@@ -30,7 +30,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program generates the bitstream of a placed and routed netlist, to be loaded on the target overlay architecture."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -82,8 +82,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -32,7 +32,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program analyses the critical path of a placed and routed netlist.\nIt can generate a graphical representation highlighting the critical paths."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -79,8 +79,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -30,7 +30,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program shuffles an existing overlay bitstream file according to a key."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -77,8 +77,9 @@ optparse = OptionParser.new do |opts|
# This displays the help screen, all programs are
# assumed to have this option.
opts.on( '-h', '--help', 'Display this help' ) do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -30,7 +30,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program modifies VPR output packing files to precisely constraint IO locations."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
STDERR.sync = true
......@@ -66,8 +66,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -32,7 +32,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program generates the VHDL implementation of a given ArGen overlay architecture file."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -123,8 +123,9 @@ optparse = OptionParser.new do |opts|
# This displays the help screen, all programs are
# assumed to have this option.
opts.on( '-h', '--help', 'Display this help' ) do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -31,7 +31,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program generates VPR and ArGen architecture files according to high level architecture parameters."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
options = {}
......@@ -130,8 +130,9 @@ optparse = OptionParser.new do |opts|
# This displays the help screen, all programs are
# assumed to have this option.
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -31,7 +31,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program generates a graphical representation of a placed and routed netlist on its target architecture."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
......@@ -84,8 +84,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -31,7 +31,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program analyses a placed and routed netlist to produce a resource usage report."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
......@@ -59,8 +59,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -30,7 +30,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program generates a graphical representation of the input architecture."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
......@@ -73,8 +73,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -29,7 +29,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program modifies VPR output placement files to precisely constraint IO locations."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -56,8 +56,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -31,7 +31,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = "1.0"
$description = "This program generates a graphical representation of the state of a placed and routed netlist on its target architecture at a given clock cycle from a simulation."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -118,8 +118,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -31,7 +31,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = ArGen::VERSION
$description = "This program generates a video from the simulation output (VCD) of an overlay running a netlist."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
options = {}
......@@ -109,8 +109,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
......@@ -35,7 +35,7 @@ $program_name = File.basename(__FILE__, '.*')
$program_version = "1.0"
$description = "This program reads a BLIF netlist and VPR 7.0 packing, placement and routing files to generate an ArGen placed and routed netlist."
$description_string = "\nWelcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}"
$description_string = "Welcome to #{$program_name} #{$program_version}, a component of the ArGen framework.\n#{$description}\n#{$copyright}\n#{$authors.collect.with_index{|a, i| "#{(i == 0) ? "Author#{($authors.length > 1) ? 's':''}: " : " #{($authors.length > 1) ? ' ':''} "}#{a.first} #{a.last}\n"}.join}\n"
STDOUT.sync = true
......@@ -77,8 +77,9 @@ optparse = OptionParser.new do |opts|
end
opts.on('-h', '--help', 'Display this help') do
puts opts
puts $description_string
puts opts
puts
exit
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment