AXI muckbucket
|
Writes to memory over AXI, backdoor readback, then AXI readback. More...
Public Member Functions | |
uvm_object_utils (axi_seq) const int clearmemory=0 | |
new (string name="axi_seq") | |
Constructor. More... | |
task | body () |
void | set_transaction_count (int count) |
How many transactions? More... | |
bit | compare_items (ref axi_seq_item write_item, ref axi_seq_item read_item) |
Compares the write-item with the corresponding read_item. More... | |
Public Attributes | |
const int | window_size = 0x1_0000 |
int | xfers_to_send = 1 |
bit | valid [] |
bit< 2:0 > | max_burst_size |
int | xfers_done =0 |
memory | m_memory |
Writes to memory over AXI, backdoor readback, then AXI readback.
miscompares are flagged.
Definition at line 33 of file axi_seq.svh.
task axi_seq::body | ( | ) |
Definition at line 102 of file axi_seq.svh.
bit axi_seq::compare_items | ( | ref axi_seq_item | write_item, |
ref axi_seq_item | read_item | ||
) |
Compares the write-item with the corresponding read_item.
THis isn't the same as a do_compare() method in the axi_seq_item because the readback is depenent on which burst_type Although it could probably exist as aseperate method in the seqitem.
write_item | - the original item |
read_item | - the item after memory readback |
........................
Definition at line 115 of file axi_seq.svh.
References e_FIXED, e_INCR, e_WRAP, and max_burst_size.
axi_seq::new | ( | string | name = "axi_seq" | ) |
Constructor.
Doesn't actually do anything except call parent constructor
Definition at line 62 of file axi_seq.svh.
References max_burst_size.
void axi_seq::set_transaction_count | ( | int | count | ) |
How many transactions?
This method sets how many transactions to send (Write Address, Write Data, Write Response) is one traction (Read Address, Read Data) is one transaction
count | - how many transactions to send |
Definition at line 92 of file axi_seq.svh.
References xfers_to_send.
Referenced by axi_base_test::build_phase().
|
pure virtual |
memory axi_seq::m_memory |
Definition at line 48 of file axi_seq.svh.
Referenced by axi_sequential_reads_seq::body(), axi_sequential_writes_seq::body(), axi_pipelined_reads_seq::body(), axi_pipelined_writes_seq::body(), axi_pipelined_reads_seq::response_handler(), and axi_pipelined_writes_seq::response_handler().
bit<2:0> axi_seq::max_burst_size |
Definition at line 44 of file axi_seq.svh.
Referenced by compare_items(), and new().
bit axi_seq::valid[] |
Definition at line 42 of file axi_seq.svh.
Referenced by axi_sequential_writes_seq::body(), axi_pipelined_reads_seq::body(), and axi_pipelined_writes_seq::body().
const int axi_seq::window_size = 0x1_0000 |
Definition at line 39 of file axi_seq.svh.
Referenced by axi_sequential_reads_seq::body(), axi_sequential_writes_seq::body(), axi_pipelined_reads_seq::body(), and axi_pipelined_writes_seq::body().
int axi_seq::xfers_done =0 |
Definition at line 46 of file axi_seq.svh.
Referenced by axi_sequential_reads_seq::body(), axi_pipelined_reads_seq::body(), axi_pipelined_writes_seq::body(), axi_pipelined_reads_seq::response_handler(), and axi_pipelined_writes_seq::response_handler().
int axi_seq::xfers_to_send = 1 |
Definition at line 40 of file axi_seq.svh.
Referenced by axi_sequential_reads_seq::body(), axi_sequential_writes_seq::body(), axi_pipelined_reads_seq::body(), axi_pipelined_writes_seq::body(), axi_pipelined_reads_seq::response_handler(), axi_pipelined_writes_seq::response_handler(), and set_transaction_count().