(1) Synthesizable AxiLiteIf
(2) Simulation model for AxiLite contains an AxiLiteTransaction class
and an AxiLiteBfm class.
Important Methods
a. wr - performs non-blocking write and checks for expected response
b. wr_block - performs a blocking write and provides response
c. rd - performs a non-blocking read and checks for expected response
d. rd_block - persforms a blocking read and provides response
The model allows parallel execution of reads and writes, but enforces
rd and write ordering when using the above methods. When transactions
are posted directly, ordering is not guaranteed, and reads and writes
are put on the interface immediately.
Original-commit: afee1888dd7c2d9d95e537f505ce7ab36252763a
22 lines
691 B
Systemverilog
22 lines
691 B
Systemverilog
//
|
|
// Copyright 2020 Ettus Research, A National Instruments Brand
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
//
|
|
// Package: PkgAxiLite
|
|
// Description:
|
|
// AXI4-Lite is an ARM standard for lighter weight registers
|
|
// axis based on the AXI4 protocol. For more information
|
|
// on the spec see - https://developer.arm.com/docs/ihi0022/d
|
|
//
|
|
// This package contains types used for AxiLiteIf.
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// AXI4-Lite Package
|
|
//-----------------------------------------------------------------------------
|
|
|
|
package PkgAxiLite;
|
|
typedef enum logic [1:0] {OKAY=0,SLVERR=2,DECERR=3} resp_t;
|
|
endpackage : PkgAxiLite
|