How to run the Software Development GUI with VCS firmware simulator

  • Start up two terminals …

In the first terminal

  1. Follow the instructions here to build and use the vcs docker container.

  2. Once in the container, setup Vivado and VCS (refer to Vivado and VCS Setup)

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

    $ cd Simple-PGPv4-KCU105-Example/firmware/targets/SimplePgp4Kcu105Example
    $ make vcs
    
  4. Go to the VCS build output

    $ cd ../../build/SimplePgp4Kcu105Example/SimplePgp4Kcu105Example_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 -gui=dve & (or $ ./simv -gui=verdi -verdi_opts -sx &)
    
  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 –dev sim argument

    $ cd Simple-PGPv4-KCU105-Example/software
    $ python scripts/devGui.py --dev sim
    
    Alternative text