UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer bejarub
Observer
11,088 Views

IP Integrator: External AXI Stream Port - Associated Clock

Hi,

 

The design I am creating consists of a microblaze, a clocking wizard, a processor system reset, an AXI interconnect, an uartlite and some local memory. The microblaze is configured to provide AXI stream interfaces.

 

When right click on these interfaces and chose "make external" and verify the design afterwards, I receive a message because no clock port is associated to the external AXI stream ports.

 

Therefore, I created an external clock port by right clicking and choosing "Create Port..." with type clock and direction output.

When I try assign a clock port to the AXI stream port via the "External Interface Properties", I receive the following error message:

 

Vivado v2014.4 (64-bit)

ERROR: [Common 17-70]: HTCProjectCommands::setCurrentProject

- null run pointer.

 

I get this message only after the first attempt, but my selection is never remembered. (These steps are discribed here: http://www.xilinx.com/support/answers/56609.html ) To create an input clock port is not working, too.

 

 

Best regards,

beja

 

0 Kudos
11 Replies
Community Manager
Community Manager
11,076 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Hi Beja,

Is the design migrated? Null pointer exceptions ocurs when the tool is trying to access something which is not present.

 

Can you run the same commands in tcl console and see if the same issue persists?

 

Regards

Sikta

Observer bejarub
Observer
11,071 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Hi Siktap,

the design is not migrated. It is created in Vivado 2014.4.

 

I am not sure which command I should try to run in the TCL console. The command setCurrentProject seems to be invalid.

 

Best regards,

Beja

0 Kudos
Observer bejarub
Observer
11,062 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Attached you will find the created project.

0 Kudos
Community Manager
Community Manager
11,044 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Thanks Beja. I will check this.

 

Regards

Sikta

0 Kudos
Observer bejarub
Observer
11,028 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

I tried to make an AXI4 master port external as described in http://www.xilinx.com/support/answers/56609.html, but with the same result. It is also the same when I use a Zynq Processing System instead of a MicroBlaze and when I try it on a different system but with the same setup (Win7x64, Vivado 2014.4), too.

0 Kudos
Observer bejarub
Observer
11,021 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

I tried it with an Ubuntu installation and there is no error when I asign the clock port, thus it seems to work. But, since I work on a Windows machine it would be nice to have a solution or at least some kind of workaround.

0 Kudos
Observer bejarub
Observer
10,961 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

I have to correct myself. The version which works under Ubuntu is 2014.2. I installed 2014.4 under Ubuntu too, but when I create the project I receive the same error. Vivado 2014.4 is working under Windows, too.

 

Therefore, I think it is a bug in Vivado 2014.4.

0 Kudos
Observer dbau
Observer
10,794 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Any workaround for that ?

I have the same bug with Vivado 2014.4 under recommended Ubuntu 14.04

0 Kudos
Observer dbau
Observer
10,784 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

For those who cares you can fix this with followed method:

Every block design which are generated with the IP integrator has in the sources/bd directory a corresponding *.bd file.

In that file you must search about your clock name and manually edit/extend under the ASSOCIATED_BUSIF parameter your busname to which the clock belongs.

 

Example:

            <spirit:physicalPort>
              <spirit:name>GP0_TX_AXI_clk</spirit:name>
            </spirit:physicalPort>
          </spirit:portMap>
        </spirit:portMaps>
        <spirit:parameters>
          <spirit:parameter>
            <spirit:name>ASSOCIATED_BUSIF</spirit:name>
            <spirit:value>TXRAM_MAC_AXI:TX_S0_AXI:MIG_TXRAM_AXI:Zynq_TX_AXI_out</spirit:value>
          </spirit:parameter>

 

The clock port "GP0_TX_AXI_clk" belongs to the AXI buses TXRAM_MAC_AXI:TX_S0_AXI:MIG_TXRAM_AXI:Zynq_TX_AXI_out

 

After you edit this you will see in the IP integrator when you click on the AXI bus port under clock-port the associated clock.

Tags (1)
0 Kudos
Xilinx Employee
Xilinx Employee
5,033 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Or in the IPI gui, select the clock port, select properties and expand CONFIG. Manually type in the name of the axi port beside ASSOCIATED_BUSIF

0 Kudos
Highlighted
Moderator
Moderator
4,893 Views

Re: IP Integrator: External AXI Stream Port - Associated Clock

Hi all,

 

I have tested this with v2015.1 of the tools which is due for early April release and I can confirm that this is not seen in the newer tools.

 

For now you may use one of the above workarounds for this issue.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

Kind regards,
Gareth
0 Kudos