Author Topic: Zynq DMA Scatter Gather still included when disabled...?  (Read 2845 times)

0 Members and 1 Guest are viewing this topic.

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 276
Zynq DMA Scatter Gather still included when disabled...?
« on: September 27, 2023, 05:52:13 pm »
Hi all,

I have this strange problem that I haven't seen on the net.

I'm configuring a DMA in a block design for the Zynq and disabling SG mode as it's simple not needed for this part of the design. Please see the screenshot of the configuration below.

However even after reseting the block design outputs, reseting the synth, generating the bitstream and exporting the HW I still get SG mode enabled in the xparameters header file!? So when I try to use the simple mode it errors out saying it's incompatible with SG.

In Vitis I reimport the hardware, clean and build. A loop I've been running for a weeks now without an issue like this.

Any thoughts would be amazing!

Thanks

 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2738
  • Country: ca
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #1 on: September 27, 2023, 06:06:09 pm »
In Vitis I reimport the hardware, clean and build. A loop I've been running for a weeks now without an issue like this.
I've noticed that re-importing xsa file into Vitis sometimes is bugged - either it doesn't update the drivers, or leaves out old bitstream. However it always works perfectly when you create a new platform. So I would recommend trying to do just that and see if right settings show up as a result.

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 276
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #2 on: September 27, 2023, 06:16:07 pm »
Thanks for the quick reply.

Will I not have to remake my software project if I do that?
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2738
  • Country: ca
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #3 on: September 27, 2023, 08:24:01 pm »
Will I not have to remake my software project if I do that?
You can retarget your project to a new platform if you add it to the same Vitis workspace.

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 276
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #4 on: September 28, 2023, 10:37:14 am »
So I tried this but SG is still included...  :palm: Currently investigating.

I have to say I'm shocked at how unstable Vivado and Vitis is. Perhaps Vitis more so due to the many components it has, I have to have task manager constantly open to kill processes preventing me from debugging etc. Typically I'll have 2-3 crashes from Vivado and Vitis per day.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2738
  • Country: ca
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #5 on: September 28, 2023, 01:21:51 pm »
I have to say I'm shocked at how unstable Vivado and Vitis is. Perhaps Vitis more so due to the many components it has, I have to have task manager constantly open to kill processes preventing me from debugging etc. Typically I'll have 2-3 crashes from Vivado and Vitis per day.
You probably are well advised to get to the bottom of those issues before doing anything productive (maybe hardware issues with your PC?). As both Vivado and Vitis have been rock-stable for me and the last time I've experienced a crash of either one of those has been years ago.

Offline Daixiwen

  • Frequent Contributor
  • **
  • Posts: 357
  • Country: no
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #6 on: September 29, 2023, 08:07:49 am »
I have about 3-4 Vivado crashes per week and just learned to live with it. I use tcl scripts for my workflow and edit them in VS Code so that I don't loose them when Vivado crashes.
 

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 276
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #7 on: September 29, 2023, 05:27:22 pm »
I haven't looked into it much but is it possible use the command line with tcl scripts for the majority of the work? Block designs sure need doing in the GUI but I feel like the rest would be great for CLI, especially on Linux.

I despise Eclipse, Cmake or even make would be sooo much nicer than Eclipse.

It's the heaviness and clumsiness of the GUIs that get me.
 

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 276
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #8 on: September 29, 2023, 06:58:28 pm »
What do you know? I managed to manifest what I wanted  ;D

https://docs.xilinx.com/r/en-US/ug1553-vitis-ide/Components-and-System-Projects
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2738
  • Country: ca
Re: Zynq DMA Scatter Gather still included when disabled...?
« Reply #9 on: September 29, 2023, 08:46:01 pm »
I don't know how you manage to crash Vivado so often, I haven't had a single crash in years, both under Windows 10 Pro nor under Ubuntu 20.04 LTS. I do use VS code for code editing and only use Vivado for simulations, and of course synthesis and P&R.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf