-
Notifications
You must be signed in to change notification settings - Fork 153
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
Need help for bits2rbt #1815
Comments
@MidsummerNight this tool is used to convert the .bits and accompanying .aux file into .rbt. In order to generate the .bits and corresponding .aux files another tool called bitread is required. Refer to the test makefile to see an example. The .bits file alone only contains information about the fpga configuration to program the design, but doesn't have other metadata like the part number or bus width which is needed to construct a valid .rbt file. This is what the .aux file is for. |
Thanks! So
The example
Which got me this (took out unrelated info for clarity):
(My files that are denoted by Adding to the confusion is that my own
( A starting section of the converted |
As far as I can see, you haven't actually explained what is actually wrong? |
@mithro My result
although my design does work on the board despite those errors. Whatever's happening, the result |
My random guess is that it seems likely that your Vivado generated bit files have stuff not currently supported by prjxray. If Vivado is using something in the design which prjxray can't support then things are likely to go wrong. prjxray tools are also currently tested only with Vivado 2017.3 |
@mithro Wait what 2017.3? I thought it was 2017.2? The example's |
@mithro Update: For the @tmichalak Do you have the source files used to generate the example |
@MidsummerNight so for testing the bits2rbt flow the basic fuzzer designs were used, .i.e. xc7 and bram. What I can tell from the sizes of your |
@tmichalak I see. Thanks, I'll check this tomorrow! Meanwhile for what it's worth, I found that line 26 to 1002445 of the converted |
@tmichalak Update: By setting the Does SymbiFlow has an equivalent CRC setting that can be used during bitstream generation though? My original intent was to convert SymbiFlow-generated |
@MidsummerNight so the bits2rbt tool was meant for verifying if bitread is reading the Vivado generated bitstream correctly and that the bits files are correct since the fuzzers heavily depend on them. With bits2rbt it is possible to make a roundtrip test. |
@tmichalak Thank you for the explanation, I think I have a much better understanding on the tool now. One more question though (sorry if this is sounds dumb), what is the "Packet Type" you're talking about? I mean I know Packet Type 2 is a packet where the frame addresses are auto incremented and the CRC is at the end since you said so, but in what context are we using the term "Packet Type"? Are we talking about packet types specific to 7-series bitstreams, or is this referring to general CRC algorithms that's also appliable to other fields like computer networks? I was unable to find any satifying answers on Google and would really appreciated it if you could point out some explanatory links for me. |
@MidsummerNight I was referring to the packet types specific to 7-series as described in 7-Series FPGAs Configuration User Guide (UG470) p.108. It is how the bitstream is created in SymbiFlow. |
@tmichalak Thank you very much! I'll close this issue now since my initial problems were solved. |
Hi, I was trying to use
bits2rbt
intools/bits2rbt
to convert a 7 series.bit
bitstream into a.rbt
bitstream for inspection (I assume that's the use of this tool because of its name). I ran it like this:I am currently debugging the source code to see what's happening, but since this tool lacks any form of documentation, I'm having a very hard time.
First, can anyone please help me get a general understanding of what this tool does? Is it truly for converting
.bit
files into.rbt
files? Did I write the command correctly? And what's the "auxilary file" the--aux
flag stands for? Is it mandatory?Thanks! @tmichalak @rw1nkler !
The text was updated successfully, but these errors were encountered: