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

Subversion Repositories tv80

[/] [tv80/] [trunk/] [sc_env/] [di_mux.h] - Rev 112

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

#ifndef DI_MUX_H_
#define DI_MUX_H_
 
#include "sc_env.h"
 
SC_MODULE (di_mux)
{
public:
	sc_in<bool>      mreq_n;
	sc_in<bool>      iorq_n;
	sc_in<uint32_t>  addr;
	sc_in<uint32_t>  di_mem;
	sc_in<uint32_t>  di_resp;
	sc_in<uint32_t>  di_uart;
	sc_out<uint32_t> di;
	sc_out<bool>     uart_cs_n;
 
	void event();
 
	SC_CTOR(di_mux) {
		SC_METHOD(event);
		sensitive << mreq_n << iorq_n << addr << di_mem << di_resp << di_uart;
	}
};
 
#endif /*DI_MUX_H_*/
 

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.