匯編器在微處理器的驗(yàn)證和應(yīng)用中舉足輕重,如何設(shè)計(jì)通用的匯編器一直是研究的熱點(diǎn)之一。本文提出了一種開放式的匯編器系統(tǒng)設(shè)計(jì)思想,在匯編語(yǔ)言與機(jī)器語(yǔ)言間插入中間代碼CMDL(code mapping description language)語(yǔ)言,打破匯編語(yǔ)言與機(jī)器語(yǔ)言的直接映射關(guān)系,由此建立起一套描述匯編語(yǔ)言與機(jī)器語(yǔ)言的開放式映射體系。基于此開放式映射體系開發(fā)了一套匯編器系統(tǒng),具有較高層次上的通用性和可移植性。【關(guān)鍵詞】指令集,CMDL,匯編器,開放式 Design of Retargetable Assembler System Liu Ling Feng Wen Nan Wang Ying Chun Jiang An Ping Ji Li Jiu IME of Peking University, 100871【摘要】An assembler plays a very important role in the field of microprocessor verifications and applications, thus how to build a retargetable assembler system has been a hotspot in this field for long time. This paper presents a new method about the retargetable assembler system design.It provides a kind of language CMDL, code mapping description language. During the process of assembling, assembler languages are firstly translated to CMDL, and then mapped to the machine codes. In an other word, CMDL is inserted between assembler languages and machine codes during the translation procedure. As a medium code, CMDL has a lot of features, such as high extraction, strong descript capabilities. It can describe almost all attributes of assembler languages. By breaking the direct mapping relationship between assembler languages and machine codes, the complexities of machine codes are hided to the users, therefore, the new retargetable assembler system has higher retargetable level by converting the mapping from assembler languages and machine codes to assembler languages and CMDL, and implementationof it becomes easier. Based on the new mapping system structure, a retargetable assemblersystem is developed. It proved the whole system has good retargetability and implantability.【關(guān)鍵詞】instruction set, symbol table, assembler, lexical analysis, retargetability
上傳時(shí)間: 2013-10-10
上傳用戶:meiguiweishi
Luminary Micro provides an analog-to-digital converter (ADC) module on some members of theStellaris microcontroller family. The hardware resolution of the ADC is 10 bits; however, due to noiseand other accuracy-diminishing factors, the true accuracy is less than 10 bits. This application noteprovides a software-based oversampling technique, resulting in an improved Effective Number OfBits (ENOB) in the conversion result. This document describes methods of oversampling an inputsignal, and the impact on precision and overall system performance.
標(biāo)簽: Oversampling Techniques ADC fo
上傳時(shí)間: 2013-12-17
上傳用戶:zhyiroy
Luminary Micro Stellaris™ microcontrollers that are equipped with an analog-to-digital converter(ADC), use an innovative sequence-based sampling architecture designed to be extremely flexible,yet easy to use. This application note describes the sampling architecture of the ADC. Sinceprogrammers can configure Stellaris microcontrollers either through the powerful StellarisFamilyDriver Library or through direct writes to the device's control registers, this application note describesboth methods. The information presented in this document is intended to complement the ADCchapter of the device datasheet, and assumes the reader has a basic understanding of howADCsfunction.
標(biāo)簽: Microcontr Stellaris Using the
上傳時(shí)間: 2013-10-14
上傳用戶:blans
本文依據(jù)集成電路設(shè)計(jì)方法學(xué),探討了一種基于標(biāo)準(zhǔn)Intel 8086 微處理器的單芯片計(jì)算機(jī)平臺(tái)的架構(gòu)。研究了其與SDRAM,8255 并行接口等外圍IP 的集成,并在對(duì)AMBA協(xié)議和8086 CPU分析的基礎(chǔ)上,采用遵從AMBA傳輸協(xié)議的系統(tǒng)總線代替?zhèn)鹘y(tǒng)的8086 CPU三總線結(jié)構(gòu),搭建了基于8086 IP 軟核的單芯片計(jì)算機(jī)系統(tǒng),并實(shí)現(xiàn)了FPGA 功能演示。關(guān)鍵詞:微處理器; SoC;單芯片計(jì)算機(jī);AMBA 協(xié)議 Design of 8086 CPU Based Computer-on-a-chip System(School of Electrical Engineering and Automation, Heifei University of Technology, Hefei, 230009,China)Abstract: According to the IC design methodology, this paper discusses the design of one kind of Computer-on-a-chip system architecture, which is based on the standard Intel8086 microprocessor,investigates how to integrate the 8086 CPU and peripheral IP such as, SDRAM controller, 8255 PPI etc. Based on the analysis of the standard Intel8086 microprocessor and AMBA Specification,the Computer-on-a-chip system based on 8086 CPU which uses AMBA bus instead of traditional three-bus structure of 8086 CPU is constructed, and the FPGA hardware emulation is fulfilled.Key words: Microprocessor; SoC; Computer-on-a-chip; AMBA Specification
標(biāo)簽: 8086 CPU 單芯片 計(jì)算機(jī)系統(tǒng)
上傳時(shí)間: 2013-12-27
上傳用戶:kernor
基于單DSP的VoIP模擬電話適配器研究與實(shí)現(xiàn):提出和實(shí)現(xiàn)了一種新穎的基于單個(gè)通用數(shù)字信號(hào)處理器(DSP)的VoIP模擬電話適配器方案。DSP的I/O和存儲(chǔ)資源非常有限,通常適于運(yùn)算密集型應(yīng)用,不適宜控制密集型應(yīng)用[5]。該系統(tǒng)高效利用單DSP的I/O和片內(nèi)外存儲(chǔ)器資源,采用μC/OS-II嵌入式實(shí)時(shí)操作系統(tǒng),支持SIP和TCP-UDP/IP協(xié)議,通過LAN或者寬帶接入,使普通電話機(jī)成為Internet終端,實(shí)現(xiàn)IP電話。該系統(tǒng)軟硬件結(jié)構(gòu)緊湊高效,運(yùn)行穩(wěn)定,成本低,具有廣闊的應(yīng)用前景。關(guān)鍵詞:模擬電話適配器;IP電話;數(shù)字信號(hào)處理器;μC/OS-II 【Abstract】This paper presents a VoIP ATA solution based on a single digital signal processor (DSP). DSPs are suitable for arithmetic-intensiveapplication and unsuitable for control-intensive application because of the limitation of I/O and memory resources. This solution is based on a 16-bitfixed-point DSP and μC/OS-II embedded real-time operating system. It makes good use of the limited resources, supports SIP and TCP-UDP/IPprotocol. It can connect the analog telephone to Internet and realize the VoIP application. This system has a great future for its high efficiency andlow cost.【Key words】Analog telephone adapter (ATA); Voice over Internet protocol (VoIP); Digital signal processor (DSP); μC/OS-II Research and Implementation of VoIPATA Based on Single DSP
上傳時(shí)間: 2013-11-20
上傳用戶:Wwill
基于LabVIEW和單片機(jī)的空調(diào)溫度場(chǎng)測(cè)量系統(tǒng)的研究:室內(nèi)溫度是空調(diào)系統(tǒng)舒適性的重要指標(biāo),對(duì)其及時(shí)、準(zhǔn)確地測(cè)量顯得非常重要。介紹單片機(jī)AT89C51 和數(shù)字式、單總線型溫度傳感器DS18B20 組成矩形測(cè)量網(wǎng)絡(luò)采集空調(diào)室內(nèi)40 點(diǎn)溫度,LabVIEW作為開發(fā)平臺(tái),二者之間通過串口實(shí)現(xiàn)數(shù)據(jù)通信,利用LabVIEW強(qiáng)大的數(shù)據(jù)處理和顯示功能對(duì)采集的空調(diào)溫度場(chǎng)數(shù)據(jù)進(jìn)行實(shí)時(shí)處理、分析和顯示,詳細(xì)介紹了系統(tǒng)的硬件結(jié)構(gòu)和軟件模塊的設(shè)計(jì)方案。關(guān)鍵詞:單片機(jī);DS18B20 ;LabVIEW;串行通信 Abstract : Temperature is a very important criterion of air condition system′s comfort , so it is very significant to measure it accurately and real timely. This paper int roduces a data acquisition system of measuring 40 point s temperature for air condition room based on single wire digital sensor DS18B20 and microcont roller AT89C51 which are composed of rectangle measuring meshwork. The data communication between LabVIEW and microcont roller is executed via serial port ,and the temperature field data of air condition room are processed analyzed and displayed on LabVIEW. The hardware and software modules are also given in detail.Keywords : single chip ;DS18B20 ;LabVIEW; serial communication
標(biāo)簽: LabVIEW 單片機(jī) 空調(diào) 溫度場(chǎng)
上傳時(shí)間: 2014-05-05
上傳用戶:KSLYZ
基于PIC單片機(jī)的低功耗讀卡器硬件設(shè)計(jì):本文提出了一個(gè)完整的基于串口的智能讀卡器子系統(tǒng)設(shè)計(jì)方案并將其實(shí)現(xiàn)。讀卡器的設(shè)計(jì)突出了小型化的要求,全部器件使用貼片封裝。為了減小讀卡器的體積,設(shè)計(jì)中還使用了串口竊電的技術(shù),使用串口信號(hào)線直接給讀卡器供電。為此,讀卡器使用了省電的設(shè)計(jì),采用了省電的集成電路,并大膽簡(jiǎn)化了許多傳統(tǒng)的設(shè)計(jì)電路。關(guān)鍵字: 讀卡器, 單片機(jī), 串口竊電 Abstract: This paper aims to put forward a complete design of Smart IC card reader based onSerial Port and propose the way of realizing it for the purpose of Network Security. SMD isadopted to make Smart IC reader smaller in this design. To reduce the volume of Smart ICreader, Serial Port powered technology is employed to get power from the signal line of Serial Port. For this reason, low-power consumption components are adopted in the design and some traditional designs are simplified to reduce the power consumption.Keywords: Card Reader; Single-chip Computer; Serial Port Powered IC 卡系統(tǒng)保存了加密算法所需要的工作密鑰,供加密算法對(duì)網(wǎng)絡(luò)上傳輸?shù)臄?shù)據(jù)加密使用,是整個(gè)系統(tǒng)網(wǎng)絡(luò)安全的核心。在IC 卡子系統(tǒng)中,讀卡器是一個(gè)重要的部分。它起著管理IC卡、在IC 卡和PC或網(wǎng)絡(luò)計(jì)算機(jī)間傳遞數(shù)據(jù)的重要作用。本文以一片PIC單片機(jī)為核心完成了基于RS232 串口的讀卡器的硬件設(shè)計(jì)。
上傳時(shí)間: 2014-04-14
上傳用戶:wanghui2438
一種實(shí)用的微機(jī)自動(dòng)配料秤系統(tǒng):介紹一種由單片機(jī)構(gòu)成的配料秤。敘述了秤的傳感器、變送器、信號(hào)的變換、硬件原理、軟件流程以及和DCS 系統(tǒng)構(gòu)成的單回路調(diào)節(jié)系統(tǒng),此系統(tǒng)可廣泛地應(yīng)用于各行業(yè)的配料控制中。關(guān)鍵詞:配料秤 單片機(jī) 單回路調(diào)節(jié)系統(tǒng) DCS 系統(tǒng) Abstract :A proportioning weigher based on single chip computer is introduced. Sensors , transmitters , signal converting , principle of hardware ,software flowchart of proportioning weigher and single loop control system composed with DCS system are emphasized ,this system can be used in proportioning control of various trades extensively.Key Words :Proportioning Weigher ,Single Chip Computer ,Single Loop Control System ,Distributed Control System
上傳時(shí)間: 2013-10-12
上傳用戶:zwei41
基于單片機(jī)控制的二氧化碳濃度測(cè)試計(jì):基于CDM4161二氧化碳?xì)怏w濃度測(cè)試模塊以及ATtiny26單片機(jī),提出了一種二氧化碳濃度測(cè)試計(jì)的設(shè)計(jì)方案。該方案具有硬件電路簡(jiǎn)單、成本低、可靠性高、測(cè)量準(zhǔn)確等優(yōu)點(diǎn),具有較高的實(shí)用價(jià)值。 Abstract: Abstract:A desigh scheme of CO2 concentration meter based on CDM4161carbon dioxide concentration test module and ATtiny26micro-controller is presented in this paper.The design scheme features simple hardware circuit,low-cost,high reli-ability,accurate measurement and it has a high practical value.
標(biāo)簽: 單片機(jī)控制 二氧化碳 測(cè)試
上傳時(shí)間: 2013-11-14
上傳用戶:zjwangyichao
The C500 microcontroller family usually provides only one on-chip synchronous serialchannel (SSC). If a second SSC is required, an emulation of the missing interface mayhelp to avoid an external hardware solution with additional electronic components.The solution presented in this paper and in the attached source files emulates the mostimportant SSC functions by using optimized SW routines with a performance up to 25KBaud in Slave Mode with half duplex transmission and an overhead less than 60% atSAB C513 with 12 MHz. Due to the implementation in C this performance is not the limitof the chip. A pure implementation in assembler will result in a strong reduction of theCPU load and therefore increase the maximum speed of the interface. In addition,microcontrollers like the SAB C505 will speed up the interface by a factor of two becauseof an optimized architecture compared with the SAB C513.Moreover, this solution lays stress on using as few on-chip hardware resources aspossible. A more excessive consumption of those resources will result in a highermaximum speed of the emulated interface.Due to the restricted performance of an 8 bit microcontroller a pin compatible solution isprovided only; the internal register based programming interface is replaced by a set ofsubroutine calls.The attached source files also contain a test shell, which demonstrates how to exchangeinformation between an on-chip HW-SSC and the emulated SW-SSC via 5 external wiresin different operation modes. It is based on the SAB C513 (Siemens 8 bit microcontroller).A table with load measurements is presented to give an indication for the fraction of CPUperformance required by software for emulating the SSC.
標(biāo)簽: synchronous Emulating serial
上傳時(shí)間: 2014-01-31
上傳用戶:z1191176801
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1