MCPcopy Create free account
hub / github.com/Xilinx/Vitis_Libraries / get_params

Function get_params

solver/scripts/instance_generator.py:60–63  ·  view source on GitHub ↗
(param_file, param_name)

Source from the content-addressed store, hash-verified

58 return None
59
60def get_params(param_file, param_name):
61 with open(param_file, "r") as fd:
62 d = json.load(fd)
63 return d.get(param_name, {})
64
65def write_file(out_file_name, context):
66 with open(out_file_name, 'w') as f:

Callers 2

__init__Method · 0.70
gen_tb_instanceFunction · 0.70

Calls 2

loadMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected