/***************************************************************************
mipscontrol.h - description
-------------------
begin : Thu Nov 23 2000
copyright : (C) 2000 by Jose Maria Requena Lopez
email : jmrequena@larural.es
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef MIPSCONTROL_H
#define MIPSCONTROL_H
#include "mipsignextender.h"
/**
*@author Jose Maria Requena Lopez
*/
class MipsControl {
public:
MipsControl();
~MipsControl();
AND a,b,c,d;
OR e,f;
NOT n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,n13,n14,n15,n16;
WIRE r,lw,sw,beq,g,h;
WIRE n0w,n1w,n2w,n3w,n4w,n5w,n6w,n7w,n8w,n9w,n10w,n11w,n12w,n13w,n14w,n15w,n16w;
void run(WIRE Op[6], //Seņal de operacion
WIRE &aluSrc,
WIRE &aluOp1,
WIRE &aluOp0,
WIRE ®Dst,
WIRE &memWrite,
WIRE &memRead,
WIRE &branch,
WIRE &memToReg,
WIRE ®Write);
};
#endif
| Generated by: root@localhost.localdomain on Sat Dec 2 02:26:22 200. |