1. 下列说法正确的是 ( ) A. Java语言不区分大小写 B. Java程序以类为基本单位 C. JVM为Java虚拟机JVM的英文缩写 D. 运行Java程序需要先安装JDK 2. 下列说法中错误的是 ( ) A. Java语言是编译执行的 B. Java中使用了多进程技术 C. Java的单行注视以//开头 D. Java语言具有很高的安全性 3. 下面不属于Java语言特点的一项是( ) A. 安全性 B. 分布式 C. 移植性 D. 编译执行 4. 下列语句中,正确的项是 ( ) A . int $e,a,b=10 B. char c,d=’a’ C. float e=0.0d D. double c=0.0f
上传时间: 2017-01-04
上传用户:netwolf
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda
BurchED B5-X300 Spartan2e using XC2S300e device Top level file for 6809 compatible system on a chip Designed with Xilinx XC2S300e Spartan 2+ FPGA. Implemented With BurchED B5-X300 FPGA board, B5-SRAM module, B5-CF module and B5-FPGA-CPU-IO module
标签: compatible 300 Spartan2e BurchED
上传时间: 2015-07-07
上传用户:star_in_rain
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
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
标签: converts Toolbox complex logical
上传时间: 2016-02-12
上传用户:a673761058
This software package contains the USB framework core developped by ATMEL, as well as a Mass storage driver. The MSD driver uses the internal flash of the chip to operate as a disk-on-key. The following files are included : - core/ -> Source code for the framework core -> Makefile for the core - msd/ -> Source code for the Mass Storage driver -> Makefile for the MSD driver - bin/ -> Compiled binaries for every supported chips - lib/ -> Lib v3 files for every supported chips - ./ -> Makefile for the framework -> Startup file
标签: developped framework software contains
上传时间: 2017-02-14
上传用户:003030
随着半导体制造技术不断的进步,SOC(System On a Chip)是未来IC产业技术研究关注的重点。由于SOC设计的日趋复杂化,芯片的面积增大,芯片功能复杂程度增大,其设计验证工作也愈加繁琐。复杂ASIC设计功能验证已经成为整个设计中最大的瓶颈。 使用FPGA系统对ASIC设计进行功能验证,就是利用FPGA器件实现用户待验证的IC设计。利用测试向量或通过真实目标系统产生激励,验证和测试芯片的逻辑功能。通过使用FPGA系统,可在ASIC设计的早期,验证芯片设计功能,支持硬件、软件及整个系统的并行开发,并能检查硬件和软件兼容性,同时还可在目标系统中同时测试系统中运行的实际软件。FPGA仿真的突出优点是速度快,能够实时仿真用户设计所需的对各种输入激励。由于一些SOC验证需要处理大量实时数据,而FPGA作为硬件系统,突出优点是速度快,实时性好。可以将SOC软件调试系统的开发和ASIC的开发同时进行。 此设计以ALTERA公司的FPGA为主体来构建验证系统硬件平台,在FPGA中通过加入嵌入式软核处理器NIOS II和定制的JTAG(Joint Test ActionGroup)逻辑来构建与PC的调试验证数据链路,并采用定制的JTAG逻辑产生测试向量,通过JTAG控制SOC目标系统,达到对SOC内部和其他IP(IntellectualProperty)的在线测试与验证。同时,该验证平台还可以支持SOC目标系统后续软件的开发和调试。 本文介绍了芯片验证系统,包括系统的性能、组成、功能以及系统的工作原理;搭建了基于JTAG和FPGA的嵌入式SOC验证系统的硬件平台,提出了验证系统的总体设计方案,重点对验证系统的数据链路的实现进行了阐述;详细研究了嵌入式软核处理器NIOS II系统,并将定制的JTAG逻辑与处理器NIOS II相结合,构建出调试与验证数据链路;根据芯片验证的要求,设计出软核处理器NIOS II系统与PC建立数据链路的软件系统,并完成芯片在线测试与验证。 本课题的整体任务主要是利用FPGA和定制的JTAG扫描链技术,完成对国产某型DSP芯片的验证与测试,研究如何构建一种通用的SOC芯片验证平台,解决SOC验证系统的可重用性和验证数据发送、传输、采集的实时性、准确性、可测性问题。本文在SOC验证系统在芯片验证与测试应用研究领域,有较高的理论和实践研究价值。
上传时间: 2013-05-25
上传用户:ccsp11
本文以电子不停车收费系统课题为背景,设计并实现了基于FPGA的π/4-DOPSK全数字中频发射机和接收机。π/4-DQPSK广泛应用于移动通信和卫星通信中,具有频带利用率高、频谱特性好、抗衰落性能强的特点。 近年来现场可编程门阵列(FPGA)器件在芯片逻辑规模和处理速度等方面性能的迅速提高,用硬件编程实现无线功能的软件无线电技术在理论和实用化上都趋于成熟和完善,因此可以把数字调制,数字上/下变频,数字解调在同一块FPGA上实现,即实现了中频发射机和接收机一体化的片上可编程系统(SOPC,System On Programmabie Chip)。 本文首先根据指标要求对数字收发机方案进行设计,确定了适合不停车收费系统的全数字发射机和接收机的结构,接着根据π/4-DQPSK发射机和接收机的理论,设计并实现了基于FPGA的成形滤波器SRRC、半带滤波器HB和定时算法并给出性能分析,最后给出硬件测试平台上结果和测试结果分析。
上传时间: 2013-06-23
上传用户:chuckbassboy
SoC(System On a Chip)又称为片上系统,是指将微处理器、模拟IP核、数字IP核和存储器(或片外存储器接口)集成在单一芯片上。SoC产品不断朝着体积小、功能强的方向发展,芯片内部整合越来越多的功能。ARM架构作为嵌入式系统流行的应用,其应用的扩展面临软件扩充的问题,而X86平台上却有很多软件资源。若将已有的X86软件移植到ARM平台,则可以在一定程度上解决软件扩充的问题。 本论文针对X86指令在ARM中兼容的应用,以智能手机的应用为例,提出了基于ARM嵌入式平台,使用X86指令到ARM指令的二进制翻译模块,达到对X86指令的兼容。主要研究ARM公司的片上总线系统——AMBA AHB和AMBA APB片上总线标准。对Multi-layer总线结构进行研究,分析了Multi-layer AHB系统中使用的Bus Matrix模块的结构,从Bus Matrix模块的内部矩阵结构和系统架构两方面针对系统的特点作出优化。 最后介绍了论文采用的事物级模型与Verilog HDL协同仿真的方法和系统的控制过程,通过仿真结果的比较,验证了利用二进制翻译模块实现X86指令执行的可行性和优化后的架构较适合于X86翻译系统的应用。
上传时间: 2013-06-28
上传用户:钓鳌牧马
本文以电子不停车收费系统课题为背景,设计并实现了基于FPGA的π/4-DOPSK全数字中频发射机和接收机。π/4-DQPSK广泛应用于移动通信和卫星通信中,具有频带利用率高、频谱特性好、抗衰落性能强的特点。 近年来现场可编程门阵列(FPGA)器件在芯片逻辑规模和处理速度等方面性能的迅速提高,用硬件编程实现无线功能的软件无线电技术在理论和实用化上都趋于成熟和完善,因此可以把数字调制,数字上/下变频,数字解调在同一块FPGA上实现,即实现了中频发射机和接收机一体化的片上可编程系统(SOPC,System On Programmabie Chip)。 本文首先根据指标要求对数字收发机方案进行设计,确定了适合不停车收费系统的全数字发射机和接收机的结构,接着根据π/4-DQPSK发射机和接收机的理论,设计并实现了基于FPGA的成形滤波器SRRC、半带滤波器HB和定时算法并给出性能分析,最后给出硬件测试平台上结果和测试结果分析。
上传时间: 2013-07-18
上传用户:saharawalker