Commit f1f703eb authored by kazushi.kawamura's avatar kazushi.kawamura

fix bugs

parent 51026c0e
......@@ -92,7 +92,7 @@ def main(args):
if mmio.read(0x10) == 0:
print('Fail routing m(_ _)m')
return # End function
sys.exit(1)
W_ext = np.zeros((1,), dtype=np.int16)
H_ext = np.zeros((1,), dtype=np.int16)
......@@ -106,11 +106,11 @@ def main(args):
if W_ext[0] > info['W'][0] or H_ext[0] > info['H'][0]:
print('Fail satisfying constraint T_T')
sys.exit(1)
sys.exit(1)
else:
print('Satisfy constraint ^_^')
if args['output'] is not None: mySolverModule.output_to_file(args['output'], W_ext[0], H_ext[0], info['blocks'][0], info['line_num'][0], info['block_info'], result)
sys.exit(0)
sys.exit(0)
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment