Coder Social home page Coder Social logo

uvm_axi's Introduction

/*///////////////////////////////////////////////////////////////////
////                                                             ////
////  Author: Sean Chen                                          ////
////          [email protected]                               ////
////                                                             ////
////                                                             ////
/////////////////////////////////////////////////////////////////////
////                                                             ////
//// Copyright (C) 2013                                          ////
////                                                             ////
//// This source file may be used and distributed without        ////
//// restriction provided that this copyright statement is not   ////
//// removed from the file and that any derivative work contains ////
//// the original copyright notice and the associated disclaimer.////
////                                                             ////
//// This source file is free software; you can redistribute it  ////
//// and/or modify it under the terms of the GNU Lesser General  ////
//// Public License as published by the Free Software Foundation.////
////                                                             ////
//// This source is distributed in the hope that it will be      ////
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
//// PURPOSE.  See the GNU Lesser General Public License for more////
//// details. http://www.gnu.org/licenses/lgpl.html              ////
////                                                             ////
///////////////////////////////////////////////////////////////////*/

AXI BFM standard protocol checker
  supported
      read/write phase check
      normal protocol check (valid/ready)
      id tag mapping check (addr/data/resp) has the same id
      transfer read/write check, (only for slave side) like bist check
      TLM analysis port, user can use it to hook their third part golden design. like SystemC TLM 2.0 port or DPI interface ...,
  unsupported
      Qos(priority)
      region
      user info
      cache
      protect ...
      atomic check

  folder
    ./dpi         : SystemVerilog DPI interface
    ./examples    : example
    ./pli         : Verilig PLI interface
    ./v           : Design under test (DUT)
    ./sv          : SystemVerilog UVM class
    ./log         : simulation results
    ./rpt         : simulation rpt

How to run the example (1 virtual master to 1 DUT slave)

1. set up your test env
  1.1 prepare your DUT and link it to our test env,
      for example we use 1 Virtual Master to 1 DUT slave

      check ./v/axi_slave.v                                   # dut slave
      check ./example/virtual_master_to_dut_slave/dut_dummy.v # link dut to test env
      check ./example/virtual_master_to_dut_slave/demo_top.sv # top module contains DUT and Tester

  1.2 Memory map table, how many Masters/Slaves, Master/Slave connection ....

      check ./examples/virtual_master_to_dut_slave/demo_conf.sv

  1.3 define your test suites
      in this example, we use 1 read after 1 write to check the memory can read/write supported

      check ./examples/virtual_master_to_dut_slave/demo_axi_master_seq_lib.sv
      check ./examples/virtual_master_to_dut_slave/demo_lib.sv
      check ./examples/virtual_master_to_dut_slave/demo_tb.sv

2. how to run it
  tools requirement
    irun > Version 10
    python > Version 2.7
  python ./run.py


uvm_axi's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.