From 4b4490761949e738dee54bdfc52e080e0a5c9067 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 29 Mar 2015 20:22:08 +0200 Subject: [PATCH] documentation improvements --- passes/cmds/show.cc | 4 ++++ passes/hierarchy/hierarchy.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc index 7cda4400c..81321665c 100644 --- a/passes/cmds/show.cc +++ b/passes/cmds/show.cc @@ -590,6 +590,10 @@ struct ShowPass : public Pass { log(" inputs or outputs. This option can be used multiple times to specify\n"); log(" more than one library.\n"); log("\n"); + log(" note: in most cases it is better to load the library before calling\n"); + log(" show with 'read_verilog -lib '. it is also possible to\n"); + log(" load liberty files with 'read_liberty -lib '.\n"); + log("\n"); log(" -prefix \n"); log(" generate .* instead of ~/.yosys_show.*\n"); log("\n"); diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index 155d4e463..a393343d1 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -352,7 +352,7 @@ struct HierarchyPass : public Pass { log("\n"); log(" -purge_lib\n"); log(" by default the hierarchy command will not remove library (blackbox)\n"); - log(" module. use this options to also remove unused blackbox modules.\n"); + log(" modules. use this option to also remove unused blackbox modules.\n"); log("\n"); log(" -libdir \n"); log(" search for files named .v in the specified directory\n"); -- 2.30.2