README.txt 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. ################################################################################
  2. # Vivado (TM) v2020.2 (64-bit)
  3. #
  4. # README.txt: Please read the sections below to understand the steps required
  5. # to simulate the design for a simulator, the directory structure
  6. # and the generated exported files.
  7. #
  8. ################################################################################
  9. 1. Simulate Design
  10. To simulate design, cd to the simulator directory and execute the script.
  11. For example:-
  12. % cd questa
  13. % ./top.sh
  14. The export simulation flow requires the Xilinx pre-compiled simulation library
  15. components for the target simulator. These components are referred using the
  16. '-lib_map_path' switch. If this switch is specified, then the export simulation
  17. will automatically set this library path in the generated script and update,
  18. copy the simulator setup file(s) in the exported directory.
  19. If '-lib_map_path' is not specified, then the pre-compiled simulation library
  20. information will not be included in the exported scripts and that may cause
  21. simulation errors when running this script. Alternatively, you can provide the
  22. library information using this switch while executing the generated script.
  23. For example:-
  24. % ./top.sh -lib_map_path /design/questa/clibs
  25. Please refer to the generated script header 'Prerequisite' section for more details.
  26. 2. Directory Structure
  27. By default, if the -directory switch is not specified, export_simulation will
  28. create the following directory structure:-
  29. <current_working_directory>/export_sim/<simulator>
  30. For example, if the current working directory is /tmp/test, export_simulation
  31. will create the following directory path:-
  32. /tmp/test/export_sim/questa
  33. If -directory switch is specified, export_simulation will create a simulator
  34. sub-directory under the specified directory path.
  35. For example, 'export_simulation -directory /tmp/test/my_test_area/func_sim'
  36. command will create the following directory:-
  37. /tmp/test/my_test_area/func_sim/questa
  38. By default, if -simulator is not specified, export_simulation will create a
  39. simulator sub-directory for each simulator and export the files for each simulator
  40. in this sub-directory respectively.
  41. IMPORTANT: Please note that the simulation library path must be specified manually
  42. in the generated script for the respective simulator. Please refer to the generated
  43. script header 'Prerequisite' section for more details.
  44. 3. Exported script and files
  45. Export simulation will create the driver shell script, setup files and copy the
  46. design sources in the output directory path.
  47. By default, when the -script_name switch is not specified, export_simulation will
  48. create the following script name:-
  49. <simulation_top>.sh (Unix)
  50. When exporting the files for an IP using the -of_objects switch, export_simulation
  51. will create the following script name:-
  52. <ip-name>.sh (Unix)
  53. Export simulation will create the setup files for the target simulator specified
  54. with the -simulator switch.
  55. For example, if the target simulator is "ies", export_simulation will create the
  56. 'cds.lib', 'hdl.var' and design library diectories and mappings in the 'cds.lib'
  57. file.