Correcting boolean check in verilator script for new api
Better!
@@ -53,8 +53,7 @@ def setup_tool(chip, step):
chip.add('eda', tool, step, 'option', schema_path(value))
#Make warnings non-fatal in relaxed mode
- if len(chip.cfg['relax']['value']) > 0:
- if schema_istrue(chip.cfg['relax']['value']):
+ if schema_istrue(chip.get('relax')):
chip.add('eda', tool, step, 'option', '-Wno-fatal')
################################
