+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Full Member level 5
    Points: 1,991, Level: 10

    Join Date
    Nov 2013
    Location
    Germany
    Posts
    268
    Helped
    27 / 27
    Points
    1,991
    Level
    10

    PCIE PIO example design

    Hi,

    I am having issues trying to simulate the PIO example using the below command which was mentioned in the pg156 manual for ultrascale_pcie_gen_3 from Xilinx.

    demo_tb.exe -gui -view wave.wcfg -wdb wave_isim -tclbatch isim_cmd.tcl -testplusarg TESTNAME=sample_smoke_test0

    I am able to see the waveform and add the waveforms. However to have a link_up signal I had to wait for sometime until my simulation ran upto 180ns.
    I would like to test the other testnames as mentioned in the manual. Could you tell me what command name can I use in the tcl console to get other simulation "testnames" ??

    Thanks in advance.

    regards,
    Sreeni

    •   Alt13th March 2018, 10:37

      advertising

        
       

  2. #2
    Full Member level 4
    Points: 1,828, Level: 9

    Join Date
    May 2014
    Posts
    221
    Helped
    22 / 22
    Points
    1,828
    Level
    9

    Re: PCIE PIO example design

    I'm not familiar with this,

    However what you'll find is
    demo_tb.exe takes some arguments

    I am guessing you just repeat the command

    demo_tb.exe -gui -view wave.wcfg -wdb wave_isim -tclbatch isim_cmd.tcl -testplusarg TESTNAME=sample_smoke_test0

    However you change the last argument - TESTNAME=sample_smoke_test0 for TESTNAME=different_testname_from_manual

    Give that a go, did it work?

    Regards,
    Wes



  3. #3
    Super Moderator
    Points: 29,071, Level: 41
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,687
    Helped
    1604 / 1604
    Points
    29,071
    Level
    41

    Re: PCIE PIO example design

    Quote Originally Posted by wesleytaylor View Post
    However you change the last argument - TESTNAME=sample_smoke_test0 for TESTNAME=different_testname_from_manual

    Give that a go, did it work?

    Regards,
    Wes
    actually it should work as the Xilinx PCIe simulations I have looked at have a number of testname tests that can be called to run different tests.



    •   Alt13th March 2018, 16:46

      advertising

        
       

  4. #4
    Full Member level 5
    Points: 1,991, Level: 10

    Join Date
    Nov 2013
    Location
    Germany
    Posts
    268
    Helped
    27 / 27
    Points
    1,991
    Level
    10

    Re: PCIE PIO example design

    Hi Wes,

    when I run the demo_tb.exe I get invalid command name. I cannot find any demo_tb.exe file in the project folder. When I do relaunch_sim it runs sample_smoke_test0 sample file by default. So I was able to replace the default code with other code and then get the simulation running. However the demo_tb.exe command was found in my project.

    regards,
    Sreeni

    - - - Updated - - -

    Quote Originally Posted by ads-ee View Post
    actually it should work as the Xilinx PCIe simulations I have looked at have a number of testname tests that can be called to run different tests.
    Yes you can run with different tests by replacing the default code with different test name. But unfortunately I could not find the demo_tb.exe in project dir or get it running.



  5. #5
    Super Moderator
    Points: 29,071, Level: 41
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,687
    Helped
    1604 / 1604
    Points
    29,071
    Level
    41

    Re: PCIE PIO example design

    demo_tb.exe is the result of compiling the simulation in Vivado

    xvlog
    xelab
    xsim runs the .exe file based simulation



  6. #6
    Full Member level 5
    Points: 1,991, Level: 10

    Join Date
    Nov 2013
    Location
    Germany
    Posts
    268
    Helped
    27 / 27
    Points
    1,991
    Level
    10

    Re: PCIE PIO example design

    Quote Originally Posted by ads-ee View Post
    demo_tb.exe is the result of compiling the simulation in Vivado

    xvlog
    xelab
    xsim runs the .exe file based simulation
    I ran the simulation but unfortunately no demo_tb.exe was generated.



  7. #7
    Super Moderator
    Points: 29,071, Level: 41
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,687
    Helped
    1604 / 1604
    Points
    29,071
    Level
    41

    Re: PCIE PIO example design

    Then start looking for errors in the compilation Vivado tends to get a compilation error and continues on until it gets to something that breaks the tools.



    •   Alt14th March 2018, 14:21

      advertising

        
       

  8. #8
    Full Member level 5
    Points: 1,991, Level: 10

    Join Date
    Nov 2013
    Location
    Germany
    Posts
    268
    Helped
    27 / 27
    Points
    1,991
    Level
    10

    Re: PCIE PIO example design

    Quote Originally Posted by ads-ee View Post
    Then start looking for errors in the compilation Vivado tends to get a compilation error and continues on until it gets to something that breaks the tools.
    Unfortunately I could not change find the error or the demo_tb.exe. The alternative was to change the testname to one of their sample test programs and get the waveform.



--[[ ]]--