jtag_dpi.cfg 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Provide support for the Cadence JTAG BFM
  3. #
  4. # Copyright (c) 2020, Ampere Computing LLC
  5. #
  6. # This program is free software; you can redistribute it and/or
  7. # modify it under the terms of the GNU General Public License as
  8. # published by the Free Software Foundation; either version 2 of
  9. # the License, or (at your option) any later version.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program;
  18. #
  19. #
  20. adapter driver jtag_dpi
  21. # Set the DPI JTAG server port
  22. if { [info exists DPI_PORT] } {
  23. set _DPI_PORT $DPI_PORT
  24. } else {
  25. set _DPI_PORT 5555
  26. }
  27. # Set the DPI JTAG server address
  28. if { [info exists DPI_ADDRESS] } {
  29. set _DPI_ADDRESS $DPI_ADDRESS
  30. } else {
  31. set _DPI_ADDRESS "127.0.0.1"
  32. }
  33. jtag_dpi_set_port $_DPI_PORT
  34. jtag_dpi_set_address $_DPI_ADDRESS