- 29
- 0
- 约7.17千字
- 约 9页
- 2021-11-03 发布于广东
- 举报
嵌入式系统
嵌入式系统实验1报告
专业:微电子学
徐荣峰 10122120135
2014年11月20日
Figure 1 shows a digital system that contains a number of 16-bit registers, a multiplexer, an adder/subtracter unit, a counter, and a control unit. Data is input to this system via the 16-bit DIN input. This data can be loaded through the 16-bit wide multiplexer into the various registers, such as R0,...,R7 and A. The multiplexer also allows data to be transferred from one register to another. The multiplexer’s output wires are called a bus in the figure because this term is often used for wiring that allows data to be transferred from one location in a system to another.
Addition or subtraction is performed by using the multiplexer to first place one 16-bit number onto the buswires and loading this number into register A. Once this is done, a second 16-bit number is placed onto the bus, the adder/subtracter unit performs the required operation, and the result is loaded into register G. The data in G can then be transferred to one of the other registers as required.
The system can perform different operations in each clock cycle, as governed by the control unit. This unit determines when particular data is placed onto the bus wires and it controls which of the registers is to be loaded with this data. For example, if the control unit asserts the signals R0 out and A in , then the multiplexer will place
the contents of register R0 onto the bus and this data will be loaded by the next active clock edge into register A.
A system like this is often called a processor. It executes operations specified in the form of instructions.
Table 1 lists the instructions that the processor has to support for this exercise. The left column shows the name of an instruction and its operand. The meaning of the syntax RX ← [RY] is that the contents of register RY are loaded into register RX. The mv (move) instruction allows data to be copied from one register to another. For
the mvi (move immediate) instruction the expression RX ←
您可能关注的文档
最近下载
- 数列是特殊函数.doc VIP
- 信息技术七年级下册教案全集_图文.pdf VIP
- 服装系列创意设计.pptx VIP
- 15G310-1-2建筑工程.房屋建筑.装配式混凝土连接节点构造合集.pdf VIP
- 24J331 地沟及盖板资料.pdf VIP
- D-Z-T 0064.47-2021 地下水质分析方法 第47部分:游离二氧化碳的测定 滴定法(正式版).docx VIP
- 【高清可复制】17J925-1_压型金属板建筑构造_3.pdf
- 高级职称申请专家推荐建议模板.docx VIP
- 《城市轨道交通 车辆空气净化装置》(征求意见稿).pdf VIP
- 2026西藏自治区教育考试院招聘非编工作人员11人笔试考试备考题库及答案解析.docx VIP
原创力文档

文档评论(0)