Skip to content

FASM error (antlr.py) "TypeError: encoding without a string argument" #53

@tcal-x

Description

@tcal-x

I just installed Symbiflow 1.3.1 from installer (Symbiflow_v1.3.1.gz.run), and attempted to run the counter_16bit example as described in part 1) of https://github.com/QuickLogic-Corp/quicklogic-fpga-toolchain.

I'm running on Ubuntu 20.04.

I encountered this:

Incr Slack updates 1 in 1.6095e-05 sec
Full Max Req/Worst Slack updates 1 in 3.732e-06 sec
Incr Max Req/Worst Slack updates 0 in 0 sec
Incr Criticality updates 0 in 0 sec
Full Criticality updates 1 in 3.2237e-05 sec
Writing Implementation FASM: top.fasm
The entire flow of VPR took 2.71161 seconds.
FASM extra: top_fasm_extra.fasm
cd build && symbiflow_write_bitstream -d ql-eos-s3_wlcsp -f top.fasm -P PD64 -b top.bit
Writing bitstream ...
Traceback (most recent call last):
  File "/home/tim/quicklogic/SymbiFlow/conda/bin/qlfasm", line 8, in <module>
    sys.exit(main())
  File "/home/tim/quicklogic/SymbiFlow/conda/lib/python3.7/site-packages/quicklogic_fasm/qlfasm.py", line 290, in main
    assembler.parse_fasm_filename(args.infile)
  File "/home/tim/quicklogic/SymbiFlow/conda/lib/python3.7/site-packages/fasm_utils/fasm_assembler.py", line 168, in parse_fasm_filename
    for line in fasm.parse_fasm_filename(filename):
  File "/home/tim/quicklogic/SymbiFlow/conda/lib/python3.7/site-packages/fasm/parser/antlr.py", line 104, in parse_fasm_filename
    parse_fasm.from_file(bytes(filename, 'ascii'), 0, callback, error_callback)
TypeError: encoding without a string argument
make: *** [Makefile.symbiflow:35: build/top.bit] Error 1

Let me know if there's any more information that you would find useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions