File tree Expand file tree Collapse file tree 2 files changed +1038
-1024
lines changed
tasks/regression_tests/vtr_reg_nightly_test1_odin/arithmetic_tasks/multless_consts/config Expand file tree Collapse file tree 2 files changed +1038
-1024
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,18 @@ def vtr_command_argparser(prog=None):
338
338
dest = "top_module" ,
339
339
help = "Specify the name of the module in the design that should be considered as top" ,
340
340
)
341
+ odin .add_argument (
342
+ "-mults_ratio" ,
343
+ default = - 1.0 ,
344
+ dest = "mults_ratio" ,
345
+ help = "Specify the percentage of multipliers optimizations" ,
346
+ )
347
+ odin .add_argument (
348
+ "-adders_ratio" ,
349
+ default = - 1.0 ,
350
+ dest = "adders_ratio" ,
351
+ help = "Specify the percentage of adders optimizations" ,
352
+ )
341
353
#
342
354
# PARMYS arguments
343
355
#
@@ -676,6 +688,8 @@ def process_odin_args(args):
676
688
odin_args ["parser" ] = args .parser
677
689
odin_args ["adder_type" ] = args .adder_type
678
690
odin_args ["top_module" ] = args .top_module
691
+ odin_args ["mults_ratio" ] = args .mults_ratio
692
+ odin_args ["adders_ratio" ] = args .adders_ratio
679
693
680
694
if args .adder_cin_global :
681
695
odin_args ["adder_cin_global" ] = True
You can’t perform that action at this time.
0 commit comments