OpenCores
URL https://opencores.org/ocsvn/apb2spi/apb2spi/trunk

Subversion Repositories apb2spi

[/] [apb2spi/] [trunk/] [tb/] [env/] [apb_agent/] [apb_seq_item.sv] - Rev 18

Go to most recent revision | Compare with Previous | Blame | View Log


class apb_seq_item extends uvm_sequence_item;

                rand bit [`APB_ADDR_WIDTH-1:0] paddr;
                rand bit pwrite;
                rand bit [`APB_DATA_WIDTH-1:0] pwdata;
                rand bit presetn;
                //bit psel;
                //bit penable;
                //bit pready;
                bit [`APB_DATA_WIDTH-1:0] prdata;

        `uvm_object_utils_begin(apb_seq_item)
                `uvm_field_int(paddr,UVM_ALL_ON)
                `uvm_field_int(pwrite,UVM_ALL_ON)
                `uvm_field_int(pwdata,UVM_ALL_ON)
                `uvm_field_int(presetn,UVM_ALL_ON)
        `uvm_object_utils_end

        function new(string name="");
                super.new(name);
        endfunction


endclass

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.