代码搜索结果
找到约 10,000 项符合
State Machine 的代码
machine.c
/*
machine.c
*/
#include "machine.h"
#include
#include
extern Mach finm;
#define MAXST 100
char tbl[MAXST][MAXST];
int stcnt = 0;
#define EP '$'
#include
void ini
machine.h
/*
machine.h
*/
typedef int stat;
typedef struct _m {
stat h, t;
} Mach;
Mach fm;
void addtran(stat s, stat z, char ch);
stat new_st();
void finalm();
machine.c
/***********************************************************************
File: machine.c
Rev: a-1
Date: 01/12/99
Copyright (c) 1999, 2001 by David M. Warme
*************************************
machine.h
#ifndef _VIVI_MACHINE_H_
#define _VIVI_MACHINE_H_
#include "config.h"
#ifdef CONFIG_SA1100_KINGS
#include "platform/kings.h"
#endif
#ifdef CONFIG_SA1100_FORTE
#include "platform/forte.h"
#endif
#ifd
machine.v
module machine(inc_pc,load_acc,load_pc,rd,wr,load_ir,datact1_ena,halt,clk1,zero,ena,opcode);
output inc_pc,load_pc,load_acc,rd,wr,load_ir;
output datact1_ena,halt;
input clk1,zero,ena;
machine.cc
// machine.cc
// Routines for simulating the execution of user programs.
//
// DO NOT CHANGE -- part of the machine emulation
//
// Copyright (c) 1992-1996 The Regents of the University of Californi
machine.h
// machine.h
// Data structures for simulating the execution of user programs
// running on top of Nachos.
//
// User programs are loaded into "mainMemory"; to Nachos,
// this looks just like an arra
machine.v
//----------------------------------------------------------------------------
module machine( inc_pc, load_acc, load_pc, rd,wr, load_ir,
datactl_ena, halt, clk1, zero, ena, opcode );
output inc
machine.java
/*
* @(#)Machine.java 2.1 2003/10/07
*
* Copyright (C) 1999, 2003 D.A. Watt and D.F. Brown
* Dept. of Computing Science, University of Glasgow, Glasgow G12 8QQ Scotland
* a