How to run the Software Development GUI with VCS firmware simulator

  • Start up two terminal …

In the first terminal

  1. Setup Vivado and VCS (refer to Vivado and VCS Setup)

  2. [Ubuntu only] If you are running in Ubuntu, you will have an error saying that ‘-h’ is and invalid parameter for ‘sh’ during the next step. There is an workaround, but make sure that you know what you are doing because this can have unexpected consequences. If you follow the workaround, I recommend to undo it right after you compile VCS. This link explains what to do: http://embeddedbuzz.blogspot.com/2012/01/binsh-illegal-option-h.html.

  3. Go to the target directory and execute the vcs build

    $ cd Simple-10GbE-RUDP-KCU105-Example/firmware/targets/Simple10GbeRudpKcu105Example
    $ make vcs
    
  4. Go to the VCS build output

    $ cd ../../build/Simple10GbeRudpKcu105Example/Simple10GbeRudpKcu105Example_project.sim/sim_1/behav/
    
  5. Source the VCS + VHPI environment setup

    $ source setup_env.sh
    
  6. Compile firmware with VCS

    $ ./sim_vcs_mx.sh
    
  7. Launch the VCS GUI (either DVE or VERDI)

    $ ./simv -verdi &
    
  8. When the VCS GUI pops up, start the simulation run

    Alternative text

In the Second terminal

  1. Setup rogue software (refer to Rogue Software Setup)

  2. run the Development GUI python script with –ip sim argument

    $ cd Simple-10GbE-RUDP-KCU105-Example/software
    $ python scripts/devGui.py --ip sim
    
    Alternative text