file.svh explaination - kashyapp1/github_exp GitHub Wiki

  • The following files listed are the interface generated named as jtag_pkg.
  • Files generated are under the ./yaml_jtag_output/verification_ip/interface_packages/jtag_pkg/src directory.

jtag2reg_adapter.svh

  • If the interface will be used with a UVM register model, fill in the bus2reg() and reg2bus() functions.
  • User has to fill their own functionality into this file.

jtag_driver.svh

  • Driver class to be instantiated in the agent.

jtag_driver_bfm.sv

  • Bus functional model to convert transactions to protocol pin wiggles. Requires user to fill in functionality.

jtag_macros.sv

  • Defines structs type packets and configuration variables which are used to pass data between classes, HDL, HVL and BFMs.

jtag_monitor.svh

  • Monitor class to be instantiated in the agent.

jtag_monitor_bfm.sv

  • Bus functional model to convert the protocol pin wiggles to transactions. Requires user to fill in functionality.

jtag_random_sequence.svh

  • This file contains start sequence. Randomizes the transaction class fields and transfers it to sequencer. this is extended from jtag_sequence_base.

jtag_responder_sequencer.svh

  • If the interface has responder functionality, complete the body of this sequence.

jtag_sequence_base.svh

  • All new sequences should be extended from abc_sequence_base.
  • This Base class has all inherited sequences and has permission to utilize it.

jtag_transaction.svh

  • Sequence_item class used in sequences.
  • Also contains several methods for printing, comparing, etc.

jtag_transaction_coverage.svh

  • If functional coverage from the agent is desired, add bins, crosses, etc., to the generated covergroup.

jtag_typedefs.svh

  • This file contains defines and typedefs used only in the testbench (HVL) side of the testbench. Package may not contain any defines or typedefs after but will still be generated.

jtag_typedefs_hdl.svh

  • This file contains defines and typedefs used by the interface package performing transaction-level simulation activities. This package is used by the driver/monitor BFMs.