Fixing some schema requirements
Making showtool mandatory, needed by show() command
Making input for tool/step a string, sinc this is not a static file that should be hashed ("not source"), may need to rethink...
making param for tools optional, may need to rethink...
@@ -1696,7 +1696,7 @@ def schema_flowgraph(cfg, step='default'):
'switch': '-flowgraph_showtool',
'type': 'str',
'lock': 'false',
- 'requirement': None,
+ 'requirement': 'all',
'defvalue': None,
'short_help': 'Flowgraph Show Tool Selection',
'param_help': "flowgraph stepvar showtool <str>",
@@ -1876,10 +1876,10 @@ def schema_eda(cfg):
# input files
cfg['eda'][tool][step][index]['input'] = {
'switch': '-eda_input',
- 'type': '[file]',
+ 'type': '[str]',
'lock': 'false',
'requirement': None,
- 'defvalue': None,
+ 'defvalue': [],
'short_help': 'List of input files',
'param_help': "eda toolvar stepvar indexvar input <file>",
'example': ["cli: -eda_input 'openroad place 0 oh_add.def'",
@@ -1898,8 +1898,8 @@ def schema_eda(cfg):
'switch': '-eda_param',
'type': '[str]',
'lock': 'false',
- 'requirement': 'all',
- 'defvalue': None,
+ 'requirement': None,
+ 'defvalue': [],
'short_help': 'List of parameters used by tool',
'param_help': "eda toolvar stepvar indexvar param <keypath>",
'example': ["cli: -eda_param 'openroad place 0 design'",
