Cannot Generate Bitstream

Applications, development tools, FPGA, C, WEB
Post Reply
kstevens
Posts: 3
Joined: Thu Nov 13, 2014 8:55 pm

Cannot Generate Bitstream

Post by kstevens » Thu Nov 20, 2014 11:54 pm

Hello!

I am new to FPGAs and have been working with the documentation to build a .bit file so that I can modify one of the red pitaya modules.

I set up a development environment in linux 64bit RHEL6 with an installation of Vivado 2014.3 (the free one). I can open my XPR file and build an implementation. Unfortunately, the implementation has timing errors - the Timing Summary report flags the "adc_clk" in red with a TNS of -24.603 ns. Since I am new to FPGAs, I don't really understand what this means nor would I expect an error since I am working with a fresh GIT pull and have modified no code.

I can't generate a bitstream because of the timing error.

I have also failed the command line build ("~/git/RedPitaya/FPGA>> make") on a console with the Vivado settings64.sh script sourced. The first error was like this:
[qoute]
ERROR: [Common 17-69] Command failed: Run 'synth_1' needs to be reset before launching. The run can be reset using the Tcl command 'reset_run synth_1'.
[/quote]

After I typed in "reset_run synth_1" much much more output was produced and eventually there was an error writing the bitstream. The output was copious but here is a snippet of what seems relevant to me:
INFO: [Drc 23-27] Running DRC with 8 threads
INFO: [Coretcl 2-168] The results of DRC are in file /users/kmclewin3/git/RedPitaya/FPGA/release1/fpga/vivado/red_pitaya.runs/impl_1/red_pitaya_top_drc_routed.rpt.
INFO: [Timing 38-91] UpdateTimingParams: Speed grade: -1, Delay Type: min_max.
INFO: [Timing 38-191] Multithreading enabled for timing update using a maximum of 8 CPUs
CRITICAL WARNING: [Timing 38-282] The design failed to meet the timing requirements. Please see the timing summary report for details on the timing violations.
<snip>
Running DRC as a precondition to command write_bitstream
INFO: [Drc 23-27] Running DRC with 8 threads
ERROR: [Drc 23-20] Rule violation (IOSTDTYPE-1) IOStandard Type - I/O port vinn_i[0] is Single-Ended but has an IOStandard of TMDS_33 which can only support Differential
<many of these errors>
<snip>
WARNING: [Drc 23-20] Rule violation (DPIP-1) Input pipelining - DSP i_asg/i_cha/dac_mult_reg/dac_mult_reg input A is not pipelined. Pipelining DSP48 input will improve performance.
<many other warnings>
<snip>
INFO: [Vivado 12-3199] DRC finished with 10 Errors, 47 Warnings
INFO: [Vivado 12-3200] Please refer to the DRC report (report_drc) for more information.
ERROR: [Vivado 12-1345] Error(s) found during DRC. Bitgen not run.
INFO: [Common 17-83] Releasing license: Implementation
ERROR: [Common 17-39] 'write_bitstream' failed due to earlier errors.

while executing
"write_bitstream -force red_pitaya_top.bit -bin_file"
INFO: [Common 17-206] Exiting Vivado at Thu Nov 20 17:24:09 2014...
[Thu Nov 20 17:24:12 2014] impl_1 finished
wait_on_run: Time (s): cpu = 00:00:00.36 ; elapsed = 00:00:27 . Memory (MB): peak = 1034.625 ; gain = 0.000 ; free physical = 1126 ; free virtual = 5731
# close_project
# exit
INFO: [Common 17-206] Exiting Vivado at Thu Nov 20 17:24:12 2014...
<snipping out the makefile's failure to recover>
Can anyone help me figure out what I've done wrong?

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Cannot Generate Bitstream

Post by Nils Roos » Fri Nov 21, 2014 9:43 am

Hi,
The recommended version of Vivado to build the RedPitaya project is 2013.3. It is possible to use later versions, but you need to change some things in the project for that to work.
Since you have no experience with the tools, I'd strongly recommend to stick to 2013.3 until you get more comfortable with the whole process.

kstevens
Posts: 3
Joined: Thu Nov 13, 2014 8:55 pm

Re: Cannot Generate Bitstream

Post by kstevens » Mon Nov 24, 2014 3:25 pm

The 2013.3 version of Vivado WebPack worked flawlessly for me. Thanks for the suggestion!

ZOTY
Posts: 3
Joined: Thu Dec 10, 2015 9:53 am
Location: Nancy

Re: Cannot Generate Bitstream

Post by ZOTY » Mon Feb 08, 2016 3:29 pm

hi ,

how to generate a .bin file from .bit file with write_bitstream ?

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Cannot Generate Bitstream

Post by Nils Roos » Mon Feb 08, 2016 10:13 pm

There's a tool called 'promgen' included with the Xilinx LabTools which can do that.
But depending on the version of your ecosystem, it is no longer neccessary to do the conversion; as of 0.93, the xdevcfg device knows how to handle .bit bitstreams.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 120 guests