Description: 乒乓球游戏机实验报告实验人: 大火虎设计课题: 用VHDL设计一个乒乓球游戏机,用开关来摸拟球手及裁判,用LED来模拟乒乓球,采用每局十一球赛制,比分由七段显示器显示. 设计思路: 采用按功能分块,将整个电路分成若干子程序,利用不同的子程序来实现记分,显示,键盘控制。设计过程: 1) 对4MHZ信号进行分频,得到所需的1HZ,及七段显示器所需的频率.存为CLOCKMAKE.VHD(注:仿真时所加的信号频率比这要高。)。 2) 设计一个子程序来描述裁判,左击球手,右击球手的动作对LED显示的影响,及失球后给出失球信号.这个程序是通过状态机来完成。存为PLAYANGLED.VHD 3) 利用上一子程序给出的矢球信号,来实现记分。-table tennis game Experimental Experimental Report : fire tiger design issues : VHDL design a table tennis game, and switch to simulation player and referee, used to simulate LED table tennis, Council adopted 11 per match system, the score by paragraph 107 of monitor displays. Design : Using functional block, the whole circuit is divided into several subroutines, the use of different subroutine to achieve points, display, keyboard control. Design process : a) right 4MHZ signal frequency, with the necessary 1HZ. Monitors and paragraph 107 of the required frequency. retention of CLOCKMAKE.VHD (Note : Simulation at the signal frequency increases would be higher than this.) . 2) design a subroutine to describe the referee, hitting the left hand, right-click the player moves right LED display, Platform: |
Size: 1120 |
Author:slw |
Hits:
Description: 本函数在matlab实现阻抗圆图,通过调用switch()函数,可以得出传输线的反射系数,以及支节匹配等参数,本函数可以实现单、双和三支节匹配。-The realization of the impedance function in matlab circle map, by calling the switch () function of transmission line can be drawn of the reflection coefficient, as well as the support section to match the parameters, this function can achieve a single, double and three matching section. Platform: |
Size: 3072 |
Author:leo |
Hits:
Description:
Sherpa is a cross-platform file browser.
The application is aimed to be usable on:
* Windows 2000/XP,
* GNU/Linux,
* (and other systems as they get sorted out)
The main aim of the Sherpa project is to create
a file browser that is easy to use and flexible,
allowing configuration to match the expectations
of users as they move from operating system to
operating system.
Users
------
The project aims to create a program that will
aid the non-technical desktop user to handle
common file activities on any operating system.
A user who is accustomed to using Windows Explorer
will find it easier to switch to Linux (and
handle Mac OS X when they have to) if file access
is presented in a similar manner.-
Sherpa is a cross-platform file browser.
The application is aimed to be usable on:
* Windows 2000/XP,
* GNU/Linux,
* (and other systems as they get sorted out)
The main aim of the Sherpa project is to create
a file browser that is easy to use and flexible,
allowing configuration to match the expectations
of users as they move from operating system to
operating system.
Users
------
The project aims to create a program that will
aid the non-technical desktop user to handle
common file activities on any operating system.
A user who is accustomed to using Windows Explorer
will find it easier to switch to Linux (and
handle Mac OS X when they have to) if file access
is presented in a similar manner. Platform: |
Size: 102400 |
Author:balife |
Hits:
Description:
(1) switch后面括弧内的“表达式”, ANSI标准允许它为任何类型。
(2) 当表达式的值与某一个case后面的常量表达式的值相等时,就执行此case后面的语句,若所有的case中的常量表达式的值都没有与表达式的值匹配的,就执行default后面的语句。
(3) 每一个case的常量表达式的值必须互不相同,否则就会出现互相矛盾的现象(对表达式的同一个值,有两种或多种执行方案-(1) switch in brackets after the " expression" , ANSI standard allows for any type. (2) When the value of the expression of a case with a constant expression after the equal value, for the purpose of this case behind the statement that if all the constants in the case of the value of expression and the expression did not match the value of on the implementation of the statement after default. (3) Every case constant expression of value must be different from each other, otherwise there will be contradictory phenomenon (for the expression of the same value, there are two or more of the implementation of the program Platform: |
Size: 3072 |
Author:123 |
Hits:
Description: 用单片机AT89s52对可编程滤波器芯片MAX262 进行程序控制,可以同时对两路输入信号进行二阶低通、高通、带通、带阻以及全通滤波处理,滤波器的中心频率在15kHz~50kHz 频率范围内实现64 级程控调节,其Q 值在0.5~64 范围实现128 级程控调节。-In a simple, accurate, reliable, stable and universal principles, use of a hierarchical design to match the idea of interconnection. The characteristics of the system is: through the analog switch to change the feedback resistor value, thus changing the amplifier gain, gain from 10dB to 60dB adjustable step to 10dB.
With single-chip programmable filter AT89s52 of MAX262 chip to program, you can at the same time the input signal for two second-order low-pass, high pass, band-pass, band-stop and all-pass filter processing, filter center frequency in 15kHz ~ 50kHz frequency range of 64 to achieve adjustment program, the Q value in the range of 0.5 ~ 64 conditioning program to achieve 128. Platform: |
Size: 47104 |
Author:chenchong |
Hits:
Description: 设计以电磁继电器模拟密码锁,由单片机8051来控制锁的打开与闭合,由HD7279来管理器键盘及显示,密码从键盘输入,用8051来控制7279显示当前锁的状态信息及报警。本次设计用单片机开发系统来模拟密码锁的多种功能,密码由4-6位数字组成,当输入密码相符时开锁,输入三次不符报警,同时密码输入正确时可以修改密码,此时指示灯亮。开锁单片机开发出开关量,通过光电耦合器控制,打开密码锁。报警则由单片机发出报警信号,控制音频放大电路发出报警声音。-Designed to simulate electromagnetic relay locks, by the microcontroller 8051 to control the lock open and closed, by the HD7279 to manage the keyboard and display device, the password from the keyboard input to control the 7279 with 8051 shows the current lock status information and alarms. The microcontroller development system designed for use to simulate the lock of a variety of functions, the password from 4-6 digits, when the lock when the password match, enter the three inconsistent with the police, at the same time when you enter the correct password can modify the password, this time indicator light . SCM developed unlocking switch volume control through the optocoupler, open the lock. Alarm alarm signal sent by the MCU to control the audio amplifier circuit alarm sounds. Platform: |
Size: 300032 |
Author:xiaoshao |
Hits:
Description: 使用switch语句匹配后输出两个变量的和-After using the switch statement to match the output of two variables and Platform: |
Size: 2048 |
Author:王利华 |
Hits:
Description: 1. 测量方式可以随被测信号的频率变化自动进行切换,>1000Hz时,定时计数方式;<900Hz时,测周期,切换点可以随时自定义,可以做到最佳的匹配。
2. 可以通过改变晶振或者单片机来提高测量范围,有四个常用晶振的宏选择
3. 精度高,通过软件修正、再配合高频晶振以及更换单周期指令的单片机,高频时,可以做到+-2Hz的误差。-1. A measurement with the measured signal frequency changes automatically switch,> 1000Hz, the timer count the ways <900Hz, the measurement cycle, the switching point can be custom
You can be the best match.
2. Can change the crystal or single-chip to improve the measurement range, there are four commonly used crystal macro select
3. High precision, coupled with the high-frequency crystal oscillator and the replacement of single-cycle instruction microcontroller software correction, the high frequencies, can be done+- 2Hz error.... Platform: |
Size: 56320 |
Author:刘凡 |
Hits:
Description: Connect (reconnect) and enable bluetooth mouse, headset, gps receiver o ther device
This script removes the remote bluetooth device from your system (if present), than adds and configures it again.
This script requires Bluetooth Command Line Tools 1.2.0.56 or higher.
It may be necessary to switch the remote bluetooth device into discoverable mode before running the script. (Consult the documentation of your bluetooth device).
Usage:
1. Copy the following script into your text editor (e.g. notepad).
2. Change device address and service GUID to match your device. (To obtain these values, run btdiscovery -s ). Optionally set the PIN code.
3. Save the file with .bat extension.-Connect (reconnect) and enable bluetooth mouse, headset, gps receiver or other device
This script removes the remote bluetooth device from your system (if present), than adds and configures it again.
This script requires Bluetooth Command Line Tools 1.2.0.56 or higher.
It may be necessary to switch the remote bluetooth device into discoverable mode before running the script. (Consult the documentation of your bluetooth device).
Usage:
1. Copy the following script into your text editor (e.g. notepad).
2. Change device address and service GUID to match your device. (To obtain these values, run btdiscovery -s ). Optionally set the PIN code.
3. Save the file with .bat extension. Platform: |
Size: 300032 |
Author:msarmout |
Hits:
Description: Switch 可能转化成多种不同算法的代码。其中最常见的是跳转表和比较链/树。当switch用比较链的方式转化时,编译器会产生if-else-if的嵌套代码,并按照顺序进行比较,匹配时就跳转到满足条件的语句执行。所以可以对case的值依照发生的可能性进行排序,把最有可能的放在第一位,这样可以提高性能。-Switch could be transformed into a variety of different algorithm code. One of the most common is to jump the table and compare chain/tree. When the switch comparison chain transformation, the compiler will generate a nested if-else-if code, in order to compare and match Jump to meet the conditions of the statement is executed. So can the value of the case in accordance with the likelihood of sorting, most likely the first place, so you can improve performance.
Platform: |
Size: 4096 |
Author:franda |
Hits:
Description: Android平台的短信过滤器,用广播实现,按照来电号码的前缀匹配是否需要过滤。做了前后台切换,用了ListActivity。-SMS filter for Android platform with broadcast, according to the Caller ID prefix match the need for filtering. Do Taiwan before and after the switch, with the ListActivity. Platform: |
Size: 175104 |
Author:黄星辰 |
Hits:
Description: jQuery Clean是一个用来对HTML内容进行整理和标签自动匹配的jQuery插件。主要的操作包括,自动关闭标签、自动转小写、自动删除不被识别的标签、格式化缩进等功能。-the jQuery Clean is a to finishing and labels automatically match jQuery plugin for HTML content. The main operations include automatically close the tab, automatically switch to lowercase automatically remove the identification label, formatted indent. Platform: |
Size: 11264 |
Author:eepudn77a |
Hits:
Description: 设计一个用于篮球比赛的定时器。要求:
(1)定时时间为24秒,按递减方式计时,每隔1秒,定时器减1;
(2)定时器的时间用两位数码管显示;
(3)设置两个外部控制开关,开关K1控制定时器的直接复位/启动计时,开关K2控制定时器的暂停/连续计时;当定时器递减计时到零(即定时时间到)时,定时器保持零不变,同时发出报警信号,报警信号用一个发光二极管指示。
(4)输入时钟脉冲的频率为50MHz.(Design a timer for a basketball match. Requirements:
(1) the timer time is 24 seconds and the timer is reduced by 1 second every second.
(2) the timer time is displayed with two digital tubes;
(3) set two external control switches, switch K1 control the direct reset/start time of the timer, switch K2 control timer pause/continuous time; When the timer decreases to zero (i.e., timing time), the timer stays zero and sends an alarm signal, indicating the alarm signal with a light-emitting diode.
(4) the frequency of input clock pulse is 50MHz.) Platform: |
Size: 23552 |
Author:LIMBO2K
|
Hits:
Description: 一个界面比较精美的蓝牙聊天项目源码,可以搜索并适配附近的蓝牙设备,程序安装以后会自动为程序创建桌面快捷方式,聊天内容支持文字和表情,开启应用以后会有一个常驻通知栏的图标,点击就可以再次返回聊天界面,另外可以切换聊天背景图片。(A more beautiful interface bluetooth chat program source code, you can search and match nearby Bluetooth devices, procedures will automatically after installation for the program to create a desktop shortcut, chat support words and expressions, open there will be a permanent notification bar icon after application, you can click back chat interface, also can switch chat background picture.) Platform: |
Size: 968704 |
Author:Puffer fish |
Hits: