这是GPS接收机,基带处理模块中累加模块设计代码,用于码跟踪环。代码设计巧妙,避免了消耗FPGA中比较稀缺的硬件乘法器资源。
上传时间: 2013-12-24
上传用户:xinzhch
本设 计 将 转换结束状态线STS与单片机的P1.7 相连,启动转换信号CE由单 片机的丽和丽相与所得,采用查询方式来读取AD574A的转换结果,由AO来 控制读取高8位和低4位。
上传时间: 2014-01-06
上传用户:13215175592
知识要点:理解熟悉单片机的逻辑运算 运行结果:P1 口输出结果为01100000,注意1 为灭0 为亮,从1.7 到1.0 排列 ANL 0FH就是把数据与00001111相与那么遇1得原来的数遇0则为0,结果是前面的4位变 0, 后面的4 位保留
上传时间: 2015-11-07
上传用户:wxhwjf
一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把 他的话解释成人能听得懂的话. 2. 基本要求: 用下述两条具体规则和上述规则形式(2)实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言的词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (1) B --> tAdA (2) A --> sae 3. 测试数据: B(ehnxgz)B 解释成 tsaedsaeezegexenehetsaedsae若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:"天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |
上传时间: 2014-12-02
上传用户:jkhjkh1982
从表面上看,保护模式和实模式并没有太大的区别,二者都使用了内存段、中断和设备驱动来处理硬件,但二者有很多不同之处。我们知道,在实模式中内存被划分成段,每个段的大小为64KB,而这样的段地址可以用16位来表示。内存段的处理是通过和段寄存器相关联的内部机制来处理的,这些段寄存器(CS、DS、 SS和ES)的内容形成了物理地址的一部分。具体来说,最终的物理地址是由16位的段地址和16位的段内偏移地址组成的。用公式表示为:物理地址=左移4位的段地址+偏移地址。
标签: 表面
上传时间: 2015-11-16
上传用户:manking0408
基于Wince 4.2 操作系统,用Evc4.0编写的s3c2410 SPI模块程序
上传时间: 2014-01-18
上传用户:wsf950131
4相6线步进电机程序,用于测试步进电机,驱动采用反向驱动
上传时间: 2013-12-26
上传用户:koulian
PIC单片机的1602液晶显示,包括8位数据控制和4位数据控制
上传时间: 2013-12-01
上传用户:xc216
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
关于DS18B20的毕业设计论文,其主要功能和指标如下: 1、利用温度传感器(DS18B20)测量某一点环境温度; 2、测量范围为-55℃~+99℃,精度为±0.5℃; 3、用4位数码管进行显示实际温度值显示; 4、手持端通过红外发射管发射测温信号; 5、测温端通过红外发射管发送到手持端; 6、手持端可以随时查看指定待测物体的温度值。
上传时间: 2014-09-05
上传用户:zl5712176