Failure to create a spiOverJtag bitstream for some Xilinx devices

Open
#586 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by reading spiOverJtag/xilinx_spiOverJtag.v alongside the build rules for the affected Xilinx devices. Compare the reported synthesis errors and check how the Makefile and build.py produce the final archive. Done means the listed devices build successfully and the expected tar.gz is generated.

Written by the indexing model from the issue text.

Description

regression

For xc3s500evq100 we get an error

ERROR:HDLCompilers:27 - "../xilinx_spiOverJtag.v" line 133 Illegal redeclaration of 'tdo'

For xc6vlx130tff784 we get errors

ERROR:NgdBuild:604 - logical block 'bscane2_inst' with type 'BSCANE2' could not
   be resolved. A pin name misspelling can cause this, a missing edif or ngc
   file, case mismatch between the block name and the edif or ngc file name, or
   the misspelling of a type name. Symbol 'BSCANE2' is not supported in target
   'virtex6'.

For xcku3p-ffva676, xcku5p-ffvb676, xcku040-ffva1156, xcvu9p-flga2104, xcau15p-ffvb676

ERROR: [Synth 8-36] 'csn' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:55]
ERROR: [Synth 8-36] 'sdi_dq0' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:57]
ERROR: [Synth 8-36] 'sdo_dq1' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:58]
ERROR: [Synth 8-36] 'wpn_dq2' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:59]
ERROR: [Synth 8-36] 'hldn_dq3' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:60]
ERROR: [Synth 8-36] 'sdo_dq1' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:73]
ERROR: [Synth 8-36] 'hldn_dq3' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:74]
ERROR: [Synth 8-36] 'wpn_dq2' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:74]
ERROR: [Synth 8-36] 'sdi_dq0' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:74]
ERROR: [Synth 8-36] 'csn' is not declared [/.../openFPGALoader/spiOverJtag/xilinx_spiOverJtag.v:92]

For the Spartan 6 FPGA, a bitstream is created, but the final tar.gz file is not generated.
Similarly, no tar.gz file is created for xc7k325tffg676 and xc7k420tffg901. Although for xc7k70tfbg484 and xc7k160tffg676, the archive is created because Vivado tool is used for the build, and the archive creation process has been transferred from the Makefile to the script build.py

Dominant language
C++
Stars
1.7k
Forks
396
Avg merge
2d 4h
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from trabucayre/openFPGALoader

All issues in trabucayre/openFPGALoader

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.