cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
2,431 Views
Registered: ‎03-03-2017

DisplayPort RX example design path length error windows 10

Jump to solution

Hi,

    I would like to report a bug where in Windows 10 in Vivado 2017.4 where I am trying to open up the DisplayPort RX Example design, the design opens and the TCL execution begins and the block diagram starts getting built, but I get a path length error shown below.   I did put this in my root directory E:\ so I know there is no way I can make the path length shorter.

   Is there any way to make this work in Windows, or do I need to generate first in Linux (which I currenly do not have this option)?

 

DP_RxExampleDesign_Errors.png

 

Thanks.

Tim

0 Kudos
1 Solution

Accepted Solutions
Highlighted
3,213 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   This worked for me:

 

1. When error occurred I clicked OK which automatically closed the example design project.

2. Open a new Vivado instance and open the generated project and did a file-save-as, and named the project a.

3. With the opened project now named "a", I opened the block design.  I also created a new block design and called it f and copied all from the existing block design and pasted into the new block design f.

4. I renamed the 4 sub-hierarchies to b c d and e.

5. I deleted the existing block design and kept only the f block desing.

6. for "f" I created an hdl wrapper and generated output products, and that seemed to work and is now synthesizing for me currently.

 

Tim

View solution in original post

0 Kudos
18 Replies
Highlighted
Moderator
Moderator
2,428 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Hi @tim_severance,

 

This is not a bug but a known limitation of Vivado (and the DP exdes) on windows ;-)

I am already working with development to improve this.

 

Anyway, the workaround is to generate the example design on windows, have it fail and then save project as with a really short name (proj_1). This should work.

Some other workaround might be to reduce the name of the IP instance in the BD before generating the example design

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
2,424 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   Thanks for the quick reply!

   So if I save the file with a really short name (I can call it "a" for example), how to I get it to resolve the errors?

   I was wondering if I should edit the tcl file that gets sourced to name the project "a", but I am not sure which tcl file is getting executed.

Thanks.

Tim

0 Kudos
Highlighted
Moderator
Moderator
2,421 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Hi @tim_severance,

 

If you do save as and you regenerate the output products, it should work.

 

Modifying the generated tcl is another option (it is the method I used but I prefer sharing the other one on the forums as it is easier for novices).

 

regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
2,404 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

    I tried the save-as and used "a" as the name, but I am getting the same errors when I generate output products.

    I wonder if I need to also rename the block design and also the hierarchical block names.   Do you know how to rename a block design?

Thanks.
Tim

0 Kudos
Highlighted
Moderator
Moderator
2,399 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Hi @tim_severance,

 

Note that I have not tested the save as method. This is coming from this topic and it seems to work:

https://forums.xilinx.com/t5/Video/Video-Phy-Controller-DRP-won-t-return-DRP-ready/m-p/828548/highlight/true#M18764

 

As per the topic you might need to do "save bd as" as well

 

But if you know where the tcl is, you can easily reduce the names and it might be easier (I have tested this method)

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
3,214 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   This worked for me:

 

1. When error occurred I clicked OK which automatically closed the example design project.

2. Open a new Vivado instance and open the generated project and did a file-save-as, and named the project a.

3. With the opened project now named "a", I opened the block design.  I also created a new block design and called it f and copied all from the existing block design and pasted into the new block design f.

4. I renamed the 4 sub-hierarchies to b c d and e.

5. I deleted the existing block design and kept only the f block desing.

6. for "f" I created an hdl wrapper and generated output products, and that seemed to work and is now synthesizing for me currently.

 

Tim

View solution in original post

0 Kudos
Highlighted
2,366 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   Once I have the bitstream generated and launch SDK, how do I generate the example design?   I tried doing the Import Examples next to the c_dp_rx_subsystem_0 (see image below), but it din't seem to generate a "main" function.

import_examples.png

Thanks.

Tim

0 Kudos
Highlighted
Moderator
Moderator
2,349 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Hi @tim_severance,

 

It should generate a main into a xdprxss_rxonly.c file.

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
2,328 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   Yes, I see that, thanks.   I was able to get it up and running eventually.

Tim

0 Kudos
Highlighted
2,118 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   I found the following page that shows how to setup Windows to accept long path names, so I set this up, but Vivado still complains.   Is there a way to tell Vivado that Windows will actually accept the path lenght?   If not, can this please be added as a feature request?   

 

https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

 

Thanks.

Tim

0 Kudos
Highlighted
Moderator
Moderator
2,089 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Hi @tim_severance,

 

I will discuss this with development.

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Highlighted
2,072 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   Do you know if I setup the project using core container for the block design IP if that would prevent all the long paths in the sources subdirectory?   I think that is where most of the long path names are.

Tim

0 Kudos
Highlighted
Moderator
Moderator
2,062 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Hi @tim_severance,

 

I am not 100% sure but yes, core container might help with the path length

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
1,781 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw,

   Any update by chance on these path length errors?   I wanted to generate the DisplayPort RxTx example design in Vivado 2018.2 but after starting the example project generation I forgot that this is not possible in Windows due to path lengths.  I already have the project in "C:\" to minimize the path length.

   It would be great if this project could be rebuilt to make sure it works in Windows 10.

Thanks!

Tim

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
1,773 Views
Registered: ‎12-02-2009

Re: DisplayPort RX example design path length error windows 10

Jump to solution

Do the following:

 

When you generate the displayport subsystem example design, the block design should be opened.

 

  1. In the tcl console enter the command (<path> is the path to a known directory)
    write_bd_tcl <path>/bd.tcl
  2. Open this bd.tcl file generated with a test editor
  3. Find the following line:
    # CHANGE DESIGN NAME HERE
    variable design_name
    set design_name dp_rx_subsystem_0_design_synth
  4. Change to
    # CHANGE DESIGN NAME HERE
    variable design_name
    set design_name dp_ss
  5. Create a new project with a short name (ex dp_ss) in directory close to the root directory
  6. Source the bd.tcl file from the tcl console
    source bd.tcl

Hope that helps,

Highlighted
1,752 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@kka,

   That *almost* worked!   After generating the wrapper and implementing it failed bitstream generation with the errors below.   I am not sure why these IOSTANDARDs did not get defined.

 

bistream_fail.png

 

Tim

0 Kudos
Highlighted
Moderator
Moderator
1,747 Views
Registered: ‎11-09-2015

Re: DisplayPort RX example design path length error windows 10

Jump to solution

HI @tim_severance,

 

There is a xdc added in the initial project. You need to add it to the new project as well.

 

You will find it in the import folder in the example design folder.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Highlighted
1,741 Views
Registered: ‎03-03-2017

Re: DisplayPort RX example design path length error windows 10

Jump to solution

@florentw / @kka,

   Thanks for the information, I was able to implement successfully!

Tim

0 Kudos