prjxray: bitread: not found

Hi I am trying to use the bit2fasm.py but it shows that bitread is not found

It was working before but it is not working now.

I ran it in the conda env python3 third_party/prjxray/utils/bit2fasm.py --db-root third_party/prjxray-db/artix7 --part xc7a200tsbg484-1 add16.bit

/bin/sh: 1: bitread: not found
Traceback (most recent call last):
  File "third_party/prjxray/utils/bit2fasm.py", line 127, in <module>
    main()
  File "third_party/prjxray/utils/bit2fasm.py", line 113, in main
    bit_to_bits(
  File "third_party/prjxray/utils/bit2fasm.py", line 34, in bit_to_bits
    subprocess.check_output(
  File "/home/pc-5/Desktop/fpga_test/f4pga-xc-fasm2bels/env/conda/envs/f4pga_xc_fasm2bels/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/home/pc-5/Desktop/fpga_test/f4pga-xc-fasm2bels/env/conda/envs/f4pga_xc_fasm2bels/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'bitread --part_file third_party/prjxray-db/artix7/xc7a200tsbg484-1/part.yaml  -o /tmp/tmpdc0t2fj5 -z -y add16.bit' returned non-zero exit status 127.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Hi @zliu1Charlotte You’re welcome! Glad I could be of assistance.