// -*- c++ -*-
//
// sim.h:
//
#ifndef	SIM_H
#define	SIM_H

//
// type definitions
//

typedef	unsigned char	sim_byte;
typedef	unsigned short	sim_hword;
typedef	unsigned int	sim_word;
typedef	struct { sim_word h, l; } sim_dword;
// (currently FP is not implemented)
//typedef	float		sim_float;
//typedef	double		sim_double;

typedef	unsigned long	sim_addr;
typedef	int		sim_size;
typedef	unsigned int	sim_inst;

typedef	unsigned long long sim_time;

#endif
// end of sim.h