catch {open _ahdl2blf_q_decode.rsp r} fileId
gets $fileId ablfile
set options ""
while {[gets $fileId line] >= 0}  { append options " $line"}
close $fileId
set i 0
set i 1
if ($i) {
set _ErrorCode [catch { exec ahdl2blf $ablfile -mod q_decode -ojhd compile $options -strategy infer_max_width=32 vhdl_flow oa2ext=bl0 infer_addsub infer_compare infer_xor carry=8 -err ahdl2blf.err} result]
exeputs $result
} else {
set _ErrorCode [catch { exec ahdl2blf $ablfile -mod q_decode -ojhd compile $options -strategy infer_max_width=32 vhdl_flow oa2ext=bl0 infer_xor carry=4 -err ahdl2blf.err} result]
exeputs $result
}
exit $_ErrorCode
