Post Go back to editing
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

xilinx capture script

Greetings!

I'm using ad7616. Trying to capture data from DDR ram. I run the script given in the legacy folder but after running that script I didn't see the capture_chl.csv file anywhere.

I'm copy-pasting the whole script after setting the following arguments:

set     m_type          ZYNQ_PS7

set    start_addr     0x00800000  

set    num_of_channels   2      ;#(as I'm applying an input to only channel A0)

set   strage_bits     16 

other than this I didn't change anything else. Just copy the whole script and paste into the XSCT console. But I checked every folder of the project but I didn't find the capture_chl.csv file anywhere. 

Kindly correct me if my way is wrong.




[locked by: buha at 8:28 AM (GMT -5) on 11 Nov 2021]
Parents
  • ,

    Please do not copy to xsct console, use xsct in command line with arguments (script name, extra parameters etc.) something like:

    xsct ../../legacy/scripts/xilinx_capture.tcl ZYNQ_PS7 0x800000 32768 2 16

  • Hi Buha,

    Thanks for quick response, But when I run the command reffered by you give an error "invalid command name "../../xilinx_capture.tcl"

  • , you need to source the settings64.sh / settings64.bat script first to have xsct available at command line.

    And then, make sure to provide the correct path to xilinx_capture.tcl, this is probably what's wrong in your case.

  • Buha, Thanks for your help. I make the csv file using the xsct but the problem is I can't be able to set the parameters directly as you mentioned above, The only way I find is to update the script( by putting parameters manually and saving the file) and then source the file through xsct.

  • Ok, let me see if I understood correctly, otherwise please rephrase.

    For some reason you were not able to pass the parameters as command line arguments, but you were able to generate the .csv by modifying the xilinx_capture.tcl script, is that right ? 


Reply
  • Ok, let me see if I understood correctly, otherwise please rephrase.

    For some reason you were not able to pass the parameters as command line arguments, but you were able to generate the .csv by modifying the xilinx_capture.tcl script, is that right ? 


Children