代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.cpp
/*****************************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2002 by all C
switch.h
/*****************************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2002 by all C
switch.h
/* FJ:SupportForTARBO-20020617-V01L01 */
#ifndef __SWITCH_H__
#define __SWITCH_H__
// ioctl cmds
#define FPGA_SW_MAJOR 250
#define FPGA_SW_IOC_MAGIC 0xdc
#define FPGA_SW_READ _IOR(FPGA_SW_IOC_MAGIC
switch.c
#include
#include
#include
#include
#include
#include "switch.h"
#include "sw_val.h"
static int swfd;
int sw_init()
{
if((swfd = open("/dev
an_switch.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity an_switch is
--实现按键脉冲变换成固定的‘0’‘1’信号
port
( star_in : in std_logic;
waiten_in : in s