Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: Invalid tag name: bit, line: bit 00_00 #258

Closed
mithro opened this issue Nov 15, 2018 · 4 comments
Closed

AssertionError: Invalid tag name: bit, line: bit 00_00 #258

mithro opened this issue Nov 15, 2018 · 4 comments

Comments

@mithro
Copy link
Contributor

mithro commented Nov 15, 2018

make[2]: Leaving directory '/big/github/SymbiFlow/prjxray/fuzzers/050-intpips'
make pushdb
make[2]: Entering directory '/big/github/SymbiFlow/prjxray/fuzzers/050-intpips'
python3 /big/github/SymbiFlow/prjxray/utils/dbfixup.py --db-root . --clb-int
CLB INT mode: True
Segbit groups: 6
Segbit: checked 0 files w/ 0 changed lines
Mask: checked files
bash /big/github/SymbiFlow/prjxray/utils/mergedb.sh int_l seg_int_l.segbits
+ test 2 = 2
+ test -e seg_int_l.segbits
++ mktemp -p .
+ tmp1=./tmp.bNQLRfNaP7
++ mktemp -p .
+ tmp2=./tmp.jH9TjoD4Ri
+ db=/big/github/SymbiFlow/prjxray/database/artix7/segbits_int_l.db
+ case "$1" in
+ sed -e 's/^INT\./INT_L./'
+ touch /big/github/SymbiFlow/prjxray/database/artix7/segbits_int_l.db
+ sort -u ./tmp.bNQLRfNaP7 /big/github/SymbiFlow/prjxray/database/artix7/segbits_int_l.db
+ grep -v '<.*>'
+ python3 /big/github/SymbiFlow/prjxray/utils/parsedb.py --strict ./tmp.jH9TjoD4Ri /big/github/SymbiFlow/prjxray/database/artix7/segbits_int_l.db
+ rm -f ./tmp.bNQLRfNaP7
bash /big/github/SymbiFlow/prjxray/utils/mergedb.sh int_r seg_int_r.segbits
+ test 2 = 2
+ test -e seg_int_r.segbits
++ mktemp -p .
+ tmp1=./tmp.yCjFti6iIy
++ mktemp -p .
+ tmp2=./tmp.K6pu6duyOS
+ db=/big/github/SymbiFlow/prjxray/database/artix7/segbits_int_r.db
+ case "$1" in
+ sed -e 's/^INT\./INT_R./'
+ touch /big/github/SymbiFlow/prjxray/database/artix7/segbits_int_r.db
+ sort -u ./tmp.yCjFti6iIy /big/github/SymbiFlow/prjxray/database/artix7/segbits_int_r.db
+ grep -v '<.*>'
+ python3 /big/github/SymbiFlow/prjxray/utils/parsedb.py --strict ./tmp.K6pu6duyOS /big/github/SymbiFlow/prjxray/database/artix7/segbits_int_r.db
+ rm -f ./tmp.yCjFti6iIy
bash /big/github/SymbiFlow/prjxray/utils/mergedb.sh mask_clbll_l mask_clbll_l.segbits
+ test 2 = 2
+ test -e mask_clbll_l.segbits
++ mktemp -p .
+ tmp1=./tmp.RbTrzx1Df9
++ mktemp -p .
+ tmp2=./tmp.RNzWhsDeE5
+ db=/big/github/SymbiFlow/prjxray/database/artix7/segbits_mask_clbll_l.db
+ case "$1" in
+ db=/big/github/SymbiFlow/prjxray/database/artix7/mask_clbll_l.db
+ cp mask_clbll_l.segbits ./tmp.RbTrzx1Df9
+ touch /big/github/SymbiFlow/prjxray/database/artix7/mask_clbll_l.db
+ sort -u ./tmp.RbTrzx1Df9 /big/github/SymbiFlow/prjxray/database/artix7/mask_clbll_l.db
+ grep -v '<.*>'
+ python3 /big/github/SymbiFlow/prjxray/utils/parsedb.py --strict ./tmp.RNzWhsDeE5 /big/github/SymbiFlow/prjxray/database/artix7/mask_clbll_l.db
Traceback (most recent call last):
  File "/big/github/SymbiFlow/prjxray/utils/parsedb.py", line 53, in <module>
    main()
  File "/big/github/SymbiFlow/prjxray/utils/parsedb.py", line 49, in main
    run(args.fin, args.fout, strict=args.strict, verbose=args.verbose)
  File "/big/github/SymbiFlow/prjxray/utils/parsedb.py", line 14, in run
    tag, bits, mode = util.parse_db_line(line)
  File "/big/github/SymbiFlow/prjxray/prjxray/util.py", line 82, in parse_db_line
    tag), "Invalid tag name: %s, line: %s" % (tag, line)
AssertionError: Invalid tag name: bit, line: bit 00_00
Makefile:15: recipe for target 'pushdb' failed
make[2]: *** [pushdb] Error 1
make[2]: Leaving directory '/big/github/SymbiFlow/prjxray/fuzzers/050-intpips'
Makefile:28: recipe for target 'run' failed
make[1]: *** [run] Error 2
make[1]: Leaving directory '/big/github/SymbiFlow/prjxray/fuzzers/050-intpips'
Makefile:23: recipe for target '050-intpips/run.ok' failed
make: *** [050-intpips/run.ok] Error 2
@mithro
Copy link
Contributor Author

mithro commented Nov 15, 2018

Happens with both Artix and Kintex runs;

commit b0b9095b39fd486ee9922d6ba69e0cb4160cd450
Merge: 72dc4ec aeb099f
Author: John McMaster <18452276+mcmasterg@users.noreply.github.com>
Date:   Tue Nov 13 15:02:34 2018 -0800

    Merge pull request #257 from mcmasterg/parse_db_line

    parse_db_line: looser validation

@mcmasterg
Copy link
Contributor

I have a number of outstanding fixes. I was trying to close out the bram interconnect issue before merging, but I can merge them in now if you want to do a run

@mcmasterg
Copy link
Contributor

this will probably get fixed by #263

@mithro
Copy link
Contributor Author

mithro commented Dec 7, 2018

I believe this is fixed, right?

@mithro mithro closed this as completed Dec 7, 2018
kgugala referenced this issue in antmicro/prjxray Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants