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

Subversion Repositories tv80

[/] [tv80/] [trunk/] [sc_env/] [di_mux.h] - Blame information for rev 115

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

Line No. Rev Author Line
1 97 ghutchis
#ifndef DI_MUX_H_
2
#define DI_MUX_H_
3
 
4
#include "sc_env.h"
5
 
6
SC_MODULE (di_mux)
7
{
8
public:
9
        sc_in<bool>      mreq_n;
10
        sc_in<bool>      iorq_n;
11
        sc_in<uint32_t>  addr;
12
        sc_in<uint32_t>  di_mem;
13
        sc_in<uint32_t>  di_resp;
14
        sc_in<uint32_t>  di_uart;
15
        sc_out<uint32_t> di;
16
        sc_out<bool>     uart_cs_n;
17
 
18
        void event();
19
 
20
        SC_CTOR(di_mux) {
21
                SC_METHOD(event);
22
                sensitive << mreq_n << iorq_n << addr << di_mem << di_resp << di_uart;
23
        }
24
};
25
 
26
#endif /*DI_MUX_H_*/

powered by: WebSVN 2.1.0

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