代码搜索结果
找到约 10,000 项符合
Driver 的代码
driver.h
/***************************************************************************
Module Name: DRIVER.H
Purpose: the declaration of functions, data structures, status codes,
constants, and m
driver.hqx
(This file must be converted with BinHex 4.0)
:&9"bEfaTCQPM990#8f9bD@&X,R0TG!"6593e8dP8)3#3"#6#!*!%#fj6G(9QCNP
d)#KM+6%j16FY-M!`-L""E'&NC'PZ)&0jFh4PEA-X)%PZBbiX)'KdG(!k,bphN!-
ZB@aKC'4TER0jFbjMEfd[8h4
driver.m
% Drives the EM experiment
images = [];
%images(:, :, :, 1) = imread('02-26-06_1110.jpg');
%images(:, :, :, 2) = imread('02-26-06_1111.jpg');
%images(:, :, :, 3) = imread('02-26-06_1112.jpg');
driver.c
/*******************************************************************************
**
** Copyright (c) 2005, UTStarcom Inc. All Rights Reserved.
**
** Subsystem: boot
** File: driver.c
** C
driver.cc
//Driver.cc
#include
#include
#include"DB.h"
#include""
using namespace std;
DB database;
int main()
{
string command;
cin >> command;
while(!cin.eof())
{ if(command=="n
driver.h
#include "systemc.h"
SC_MODULE(driver)
{
sc_outd_reset,d_en,d_rw;
sc_ind_clk;
void prc_driver();
SC_CTOR(driver)
{
SC_THREAD(prc_driver);
}
};
driver.cpp
#include "driver.h"
void driver::prc_driver()
{
d_reset=0;d_en=1;
wait(1,SC_NS);
d_reset=1;
wait(1,SC_NS);
d_reset=0;d_rw=0;
wait(20,SC_NS);
d_rw=1;
//wait(20,SC_NS);
//d_en=0;
}
driver.h
#include "systemc.h"
SC_MODULE(driver)
{
sc_inoutd_s,d_sm;
sc_ind_direct;
void prc_driver();
SC_CTOR(driver)
{
SC_THREAD(prc_driver);
}
};
driver.cpp
#include "driver.h"
void driver::prc_driver()
{
while(1)
{
d_s=sc_logic_X;
d_sm=sc_logic_1;
wait(1,SC_NS);
d_s=sc_logic_1;
d_sm=sc_logic_1;
wait(1,SC