to get AXI Stream Monitor information
    inline uint64_t get_transactions_count()  { return total_trans;}
    inline uint64_t get_data_bytes_count()    { return total_data_bytes;}
    inline uint64_t get_busy_cycles_count()   { return total_busy_cycles;}
    inline uint64_t get_stall_cycles_count()  { return total_stall_cycles;}
    inline uint64_t get_starve_cycles_count() { return total_starve_cycles;}


    // Add trace support
    std::vector<axi_s_event*> *get_events() { return event_list; }

    void reset_event_list();

    void create_event(int type) {
//        assert(curr_event == nullptr);    // ??
        curr_event = new axi_s_event(type);
    }

    void create_multiple_events_in_curr_cycle(int type) {
//        assert(curr_event1 == nullptr);    // ??
        curr_event1 = curr_event;
        curr_event = new axi_s_event(type);
    }

  private:

    uint64_t total_trans;
    uint64_t total_data_bytes;
    uint64_t total_busy_cycles;
    uint64_t total_stall_cycles;
    uint64_t total_starve_c