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

Subversion Repositories fwrisc

[/] [fwrisc/] [trunk/] [ve/] [fwrisc/] [tests/] [fwrisc_perf_tests.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mballance
/*
2
 * fwrisc_perf_tests.h
3
 *
4
 *  Created on: Nov 18, 2018
5
 *      Author: ballance
6
 */
7
 
8
#ifndef INCLUDED_FWRISC_PER_TESTS_H
9
#define INCLUDED_FWRISC_PER_TESTS_H
10
#include "fwrisc_instr_tests.h"
11
 
12
class fwrisc_perf_tests : public fwrisc_instr_tests {
13
public:
14
        fwrisc_perf_tests();
15
 
16
        virtual ~fwrisc_perf_tests();
17
 
18
        virtual void regwrite(uint32_t raddr, uint32_t rdata);
19
 
20
        virtual void exec(uint32_t addr, uint32_t instr);
21
 
22
        virtual void memwrite(uint32_t addr, uint8_t mask, uint32_t data);
23
 
24
protected:
25
        uint32_t                                        m_instr_count;
26
        uint32_t                                        m_mem_writes;
27
 
28
};
29
 
30
#endif /* INCLUDED_FWRISC_PER_TESTS_H */

powered by: WebSVN 2.1.0

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