From e1499fcdc0016697b949cfbef5364daa72f8e6c5 Mon Sep 17 00:00:00 2001 From: Edward Wang Date: Tue, 3 Oct 2017 11:34:48 -0700 Subject: [PATCH] Update command line help --- macros/src/main/scala/MacroCompiler.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/src/main/scala/MacroCompiler.scala b/macros/src/main/scala/MacroCompiler.scala index 2f66ca9c..f032a979 100644 --- a/macros/src/main/scala/MacroCompiler.scala +++ b/macros/src/main/scala/MacroCompiler.scala @@ -588,10 +588,10 @@ object MacroCompiler extends App { " -c, --cost-func: Cost function to use. Optional (default: \"default\")", " -cp, --cost-param: Cost function parameter. (Optional depending on the cost function.). e.g. -c ExternalMetric -cp path /path/to/my/cost/script", """ --mode: + | strict: Compile all memories to library or return an error. | synflops: Produces synthesizable flop-based memories (for all memories and library memory macros); likely useful for simulation purposes. | fallbacksynflops: Compile all memories to library when possible and fall back to synthesizable flop-based memories when library synth is not possible. - | strict: Compile all memories to library or return an error. - | default: Compile all memories to library when possible and do nothing in case of errors. + | compileavailable: Compile all memories to library when possible and do nothing in case of errors. (default) """.stripMargin) mkString "\n" def parseArgs(map: MacroParamMap, costMap: CostParamMap, args: List[String]): (MacroParamMap, CostParamMap) =