用高密度可编程逻辑器件设计条码阅读器(下)

来源 :电子技术应用 | 被引量 : 0次 | 上传用户:lionpb
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
3.4 数据移位寄存器数据移位寄存器如图13所示.由2个4bit移位寄存器SRR24组成.数据移位寄存器用来储存输入数据,直至收到一个完整的字符.通用商品码是7位码元中的2个码条,因而每收到7bit后,便收到一个完整的字符.版本E码和版本A码分别有6个和12个字符长.因而需要用2个计数器,以便跟踪位计数和字符计数.虽说需要用2个CBU34计数器并非直接是数据移位寄存器的组成部分,但它们跟踪已经接收到的位数和字符数.既然CBU34是4bit计数器,它们分别预置9和10作为位计数和字符计数.在阅读版本A的情况下,字符计数器在收到第6个字符后清零,以适应条形码中的12个字符.位计数器在计数到7位时产生LASTBIT(末位)信号,它告诉其它逻辑电路已经收到了一个完整的字符.另一方面,宇符计数器在收到6个字符时发出LASTCHAR(末字符)信号.控制状态机用LASTCHAR信号来定义各种机器状态. 3.4 Data Shift Register The data shift register is shown in Figure 13. It consists of two 4-bit shift registers, SRR24, which are used to store the incoming data until a complete character is received. The common product code is a 7-bit code Element in the two bar, so every received 7bit, they receive a complete character version E code and version A code, respectively, 6 and 12 characters long.Therefore, the need for two counters to track the bit Counting and Character Counting Although 2 CBU34 counters are not directly part of the data shift register, they track the number of bits and characters that have been received. Since CBU 34 is a 4-bit counter, they prepend 9 and 10, respectively, as Bit count, and character count. The character counter is cleared after the sixth character is received to fit the 12 characters in the barcode, as of version A. The bit counter generates a LASTBIT (last bit) when counting to 7 bits, Signal that tells other logic that it has received a complete character, and on the other hand, the UFO counter issues a LASTCHAR (last character) signal upon receipt of 6. The control state machine uses the LASTCHAR signal to define various machine states.
其他文献
对光与实物的质量的认识问题王国文(北京大学物理系,北京,100871)现在物理界关于质量的定义是不统一的、有争论的.本文中所谓的质量均指常说的“静止质量”。按这种定义,光子称无质量(massless)粒子
215高密度等离子体对高功率激光的反射效应刘常龄(中物院流体物理研究所,成都610003)高密度等离子体是一种非线性效应很强的光学介质,它与高功率激光的相互作用研究,在很多科学和技术领域具
四川将依托资源优势和国家重大能源战略布局,以天然气化工和石油化工为龙头,投入资金约825亿元发展相关产业链,实施项目137个,建设全国最大的天然气化工产业基地。 Based on
作为普通中学体育竞赛的新兴项目,啦啦操以全新的面貌在各普通中学中飞速发展起来,备受健美操、艺术体操协会等的大力支持,和各普通高校的高度重视,虽然在中国啦啦操起步较晚
Anne lives on a small island near France called Sanderly.There are not many people on Sanderly and there is nohigh school,so Anne goes to a school in England.S
鸡西矿业集团公司张辰煤矿西三采区3
期刊
幼儿教育是其他一切学校教育的基础,随着社会的进步和经济的发展,幼儿教育越来越受到人们的关注,然而城乡间幼儿教育差距大、农村幼儿教育资源短缺、师资力量薄弱、教师素质低,幼
提出一种数据值解法,用于求解非线性动态网络的稳态周期解,按照非线性动态网络的状态方程建立误差函数,把求解非线性微分方程的问题,转化为求误差函数极小值的最优化问题。该法方
为充分利用航片提供的信息,使调查方法配套,本文对航片数量化林分平均直径表达航行了研制,结果表明,所编表在研究地区适用。 In order to make full use of the information
本篇描述了一位女学生与其老师 Mrs.Morrison 的三次倾谈。从中我们知道在她年幼时父母离异。她与母亲生活,与继父 Ra1ph 的关系一直处于紧张、僵持的状态。最后终因软弱的母