一个使用堆栈写的计算器,能够使用常用的数学函数.-use of a stack written by calculators, to use common math functions. 下载
|
有始终使能端的十进制计数器,经验证可以实现-have always enable side of the decimal counter, the experience can be achieved certification 下载
|
1.实现简单的密码登陆框以及计数器功能 2.基本控件的使用方法-1. Simple password box and landing counter two functions. The basic controls use 下载
|
本计算器实现了计算器的基本的运算功能,以及使用比较广泛的函数功能,可作为函数功能型计算器使用,同时为了方便实用,本人进行了统计功能的编程,使本计算器可以用于简单的统计。在编程时只使用了最基本的方法,未用到特别的技术。本程序的执行文件过大是一个较大的问题,在今后的学习中会逐渐改进,将程序进行分块儿,以提高执行效率。-the calculator calculator achieved the basic computing functions, and the use of more extensive Function can be used as a functional calculator use, in order to facilitate the practical, I conducted a statistical functional programming, so that the calculator can be used in simple statistics. When the program to use only the most basic of ways, not the particular technology used. The procedures are too big and is a major problem in the next study will gradually improve, procedures pm deadline, in order to enhance the efficiency of enforcement. 下载
|
使用 C 写的计算器 程序功能简介 可以计算整数四则运算,例如:7+5.2*(3-4)/25.225 (1程序可以反复运算,直到选择退出为止。 (2)增加文件的输入输出功能,是计算过的式子和结果可以根据需要设置命令存储到文件中,同时也可以直接从文件中输入四则运算的式子,运算后,结果输出到原文件中。 (3)程序适合实型数运算。 (4)当有非法的输入时(如字母等),给出提示信息并退出运算。可以自动还原一些常见省略格式。 (5)扩充程序功能,使程序可以进行关系表达式(>=,>,<=,<,==等)的运算,运算结果为 TRUE 或 FALSE 。 -use C to write the computer program can calculate the functions on four integer operations, for example : 7 5.2 * (3-4) / 25.225 (a procedure can be repeated operations Until opt out of date. (2) an increase in the importation of paper output, calculations and the results of the formula may need to set a command to a file, It could also directly from the input document four operations formula, analyzing, Results output to the original document. (3) procedures for real-number operation. (4) When an illegal entry (such as letters) , and presented a message from operations. can automatically restore some common format omitted. (5) expand the functions of the program, the process can be carried out between the expression ( 下载
|
通过使用定时计数器8253实现微机原理实验时钟功能设计-through the use of Arithmometer 8253 PC principle experiment Clock Design 下载
|
基于fpga和sopc的用VHDL语言编写的EDA含异步清0和同步时钟使能的加法计数器- 下载
|
设计四 拔河游戏机 1、 设计一个能进行拔河游戏的电路。 2、 电路使用15个(或9个)发光二极管,开机后只有中间一个发亮,此即拔河的中心点。 3、 游戏双方各持一个按钮,迅速地、不断地按动,产生脉冲,谁按得快,亮点就向谁的方向移动,每按一次,亮点移动一次。 4、 亮点移到任一方终端二极管时,这一方就获胜,此时双方按钮均无作用,输出保持,只有复位后才使亮点恢复到中心。 5、 用数码管显示获胜者的盘数。 教学提示: 1、 按钮信号即输入的脉冲信号,每按一次按钮都应能进行有效的计数。 2、 用可逆计数器的加、减计数输入端分别接受两路脉冲信号,可逆计数器原始输出状态为0000,经译码器输出,使中间一只二极管发亮。 3、 当计数器进行加法计数时,亮点向右移;进行减法计数时,亮点向左移。 4、 由一个控制电路指示谁胜谁负,当亮点移到任一方终端时,由控制电路产生一个信号,使计数器停止计数。 5、 将双方终端二极管“点亮”信号分别接两个计数器的“使能”端,当一方取胜时,相应的计数器进行一次计数,这样得到双方取胜次数的显示。 6、 设置一个“复位”按钮,使亮点回到中心,取胜计数器也要设置一个“复位”按钮,使之能清零。 -design a tug-of-war game, can design a game of tug of war circuit. 2, circuit use 15 (or 9), light-emitting diodes, come only among a shiny, namely, the center of tug-of-war. 3, the game with a two button rapidly and continuously pressed, have a pulse, who by fast, Who bright spots on the move, every time, a bright spot in Mobile. 4, the party moved to highlight terminal diode, on the winning side, this time the two sides had no effect buttons, to maintain output, so after only bright spot reduction restored to the center. 5, digital Display won the bookkeeping. Teaching Tip : one, that the button signal input pulse signal every time the button should be able to effectively counter. 2, with reversible counter, plus or minus count input to receive two pulse signal, reversible counter to the 下载
|
减1计数器 一、设计要求 用Verilog HDL语言设计一个计数器。 要求计数器具有异步置位/复位功能,可以进行自增和自减计数,其计数周期为2^N(N为二进制位数)。 二、设计原理 输入/输出说明: d:异步置数数据输入; q:当前计数器数据输出; clock:时钟脉冲; count_en:计数器计数使能控制(1:计数/0:停止计数); updown:计数器进行自加/自减运算控制(1:自加/0:自减); load_d-a counter a reduction, design requirements using Verilog HDL design of a counter. Asynchronous requests with counter-home / reset functions can be carried out by self and self-count reduction, cycle counting of 2 ^ N (N for binary digit). Second, the principle of design input / output Description : d : asynchronous home several data input; Q : The current counter data output; Clock : clock pulse; Count_en : Counting enable control (1 : Counting / 0 : Stop counting); Updown : dollars several self-Canada / reduction Operational control (1 : Since the plus / 0 : Since decrease); load_d 下载
|
Microsoft Windwos NT/2000 提供了一个强大的API集来访问系统事件和性能数据的众多计数器。我们既可以实时地得到计数器的值,也可以从一个日志文件中读取计数器数据。功能可为强大,而且使用简单 。下面我就简单谈谈在VC中如何使用Windows的性能计数器。好,废话少说,我们开始。 -Microsoft Windows NT/2000 provides a powerful set of APIs to access the system events and performance data of the many counters. We can get real-time counter to the values, they can log files from a counter reading data. Functions as a powerful, but simple to use. Now, I would simply talk about how to use the VC Windows performance counters. Well, nonsense least, we have begun. 下载
|