Microsoft PowerPoint ren-arm arch1 [兼容模式]

Size: px
Start display at page:

Download "Microsoft PowerPoint ren-arm arch1 [兼容模式]"

Transcription

1 嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) 西安交通大学电信学院 任鹏举

2 1 ARM 处理器内核结构 83~85 年 : 第一款 ARM 处理器采用 3 微米工艺 ; 9~95 年 :ARM6/ARM7, 采用三级流水线结构 ; 95~2 年 :ARM9, 采用五级流水线, 程序 / 数据存储器分开 ; 2~12 年 :ARM Cortex 系列处理器,ARMv7-A 结构, ARM Cortex-A7,A8( 单核 ),ARM Cortex- A9,A15( 多核 ) 12 年底 :ARM Cotex-A5 系列,64 位 ARMv8 结构, 进军 PC 和服务器市场 本课程讲解内容主要基于 ARM7.

3 ARM 内部组成 两个主要模块 : 数据通路 (data path) 与解码器 (decoder) 寄存器堆 (r~r15) 两个读端口 A-bus/B-bus 一个写端口 ALU-bus 额外的对 r15 读写的端口 桶形移位寄存器 : 对第二操作数移位或循环移位若干数据位 ALU 执行算术逻辑运算

4 ARM 内部组成 ( 续 ) 专门的 PC 累加器 地址寄存器 : 从 ALU 或 PC 数据寄存器 : 保存对存储器写或读的数据 指令译码器对指令的机器码译码, 产生数据通路所需的控制信号 数据处理指令需要 1 个时钟周期, 数据由 A-bus&Bbus 读, 结果经 ALU-bus 写回寄存器堆

5 ARM 的 ALU A operand latch B operand latch invert A XOR gates XOR gates invert B function logic functions adder C in C V logic/arithmetic result mux N CPSR zero detect Z result

6 ARM7 的流水线 ARM7 使用三级流水线 (ARM9 使用五级流水线结构 ) 获取 : 从存储器中获取指令代码到指令流水线 译码 : 指令译码, 通过控制信号操作数据通路准备执行 执行 : 指令获得数据通路 使用权 : 读寄存器, 移位操作, ALU 运算和写回 每一级的结果存储在寄存器中 时钟周期远小于无流水线设计

7 ARM 的流水线 ( 续 ) 任意时刻, 有三条不同的指令占据着流水线的不同级 完成一条指令需要三个时钟周期, 称之为三周期延迟 流水线装满后, 处理器一个时钟周期可以完成一条指令 因此, 流水线的吞吐率是每周期一条指令 流水线提高了吞吐率, 但无法降低延迟

8 ARM 的流水线数据阻滞 如果流水线的某一级无法在一个时钟周期内完成, 将会导致流水线阻滞 例如多寄存加载指令 (LDMIA), 将导致数据阻滞 (Data hazard)

9 ARM 的流水线控制阻滞 分支指令将导致流水线产生控制阻滞, 也被称为分支损失 (Branch Hazard) 是否执行分支指令 BNE 要在第三个时钟周期才能确定, 因此, 浪费两个时钟周期

10 ARM 的流水线比较

11 更深的流水线是否更好?

12 延迟分支 (delayed branch) 为改善流水线效率, 可使用延迟分支技术 延迟分支要求分支指令后面的 n 条指令总是执行, 无论分支指令执行与否 这样, 在分支指令执行期间 CPU 能够让流水线满负载运行 但是, 分支指令后面可能是空操作 (NOP) 因为处于延迟分支窗口中的指令对于两条执行路径都要有效 如没有没有足够的有效指令填充, 则需使用 NOP

13 Four Branch Hazard Alternatives #1: Stall until branch direction is clear #2: Predict Branch Not Taken Execute successor instructions in sequence Squash instructions in pipeline if branch actually taken Advantage of late pipeline state update 47% MIPS branches not taken on average PC+4 already calculated, so use it to get next instruction #3: Predict Branch Taken 53% MIPS branches taken on average But haven t calculated branch target address in MIPS MIPS still incurs 1 cycle branch penalty Other machines: branch target known before outcome

14 Four Branch Hazard Alternatives #4: Delayed Branch Define branch to take place AFTER a following instruction branch instruction sequential successor 1 sequential successor 2... Branch delay of length n sequential successor n branch target if taken 1 slot delay allows proper decision and branch target address in 5 stage pipeline MIPS uses this

15 Delayed Branch Where to get instructions to fill branch delay slot? Before branch instruction From the target address: only valuable when branch taken From fall through: only valuable when branch not taken Compiler effectiveness for single branch delay slot: Fills about 6% of branch delay slots About 8% of instructions executed in branch delay slots useful in computation About 5% (6% x 8%) of slots usefully filled Delayed Branch downside: 7-8 stage pipelines, multiple instructions issued per clock (superscalar)

16 Scheduling Branch Delay Slots A. From before branch B. From branch target C. From fall through add $1,$2,$3 if $2= then delay slot sub $4,$5,$6 add $1,$2,$3 if $1= then delay slot A is the best choice, fills delay slot & reduces instruction count (IC) In B, the sub instruction may need to be copied, increasing IC In B and C, must be okay to execute sub when branch fails add $1,$2,$3 if $1= then delay slot sub $4,$5,$6 becomes becomes becomes add $1,$2,$3 if $2= then if $1= then add $1,$2,$3 add $1,$2,$3 if $1= then sub $4,$5,$6 sub $4,$5,$6

17 范例 :ARM 中 for 循环的执行时间 决定 FIR 滤波器应用的执行时间 : for (I = ; i < N; i++) f = f + c[i] * x[i];

18 FIR 滤波器汇编程序 ; loop initiation code MOV r, # ; use r for i, set to MOV r8, # ; use a separate index for arrays ADR r2, N ; get address for N LDR r1, [r2] ; get value of N for loop termination test MOV r2, # ; use r2 for f, set to ADR r3, c ; load r3 with address of base of c array ADR r5, x ; load r5 with address of base of x array ; loop body loop LDR r4, [r3, r8] ; get value of c[i] LDR r6, [r5, r8] ; get value of x[i] MUL r4, r4, r6 ; compute c[i]*x[i] ADD r2, r2, r4 ; add into running sum ; update loop counter and array index ADD r8, r8, #4 ; add one to array index ADD r, r, #1 ; add 1 to i ; test for exit CMP r, r1 BLT loop loopend... ; if i < N, continue loop

19 FIR 滤波器的性能 继续循环是最坏情况 判断一定跳转??? 退出循环是最好情况

20 思考 思考前面课程提到的问题 : 条件执行指令只有在条件序列小于等于 3 的时候才会达到高效, 当大于时, 要使用条件转移指令 --- 为什么???

21 2 高速缓存 Computer performance depends on: Processor performance Memory system performance Memory Interface CLK CLK Processor MemWrite Address WriteData WE Memory ReadData

22 2 高速缓存 (Processor-Mem Gap) In prior chapters, assumed access memory in 1 clock cycle but hasn t been true since the 198 s

23 2 高速缓存 静态随机存储器 (SRAM): 依靠一对反相器存储数值, 速度很快, 但面积占用比 DRAM 高 动态随机存储器 (DRAM): 依靠电容电荷实现数据存储 ( 必须刷新 ), 很小但比 SRAM 速度慢 (5~1 倍 ) 存储器性能 vs 逻辑性能 : 存储器比逻辑电路的性能提升慢得多 ( 存储墙 问题 ) 因此, 速度非常快的存储器是很昂贵的 同时, 应用对存储器的需求量越来越大 用户需要大容量且快速的存储资源 SRAM 访问延迟 :2~25ns, 耗费 :$1~$25 per MB DRAM 访问延迟 :6~12ns, 耗费 :$.5~$.1 per MB Disk 访问延迟 :1~2million ns, 耗费 :$.5~$.1 per MB

24 存储墙 问题 随着集成电路工艺尺寸的缩小, 处理器的速度按照 摩尔定律 每隔 18 个月就翻一番 存储器的速度每年仅增长 7% 处理器与存储器之间的性能鸿沟每 21 个月就翻一番

25 存储系统 (Memory Hierarchy) 如何组织存储器资源, 但又不显著提高耗费? 答案是 : 构建存储系统 Technology Price / GB Access Time (ns) Bandwidth (GB/s) Cache SRAM $1, Speed Main Memory DRAM $ SSD $1 1,.5 Virtual Memory HDD $.1 1,,.1 Capacity

26 存储系统 靠近处理器 存储类型容量访问速度 高速缓存保存主存中最近用到的内容的拷贝

27 局部性原理 局部性原理是存储系统层级构成的基础, 将有可能再次访问的数据放在存储结构顶层 时域局部性 : 当前被访问的数据有可能很快再次被访问 ; 空域局部性 : 当前被访问数据地址相邻的数据有可能很快被访问 程序为何会具有局部性? 高速缓存减少了内存的平均访问时间, 但也提高了内存访问时间的可变性, 值得注意!

28 统一的高速缓存 数据与指令之间共享同一个高速缓存

29 哈佛高速缓存

30 Cache 的基本术语 数据块 (data block): 数据传送的最小单元 也被称为 cache line; 高速缓存命中 (cache hit): 被请求的数据在高速缓存中 ; 高速缓存未命中 (cache miss): 被请求的数据不在高速缓存中 工作集 (working set):cpu 在一段时间内访问的活动单元集合

31 未命中的类型划分 强制性未命中 (compulsory miss), 也称为冷未命中 (cold miss), 发生在单元第一次被访问时 容量未命中 (capacity miss) 的发生是由于工作集过大 冲突未命中 (conflict miss) 的发生是由于两个地址映射到高速缓存的同一个单元 平均内存访问时间计算公式 : t av = ht cache + (1-h)t main, h 代表命中率

32 Cache 的性能 - 举例 1 A program has 2, loads and stores 1,25 of these data values in cache Rest supplied by other levels of memory hierarchy What are the hit and miss rates for the cache?

33 Cache 的性能 - 举例 1 A program has 2, loads and stores 1,25 of these data values in cache Rest supplied by other levels of memory hierarchy What are the hit and miss rates for the cache? Hit Rate = 125/2 =.625 Miss Rate = 75/2 =.375 = 1 Hit Rate

34 Cache 的性能 - 举例 2 Suppose processor has 2 levels of hierarchy: cache and main memory t cache = 1 cycle, t MM = 1 cycles(main Memory) What is the average data access time of the program from Example 1?

35 Cache 的性能 - 举例 2 Suppose processor has 2 levels of hierarchy: cache and main memory t cache = 1 cycle, t MM = 1 cycles (Main Memory) What is the average data access time of the program from Example 1? Tav = t cache + MR cache (t MM ) = [ (1)] cycles = 38.5 cycles

36 多级高速缓存 一级缓存 二级缓存 平均内存访问时间计算公式 : t av = h 1 t L1 + h 2 t L2 + (1- h 2 -h 1 )t main h 1 表示一级缓存命中率,h 2 表示命中二级缓存而未命中一级缓存的概率

37 高速缓存设计 让我们思考两个问题 : 我们如何知道需要的数据是否在高速缓存中?( 命中还是未命中?) 如果在高速缓存中, 我们如何找到它? 我们先看一个最简单的例子 : 数据块的大小为一个字节 ; 直接映射 (direct mapped) 高速缓存 直接映射指低一级存储中的每一个数据在高速缓存中的映射都是唯一确定的地址

38 直接映射高速缓存图示

39 直接映射高速缓存结构 高速缓存块 有效标记标记数据 地址 标记索引偏移量 多路选择 只有一个块需要检查, 索引唯一地确定了要检查的块

40 直接映射高速缓存示例 (1)

41 直接映射高速缓存示例 (2)

42 直接映射高速缓存示例 (3)

43 直接映射高速缓存示例 (4)

44 写操作 写操作比读操作复杂, 因为我们要更新高速缓存和主存 ( 或下一级存储 ) 的内容 两种写操作方式 : 通写 (write through): 每次写操作都将同时改变高速缓存和主存单元 这种模式保证了高速缓存和主存的一致性, 但会产生额外的主存通信 回写 (write back): 只是在将某一单元从高速缓存中移出时才进行写操作 ( 利用 dirty bit 来判断 ) 这种模式可以减少那些该单元移出高速缓存之前对它进行的多次写操作

45 直接映射高速缓存操作简述

46 命中 vs. 未命中 读命中 : 所希望的情况 : 高速缓存直接传送数据到处理器 读未命中 : 暂停 CPU, 从主存中获取数据块, 传送到高速缓存, 重新启动 写命中 : 可以替换高速缓存和主存中的数据 ( 通写 ) 只将数据写入高速缓存 ( 稍后写入主存 ) 写未命中 : 将整个数据块读入高速缓存, 然后写某个字

47 直接映射的局限性 直接映射高速缓存速度快, 耗费相对较低 直接映射高速缓存映射策略简单, 有一定的局限性 容易造成冲突未命中的情况 : Array a[] uses locations, 1, 2, Array b[] uses locations 124, 125, 126, 计算 a[i] + b[i] 将产生冲突未命中的情况. 如果频繁访问的单元正好被映射到同一个高速缓存块, 我们将无法充分利用高速缓存的优势 如何解决???

48 直接映射的性能 Memory Address addi r, r, 5 Loop: beq r, $, done done: ldr r1, x4 ldr r2, xc ldr r3, x8 add r, r, -1 j loop Tag... Set 1 3 Byte Offset V Tag Data 1... mem[x...c] 1... mem[x...8] 1... mem[x...4] Miss Rate =? Set 7 (111) Set 6 (11) Set 5 (11) Set 4 (1) Set 3 (11) Set 2 (1) Set 1 (1) Set ()

49 直接映射的性能 addi r, r, 5 Loop: beq r, $, done done: ldr r1, x4 ldr r2, xc ldr r3, x8 add r, r, -1 j loop Memory Address Tag... Set 1 3 Byte Offset V Tag Data 1... mem[x...c] 1... mem[x...8] 1... mem[x...4] Miss Rate = 3/15 = 2% Temporal Locality Compulsory Misses Set 7 (111) Set 6 (11) Set 5 (11) Set 4 (1) Set 3 (11) Set 2 (1) Set 1 (1) Set ()

50 直接映射的冲突 addi r, r, 5 Loop: beq r,, done ldr r1, x4 ldr r2, x24 add r, r, -1 j loop Memory Address Tag...1 Tag Data done: Miss Rate =? Set 1 3 Byte Offset V 1... mem[x...4] mem[x...24] Set 7 (111) Set 6 (11) Set 5 (11) Set 4 (1) Set 3 (11) Set 2 (1) Set 1 (1) Set ()

51 直接映射的冲突 Memory Address addi r, r, 5 Loop: beq r,, done done: ldr r1, x4 ldr r2, x24 add r, r, -1 j loop Tag...1 Set 1 3 Byte Offset V 1 Tag... Data mem[x...4] mem[x...24] Miss Rate = 1/1 = 1% Conflict Misses Set 7 (111) Set 6 (11) Set 5 (11) Set 4 (1) Set 3 (11) Set 2 (1) Set 1 (1) Set ()

52 全相联高速缓存 全相联 (fully-associative) 高速缓存 : 任意个内存数据块可以映射到高速缓存中的任意个地址 valid tag data valid tag data valid tag data valid tag data tag offset = 读出所有高速缓存块的标记 所有高速缓存块的标记同时比较 地址只分为标记和偏移量两部分, 不需要索引 hit value byte

53 全相联的局限性 全相联不限制主存数据在高速缓存中的存放位置, 使映射具有最大的灵活性, 命中率最高 但是, 由于全相联通常需要采用内容可寻址存储器 (CAM), 耗费很高 同时, 要在每次数据访问时读出并比较所有标记单元, 速度慢, 能耗也非常大 因此, 全相联高速缓存一般只用于设计小容量缓存器

54 组相联高速缓存 组相联 (Set Associative) 是直接映射和全相联之间的折中 组 (Set) 由共享同一索引的所有块组成 由每个组的高速缓存块个数来标识,N 路组相联 高速缓存访问请求按照索引广播给组内所有缓存块, 判断是否命中 每个组由一个全相联高速缓存实现

55 组相联高速缓存 Memory Address Tag Set 28 2 Byte Offset V Tag Way 1 Way Data V Tag Data = = Hit 1 Hit 1 32 Hit 1 Hit Data

56 替换策略 替换策略 : 在高速缓存 满 且需要载入新的数据块时, 需要考虑何种旧数据块需要被移出高速缓存 直接映射不存在替换策略问题, 因为每个数据块对应唯一映射地址, 其替换的数据块也是确定的 组相联与全相联高速缓存需要考虑替换策略 : 随机替换 (Random): 在组内或全相联高速缓存中随机选择一个数据块被替换 优点 : 硬件简单, 耗费低 缺点 : 命中率相对较低 最近最少使用策略 (Least Recently Used, LRU): 将组内或全相联高速缓存中最近最少使用的数据块 优点 : 命中率高 缺点 : 硬件耗费大 先入先出策略 (First In First Out, FIFO): 折中!Trade off

57 两路组相联高速缓存示例 (1)

58 两路组相联高速缓存示例 (2) Final state of cache (twice as big as direct-mapped): set blk tag blk data blk 1 tag blk 1 data

59 两路组相联高速缓存示例 (3) Final state of cache (same size as directmapped): set blk tag blk data blk 1 tag blk 1 data

60 两路组相联高速缓存性能举例 addi r, r, 5 Loop: beq r,, done done: ldr r1, x4 ldr r2, x24 add r, r, -1 j loop V Tag Way 1 Way Data V Miss Rate =? Tag Data Set 3 Set 2 Set 1 Set

61 两路组相联高速缓存性能举例 addi r, r, 5 Loop: beq r,, done done: ldr r1, x4 ldr r2, x24 add r, r, -1 j loop V Tag Way 1 Way Data V Tag Data mem[x...24] 1... mem[x...4] Miss Rate = 2/1 = 2% Associativity reduces conflict misses Set 3 Set 2 Set 1 Set

62 LRU 替换策略 ldr r, #x4 ldr r1, #x24 ldr r2, #x54 Way 1 Way (a) V U Tag Data V Tag mem[x...24] 1... Way 1 Way Data mem[x...4] Set 3 (11) Set 2 (1) Set 1 (1) Set () (b) V U Tag Data Tag mem[x...24] V Data mem[x...54] Set 3 (11) Set 2 (1) Set 1 (1) Set ()

63 3 存储管理单元和地址转换 存储管理单元在 CPU 和物理主存之间, 实现逻辑地址到物理地址之间的转换 转换过程也称内存映射 物理地址 (physical address): 用于内存芯片级的单元寻址, 与实际的 RAM 单元对应 逻辑地址 (logical address): 程序的抽象地址空间而不与实际的 RAM 单元对应 CPU 逻辑地址 存储管理单元 物理地址 主存 main memory 交换 辅助存储器 (Memory Management Unit, MMU)

64 虚拟内存 什么是虚拟内存??? 虚拟内存能做什么???

65 虚拟内存 Technology Price / GB Access Time (ns) Bandwidth (GB/s) Cache SRAM $1, Speed Main Memory DRAM $ SSD $1 1,.5 Virtual Memory HDD $.1 1,,.1 Capacity Physical Memory: DRAM (Main Memory) Virtual Memory: Hard drive Slow, Large, Cheap

66 虚拟内存与虚拟寻址 虚拟内存是计算机系统内存管理的一种技术 它使得应用程序认为它拥有连续的可用的内存 ( 一个连续完整的地址空间 ), 而实际上, 它通常是被分隔成多个物理内存碎片, 还有部分暂时存储在外部磁盘存储器上, 在需要时进行数据交换 -- from wikipedia 应用认为的 实际的 虚拟寻址 (virtual addressing): 将逻辑地址转换成物理地址的寻址模式

67 虚拟内存 Virtual addresses Programs use virtual addresses Entire virtual address space stored on a hard drive Subset of virtual address data in DRAM CPU translates virtual addresses into physical addresses (DRAM addresses) Data not in DRAM fetched from hard drive Memory Protection Each program has own virtual to physical mapping Two programs can use same virtual address for different data Programs don t need to be aware others are running One program (or virus) can t corrupt memory used by another

68 虚拟内存与 Cache 类比 Cache Block Block Size Block Offset Miss Tag Virtual Memory Page Page Size Page Offset Page Fault Virtual Page Number Physical memory acts as cache for virtual memory

69 虚拟内存 System: Virtual memory size: 2 GB = 2 31 bytes Physical memory size: 128 MB = 2 27 bytes Page size: 4 KB = 2 12 bytes

70 虚拟内存 System: Virtual memory size: 2 GB = 2 31 bytes Physical memory size: 128 MB = 2 27 bytes Page size: 4 KB = 2 12 bytes Organization: Virtual address: 31 bits Physical address: 27 bits Page offset: 12 bits # Virtual pages = 2 31 /2 12 = 2 19 (VPN = 19 bits) # Physical pages = 2 27 /2 12 = 2 15 (PPN = 15 bits)

71 虚拟内存 19-bit virtual page numbers 15-bit physical page numbers

72 虚拟内存 What is the physical address of virtual address x247c?

73 虚拟内存 What is the physical address of virtual address x247c? VPN = x2 VPN x2 maps to PPN x7fff 12-bit page offset: x47c Physical address = x7fff47c

74 存储管理单元 存储管理单元实现的功能 : 实现虚拟寻址 : 用表把逻辑地址转换成物理地址 可以将部分程序移入辅助存储器, 当程序执行需要时, 再将镜像调入主存 缺页 (page fault) 异常 :CPU 请求一个不在主存的地址 缺页异常重新启动的条件 : 所有内容已读到主存中 ; MMU 表已经进行了相应的更新 LRU 替换策略

75 地址转换方法 需要某种寄存器或表来实现逻辑地址到物理地址之间的任意转换 两种基本地址转换方法 : 分段 : 支持较大的 大小可不等的内存区域 起始地址 + 大小 分页 : 支持较小的 大小相等的内存区域 段页式寻址模式 : 将每个段分成页并且其地址转换分成两步的方法来建立 page 1 page 2 segment 1 memory segment 2

76 段地址转换 段基址 segment base address 逻辑地址 logical address + 段下界段上界 segment lower bound segment upper bound range check 范围检测 range error 范围出错 physical address 物理地址

77 页地址转换 第 i 页基址 page i base 逻辑地址页偏移量 page offset concatenate 拼接 页 page 物理地址 偏移量 offset 内存

78 页地址转换 Virtual Address Virtual Page Number x2 47C 19 Page Offset 12 V 1 x 1 x7ffe 1 x1 1 x7fff Hit Physical Address Physical Page Number Page Table x7fff 47C

79 页表组织模式 页描述符 page descriptor 页描述符 page descriptor 平面结构 树结构

80 转换后援缓冲区 大的转换表需要访问主存 转换后援缓冲区 (Translation Lookaside Buffer, TLB): 缓存转换表, 通常很小 Virtual Address Physical Address Dirty Ref Valid Access Valid: 表示逻辑段或逻辑页当前是否在物理内存 Dirty: 表示该段或该页是否已被改写 Ref&Access: 权限位

81 TLB(Translation Look-aside Buffer) 使用 Cache 结构存放最近使用的页表项 logical address hit logical page number physical page number physical address

82 TLB(Translation Look-aside Buffer) Page table accesses: high temporal locality Large page size, so consecutive loads/stores likely to access same page TLB Small: accessed in < 1 cycle Typically entries Fully associative > 99 % hit rates typical Reduces # of memory accesses for most loads/stores from 2 to 1

83 TLB(Translation Look-aside Buffer) Virtual Address Virtual Page Number 19 Page Offset x2 47C 12 Entry 1 Entry V Virtual Page Number Physical Page Number 1 x7fffd x 1 x2 x7fff V Virtual Page Number Physical Page Number TLB = = Hit 1 Hit 1 Hit 1 Hit Physical Address 15 x7fff 47C 12 2-Entry TLB 示例

84 虚拟内存小结 Virtual memory increases capacity A subset of virtual pages in physical memory Page table maps virtual pages to physical pages address translation A TLB speeds up address translation Different page tables for different programs provides memory protection

85 ARM 的内存管理 存储管理单元是一个可选部件, 支持虚拟地址转换和内存保护 ARM 的 MMU 支持下列内存区域类型 : 1MB 内存块大小的段 64KB 的大页 4KB 的小页 地址可以在选择段映射或者页映射 采用二级地址转换模式

86 ARM 两级地址转换 转换表基址寄存器 逻辑地址 一级索引二级索引 偏移量 一级描述符 一级表 拼接 拼接 二级描述符二级表 物理地址

嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举

嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 1 ARM 处理器内核结构 83~85 年 : 第一款 ARM 处理器采用 3 微米工艺 ; 9~95 年 :ARM6/ARM7, 采用三级流水线结构 ; 95~2 年 :ARM9, 采用五级流水线, 程序 / 数据存储器分开 ; 2~12 年 :ARM

More information

嵌入式系统设计与应用 Pengju 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举

嵌入式系统设计与应用 Pengju 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 1 ARM 处理器内核结构 83~85 年 : 第一款 ARM 处理器采用 3 微米工艺 ; 9~95 年 :ARM6/ARM7, 采用三级流水线结构 ; 95~2 年 :ARM9, 采用五级流水线, 程序 / 数据存储器分开 ; 2~12 年 :ARM

More information

<4D F736F F D20B5DAC8FDCBC4D5C2D7F7D2B5B4F0B0B82E646F63>

<4D F736F F D20B5DAC8FDCBC4D5C2D7F7D2B5B4F0B0B82E646F63> 第三章 Q3 1 1. 省略了 I/O 操作的复杂逻辑, 易实现, 耗费低 ; 2. 可以利用丰富的内存寻址模式实现灵活的 I/O 操作 Q3 2 假设存储单元 ds1 处寄存器地址为 0x2000, 代码如下 #define ds1 0x2000 while ( *ds1 == 0 ) ; Q3 3 假设设备 (dev1) 中有两个寄存器 ds1 和 dd1,dev1 的地址为 0x1000,ds1

More information

untitled

untitled CPU!! 00-11-8 Liping zhang, Tsinghua 1 : ADD(r1, r, r) CMPLEC(r, 5, r0) MUL(r1, r, r) SUB(r1, r, r5) ADD r, ( ) r CMP. CMP r.. t t + 1 t + t + t + t + 5 t + 6 IF( ) ADD CMP MUL SUB RF NOP ADD CMP MUL SUB

More information

1 CPU

1 CPU 2000 Tel 82316285 82317634 Mail liuxd@buaa.edu.cn 1 CPU 2 CPU 7 72 A B 85 15 3 1/2 M301 2~17 : 3/4 1/2 323 IBM PC 1. 2. 3. 1. 2. 3. 1.1 Hardware Software 1.2 M3 M2 M1 1.2 M3 M1 M2 M2 M1 M1 M1 1.2 M3 M1

More information

第五章 重叠、流水和现代处理器技术

第五章 重叠、流水和现代处理器技术 2006 5 l t 1 t 2 t 3 t 4 I: add r1,r2,r3 J: sub r4,r1,r5 : (Hazard) : (Hazard) Instr 1 Instr 2 ( ) Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 Cycle 6 Cycle 7 Load Ifetch ALU DMem Instr 1 Ifetch ALU DMem

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

[group6] 4. The data cache has 80% hit rate and miss penalty is 120 cycles. 30% of instructions are load and store. The instruction cache has a hit ra

[group6] 4. The data cache has 80% hit rate and miss penalty is 120 cycles. 30% of instructions are load and store. The instruction cache has a hit ra Computer Architecture Fall, 2017 Week 15 2017.12.18 [group2] 1. 請說明如何改善 cache performance, 並舉例說明之 Reduce the time to hit in the cache Decreasing the miss ratio( 可利用 associative cashes 來取代 direct mapped

More information

投影片 1

投影片 1 2 理 1 2-1 CPU 2-2 CPU 理 2-3 CPU 類 2 什 CPU CPU Central Processing Unit ( 理 ), 理 (Processor), CPU 料 ( 例 ) 邏 ( 例 ),, 若 了 CPU, 3 什 CPU CPU 了, 行, 利 CPU 力 來 行 4 什 CPU 5 2-2-1 CPU CPU 了 (CU, Control Unit) / 邏

More information

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005 1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005 1 1...3 2...20 3...28 4...41 5 Windows SQL Server...47 Microsoft SQL Server 2005 DBSRV1 Microsoft SQL Server

More information

Computer Architecture

Computer Architecture ECE 3120 Computer Systems Assembly Programming Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun21 Email: msjeedigun21@tntech.edu Tel: 931-372-6181, Prescott Hall 120 Prev: Basic computer concepts

More information

Microsoft PowerPoint - CA_02 Chapter5 Part-I_Single _V2.ppt

Microsoft PowerPoint - CA_02 Chapter5 Part-I_Single _V2.ppt Chapter5- The Processor: Datapath and Control (Single-cycle implementation) 臺大電機系吳安宇教授 V. 3/27/27 V2. 3/29/27 For 27 DSD Course 臺大電機吳安宇教授 - 計算機結構 Outline 5. Introduction 5.2 Logic Design Conventions 5.3

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

Microsoft PowerPoint - CA_03 Chapter5 Part-II_multi _V1.ppt

Microsoft PowerPoint - CA_03 Chapter5 Part-II_multi _V1.ppt Chapter5-2 The Processor: Datapath and Control (Multi-cycle implementation) 臺大電機系 吳安宇教授 V1. 03/27/2007 For 2007 DSD Course 臺大電機吳安宇教授 - 計算機結構 1 Outline 5.1 Introduction 5.2 Logic Design Conventions 5.3

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

<4D F736F F D20C7B0CBC4D5C2D7F7D2B5CCE22E646F6378>

<4D F736F F D20C7B0CBC4D5C2D7F7D2B5CCE22E646F6378> 第一章第二章 Q2 1: 高序 : 最低位字节存储在字的最低位 ; 低序 : 最低位字节存储在字的最高位 ; Q2 2: 冯. 诺依曼结构 : 数据和指令都存储在同一存储器中 ; 哈佛结构 : 数据和程序存储在各自独立的存储器中 Q2 3: a) ARM 有 16 个通用寄存器,r0 r15, 其中 r15 还被用作程序计数器 b) CPSR 是程序状态寄存器, 包含了条件码标识 中断禁止位 当前处理器模式和其他状态

More information

P4i45GL_GV-R50-CN.p65

P4i45GL_GV-R50-CN.p65 1 Main Advanced Security Power Boot Exit System Date System Time Floppy Drives IDE Devices BIOS Version Processor Type Processor Speed Cache Size Microcode Update Total Memory DDR1 DDR2 Dec 18 2003 Thu

More information

Oracle 4

Oracle 4 Oracle 4 01 04 Oracle 07 Oracle Oracle Instance Oracle Instance Oracle Instance Oracle Database Oracle Database Instance Parameter File Pfile Instance Instance Instance Instance Oracle Instance System

More information

Microsoft PowerPoint - CA_04 Chapter6 v ppt

Microsoft PowerPoint - CA_04 Chapter6 v ppt Chap. 6 Enhancing Performance with Pipelining 臺大電機系吳安宇教授 V1. 2007/04/20 臺大電機吳安宇教授 - 計算機結構 1 Outline 6.1 An Overview of Pipelining 6.2 A Pipelined Datapath 6.3 Pipelined Control 6.4 Data Hazards and Forwarding

More information

热设计网

热设计网 例 例 Agenda Popular Simulation software in PC industry * CFD software -- Flotherm * Advantage of Flotherm Flotherm apply to Cooler design * How to build up the model * Optimal parameter in cooler design

More information

lecture13

lecture13 Lecture 13: Cache V 1 Cache 大 小 Block 大 小 和 缺 失 率 的 关 系 Cache 性 能 由 缺 失 率 确 定, 而 缺 失 率 与 Cache 大 小 Block 大 小 Cache 级 数 等 有 关 Cache 大 小 :Cache 越 大,Miss 率 越 低, 但 成 本 越 高! Block 大 小 :Block 大 小 与 Cache 大 小

More information

Name__________________________________

Name__________________________________ 6.823 180 21 5 : 5 Part A: 1 5 10 Part B: 6 11 12 Part C: 12 14 12 Part D: 15 23 34 Part E: 24 26 18 Part F: 27 28 16 Part G: 29 32 25 Part H: 33 10 Part I: 34 38 28 Part H: 39 40 10 : 180 Part A 10 Cache

More information

第一章 Linux與網路資源

第一章 Linux與網路資源 1 28 Proxy Server 28-1 Proxy proxy Server rpm qa grep squid Linux Proxy Proxy Proxy Proxy Proxy Request Proxy Proxy Proxy RedHat Linux Fedora #mount /mnt/cdrom squid squid Proxy #cd /mnt/cdrom/redhat/rpms

More information

CCE Computer Memory

CCE Computer Memory Computer Logic II CCE 2010 Dr. Owen Casha Computer Logic II 1 Computer Memory Computer Logic II 2 Computer Memory The memory needs to be able to store many binary patterns (0 s and 1 s) arranged in words

More information

VASP应用运行优化

VASP应用运行优化 1 VASP wszhang@ustc.edu.cn April 8, 2018 Contents 1 2 2 2 3 2 4 2 4.1........................................................ 2 4.2..................................................... 3 5 4 5.1..........................................................

More information

A 2006 2 1.1 1.2 1.3 1.4 1.5 1 : 2. 3. 4 5 1.1 1.1.1 1 1.1.1 2 CPU = + = CPU + = 1.1.1 3 : : 1.1.1 4 ROM 1.1.2 1 1946 6 John von Neumann : (1) (2) ( ) (3) ( ) ( ) (PC) (?) 2 3 : ADD ADD AX BX CPU ALU

More information

Tel: Fax: TTP-344M/246M /

Tel: Fax: TTP-344M/246M / TTP-344M/246M / True Type font David Turner, Robert Wilhelm Werner Lemberg The Free Type Project 235 16 8 2 i- TTP-344M/246M...1 1.1...1 1.2...1 1.2.1...1 1.2.2 /...2 1.2.3...2 1.2.4...2 1.3...3 1.4...3

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

Microsoft PowerPoint - talk8.ppt

Microsoft PowerPoint - talk8.ppt Adaptive Playout Scheduling Using Time-scale Modification Yi Liang, Nikolaus Färber Bernd Girod, Balaji Prabhakar Outline QoS concerns and tradeoffs Jitter adaptation as a playout scheduling scheme Packet

More information

Microsoft PowerPoint - ATF2015.ppt [相容模式]

Microsoft PowerPoint - ATF2015.ppt [相容模式] Improving the Video Totalized Method of Stopwatch Calibration Samuel C.K. Ko, Aaron Y.K. Yan and Henry C.K. Ma The Government of Hong Kong Special Administrative Region (SCL) 31 Oct 2015 1 Contents Introduction

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

Windows XP

Windows XP Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs

More information

提纲. 1 实验准备. 2 从实模式进入保护模式. 3 小结 陈香兰 ( 中国科学技术大学计算机学院 ) 软件综合实验之操作系统 July 1, / 11

提纲. 1 实验准备. 2 从实模式进入保护模式. 3 小结 陈香兰 ( 中国科学技术大学计算机学院 ) 软件综合实验之操作系统 July 1, / 11 .. 软件综合实验之操作系统 进入保护模式 陈香兰 中国科学技术大学计算机学院 July 1, 2016 陈香兰 ( 中国科学技术大学计算机学院 ) 软件综合实验之操作系统 July 1, 2016 1 / 11 提纲. 1 实验准备. 2 从实模式进入保护模式. 3 小结 陈香兰 ( 中国科学技术大学计算机学院 ) 软件综合实验之操作系统 July 1, 2016 2 / 11 实验准备 实验环境准备

More information

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft PowerPoint - Aqua-Sim.pptx Peng Xie, Zhong Zhou, Zheng Peng, Hai Yan, Tiansi Hu, Jun-Hong Cui, Zhijie Shi, Yunsi Fei, Shengli Zhou Underwater Sensor Network Lab 1 Outline Motivations System Overview Aqua-Sim Components Experimental

More information

Training

Training 计算机组织与系统结构 高速缓冲存储器系统 Cache System ( 第十八讲 ) 程旭 2012.12.19 本讲提纲 复习存储层次和 Cache 引论 进一步考察 Cache 的操作 Cache 写入策略和替换策略 SPARCstation 20 的存储系统 总结 存储系统的扩展图示 处理器 控制 Memory Memory 数据通路 Memory Memory Memory 速度 最快 最慢

More information

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot OSI OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Protocol OSI OSI OSI OSI OSI O S I 2-1 Application

More information

A Preliminary Implementation of Linux Kernel Virus and Process Hiding

A Preliminary Implementation of Linux Kernel Virus and Process Hiding 邵 俊 儒 翁 健 吉 妍 年 月 日 学 号 学 号 学 号 摘 要 结 合 课 堂 知 识 我 们 设 计 了 一 个 内 核 病 毒 该 病 毒 同 时 具 有 木 马 的 自 动 性 的 隐 蔽 性 和 蠕 虫 的 感 染 能 力 该 病 毒 获 得 权 限 后 会 自 动 将 自 身 加 入 内 核 模 块 中 劫 持 的 系 统 调 用 并 通 过 简 单 的 方 法 实 现 自 身 的

More information

Knowledge and its Place in Nature by Hilary Kornblith

Knowledge and its Place in Nature by Hilary Kornblith Deduction by Daniel Bonevac Chapter 7 Quantified Natural Deduction Quantified Natural Deduction As with truth trees, natural deduction in Q depends on the addition of some new rules to handle the quantifiers.

More information

C/C++语言 - 运算符、表达式和语句

C/C++语言 - 运算符、表达式和语句 C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe

More information

多核心CPU成長日記.doc

多核心CPU成長日記.doc 篇 名 : 多 核 心 CPU 成 長 日 記 作 者 : 劉 重 安 國 立 溪 湖 高 中 高 三 11 班 趙 芃 凱 國 立 溪 湖 高 中 高 三 11 班 蔡 文 凱 國 立 溪 湖 高 中 高 三 11 班 指 導 老 師 : 潘 秀 欽 老 師 第 1 頁 壹 前 言 微 處 理 器 (CPU, 被 稱 為 中 央 處 理 器 ) 可 說 是 電 腦 系 統 的 大 腦, 掌 管 整

More information

Microsoft PowerPoint - C15_LECTURE_NOTE_04.ppt

Microsoft PowerPoint - C15_LECTURE_NOTE_04.ppt MACHINE LANGUAGE CODING AND THE DEBUG SOFTWARE DEVELOPMENT PROGRAM OF THE PC MACHINE LANGUAGE CODING AND THE DEBUG SOFTWARE DEVELOPMENT PROGRAM OF THE PC 4.1 Converting Assembly Language Instructions to

More information

计算机组成原理 COD 第 5 章虚拟存储器

计算机组成原理 COD 第 5 章虚拟存储器 计算机组成原理 COD 第 5 章虚拟存储器 llxx@ustc.edu.cn 本章内容 5.4 虚拟存储器 实方式 vs 虚方式 虚存管理机制 TLB MMU 层次化 :Cache-Memory-Disk 三级存储体系结构 三级存储系统 : 缓存 主存 辅存 缓存 - 主存层次 映射 查找 读写, 替换 主存 - 辅存层次 映射 查找 读写 替换 辅助硬件 辅助硬件和软件 CPU 高速缓存 Cache

More information

Abstract arm linux tool-chain root NET-Start! 2

Abstract arm linux tool-chain root NET-Start! 2 Lab III - Embedding Linux 1 Abstract arm linux tool-chain root NET-Start! 2 Part 1.4 Step1. tool-chain 4 Step2. PATH 4 Part 2 kernel 5 Step1. 5 Step2... 6 Step3...8 Part 3 root. 8 Step1. 8 Step2. 8 Part

More information

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl SKLOIS (Pseudo) Preimage Attack on Reduced-Round Grøstl Hash Function and Others Shuang Wu, Dengguo Feng, Wenling Wu, Jian Guo, Le Dong, Jian Zou March 20, 2012 Institute. of Software, Chinese Academy

More information

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2 CHAPTER 10 Applications of Digital Signal Processing Wang Weilian wlwang@ynu.edu.cn School of Information Science and Technology Yunnan University Outline Speech Signals Processing Dual-Tone Multifrequency

More information

1 VLBI VLBI 2 32 MHz 2 Gbps X J VLBI [3] CDAS IVS [4,5] CDAS MHz, 16 MHz, 8 MHz, 4 MHz, 2 MHz [6] CDAS VLBI CDAS 2 CDAS CDAS 5 2

1 VLBI VLBI 2 32 MHz 2 Gbps X J VLBI [3] CDAS IVS [4,5] CDAS MHz, 16 MHz, 8 MHz, 4 MHz, 2 MHz [6] CDAS VLBI CDAS 2 CDAS CDAS 5 2 32 1 Vol. 32, No. 1 2014 2 PROGRESS IN ASTRONOMY Feb., 2014 doi: 10.3969/j.issn.1000-8349.2014.01.07 VLBI 1,2 1,2 (1. 200030 2. 200030) VLBI (Digital Baseband Convertor DBBC) CDAS (Chinese VLBI Data Acquisition

More information

《计算机应用基础》学习材料(讲义)

《计算机应用基础》学习材料(讲义) 计 算 机 应 用 基 础 学 习 材 料 ( 讲 义 ) Fundamentals of Computer Application 2014-3-22 JIANGSU OPEN UNIVERSITY 第 二 学 习 周 计 算 机 基 础 知 识 ( 一 ) 导 学 在 本 学 习 周, 我 们 主 要 的 任 务 是 认 识 计 算 机 你 将 知 道 计 算 机 是 什 么 时 候 产 生 的,

More information

Microsoft PowerPoint - C15_LECTURE_NOTE_04.ppt

Microsoft PowerPoint - C15_LECTURE_NOTE_04.ppt MACHINE LANGUAGE CODING AND THE DEBUG SOFTWARE DEVELOPMENT PROGRAM OF THE PC General instruction format for machine code 611 37100 微處理機原理與應用 Lecture 04-4 MACHINE LANGUAGE CODING AND THE DEBUG SOFTWARE

More information

一个开放源码的嵌入式仿真环境 ― SkyEye

一个开放源码的嵌入式仿真环境 ― SkyEye SkyEye SkyEye http://hpclab.cs.tsinghua.edu.cn/~skyeye/ I hear and I forget, I see and I remember, I do and I understand. SkyEye SkyEye SkyEye SkyEye SkyEye 1. SkyEye PC pervasive computing PC I O PDA

More information

2/80 2

2/80 2 2/80 2 3/80 3 DSP2400 is a high performance Digital Signal Processor (DSP) designed and developed by author s laboratory. It is designed for multimedia and wireless application. To develop application

More information

12 Differential Low-Power 6x6 12 bit multiply 1

12 Differential Low-Power 6x6 12 bit multiply 1 12 Differential Low-Power 6x6 12 bit multiply 1 2 07 1.1 07 1.2 07 1.2.1 (Sequential Structure Multiplier )07 1.2.2 (Array Structure Multiplier) 09 1.2.3 (Parallel Multiplier) 10 1.2.3.1 10 1.2.3.2 10

More information

Microsoft PowerPoint - notes3-Simple-filled12

Microsoft PowerPoint - notes3-Simple-filled12 Generic Computer Organization CSE 30321 Computer Architecture I Lecture Notes 3: A Simple Computer: Simple12 And Design at Register Transfer Level Stored Program Machine (vonneumann Model) Instructions

More information

KV-cache 1 KV-cache Fig.1 WorkflowofKV-cache 2.2 Key-value Key ; Key Mem-cache (FIFO) Value Value Key Mem-cache ( Value 256B 100 MB 20%

KV-cache 1 KV-cache Fig.1 WorkflowofKV-cache 2.2 Key-value Key ; Key Mem-cache (FIFO) Value Value Key Mem-cache ( Value 256B 100 MB 20% 38 11 2013 11 GeomaticsandInformationScienceofWuhanUniversity Vol.38No.11 Nov.2013 :1671-8860(2013)11-1339-05 :A GIS Key-value 1 1 1 1 (1 129 430079) : 设计了一种基于 Key-value 结构的缓存 KV-cache 旨在简化数据结构 高效管理缓存数据

More information

第1章 簡介

第1章 簡介 EAN.UCCThe Global Language of Business 4 512345 678906 > 0 12345 67890 5 < > 1 89 31234 56789 4 ( 01) 04601234567893 EAN/UCC-14: 15412150000151 EAN/UCC-13: 5412150000161 EAN/UCC-14: 25412150000158 EAN/UCC-13:

More information

VHDL(Statements) (Sequential Statement) (Concurrent Statement) VHDL (Architecture)VHDL (PROCESS)(Sub-program) 2

VHDL(Statements) (Sequential Statement) (Concurrent Statement) VHDL (Architecture)VHDL (PROCESS)(Sub-program) 2 VHDL (Statements) VHDL(Statements) (Sequential Statement) (Concurrent Statement) VHDL (Architecture)VHDL (PROCESS)(Sub-program) 2 (Assignment Statement) (Signal Assignment Statement) (Variable Assignment

More information

JAIST Reposi Title ページアドレス予測による TBL プリローディングの研究 Author(s) 請園, 智玲 Citation Issue Date Type Thesis or Dissertation Text version

JAIST Reposi   Title ページアドレス予測による TBL プリローディングの研究 Author(s) 請園, 智玲 Citation Issue Date Type Thesis or Dissertation Text version JAIST Reposi https://dspace.j Title ページアドレス予測による TBL プリローディングの研究 Author(s) 請園, 智玲 Citation Issue Date 2003-03 Type Thesis or Dissertation Text version author URL http://hdl.handle.net/10119/1700 Rights

More information

ebook105-12

ebook105-12 12 12.1 C P U T x X T y Y T x >T y Y P XY Y X P x = 1 / T x P y = 1 / T y ( 1 2-1 ) P y > P x ( 1 2-2 ) C P U = # 12.2 334 C P U 12-1 a I F I D E X E M E M W B C P U 12-1 b C P U C P U t i n s t t i n

More information

Ps22Pdf

Ps22Pdf ( ) ( 150 ) 25 15 20 40 ( 25, 1, 25 ), 1. A. B. C. D. 2. A. B. C. D. 3., J = 1 H = 1 ( A B, J', J, H ) A. A = B = 1, J' =0 B. A = B = J' =1 C. A = J' =1, B =0 D. B = J' = 1, A = 0 4. AB + AB A. AB B. AB

More information

PowerPoint Presentation

PowerPoint Presentation Decision analysis 量化決策分析方法專論 2011/5/26 1 Problem formulation- states of nature In the decision analysis, decision alternatives are referred to as chance events. The possible outcomes for a chance event

More information

K301Q-D VRT中英文说明书141009

K301Q-D VRT中英文说明书141009 THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

P4V88+_BIOS_CN.p65

P4V88+_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 17:00:09] [Wed 12/22/2004] BIOS Version : P4V88+ BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz Processor

More information

Microsoft Word - (web)_F.1_Notes_&_Application_Form(Chi)(non-SPCCPS)_16-17.doc

Microsoft Word - (web)_F.1_Notes_&_Application_Form(Chi)(non-SPCCPS)_16-17.doc 聖 保 羅 男 女 中 學 學 年 中 一 入 學 申 請 申 請 須 知 申 請 程 序 : 請 將 下 列 文 件 交 回 本 校 ( 麥 當 勞 道 33 號 ( 請 以 A4 紙 張 雙 面 影 印, 並 用 魚 尾 夾 夾 起 : 填 妥 申 請 表 並 貼 上 近 照 小 學 五 年 級 上 下 學 期 成 績 表 影 印 本 課 外 活 動 表 現 及 服 務 的 證 明 文 件 及

More information

[Group 9] Give an example of structural hazard ans 1. 假設下列指令是在只有單一記憶體的 datapath 中執行 lw $5, 100($2) add $2, $7, $4 add $4, $2, $5 sw $5, 100($2)

[Group 9] Give an example of structural hazard ans 1. 假設下列指令是在只有單一記憶體的 datapath 中執行 lw $5, 100($2) add $2, $7, $4 add $4, $2, $5 sw $5, 100($2) Computer Architecture Fall, 2017 Week 13 2017.12.04 [Group 11] 1. 請詳述為何在 MIPS 中不會發生 WAR 與 WAW 這兩種 Hazards ANS: Use simple, fixed designs WAR: 因為 Write 是第五個 Stage,Read 是第二個 Stage, 因此 Write 永遠在 Read 後面,

More information

ebook 132-6

ebook 132-6 6 SQL Server Windows NT Windows 2000 6.1 Enterprise Manager SQL Server Enterprise Manager( ) (Microsoft Management C o n s o l e M M C ) Enterprise Manager SQL Server Enterprise Manager 6.1.1 Enterprise

More information

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2 3,,,,,, 1872,,,, 3 2004 ( 04BZS030),, 1 2005 5,,,,,,,,,,,,,,,,, 1928 716,1935 6 2682 1928 2 1935 6 1966, 2174, 7014 %, 94137 % 4, 1961, 59 1929,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2 , :,,,, :,,,,,,

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

Simulator By SunLingxi 2003

Simulator By SunLingxi 2003 Simulator By SunLingxi sunlingxi@sina.com 2003 windows 2000 Tornado ping ping 1. Tornado Full Simulator...3 2....3 3. ping...6 4. Tornado Simulator BSP...6 5. VxWorks simpc...7 6. simulator...7 7. simulator

More information

Microsoft Word - Final Exam Review Packet.docx

Microsoft Word - Final Exam Review Packet.docx Do you know these words?... 3.1 3.5 Can you do the following?... Ask for and say the date. Use the adverbial of time correctly. Use Use to ask a tag question. Form a yes/no question with the verb / not

More information

Go构建日请求千亿微服务最佳实践的副本

Go构建日请求千亿微服务最佳实践的副本 Go 构建 请求千亿级微服务实践 项超 100+ 700 万 3000 亿 Goroutine & Channel Goroutine Channel Goroutine func gen() chan int { out := make(chan int) go func(){ for i:=0; i

More information

Microsoft Word - ChineseSATII .doc

Microsoft Word - ChineseSATII .doc 中 文 SAT II 冯 瑶 一 什 么 是 SAT II 中 文 (SAT Subject Test in Chinese with Listening)? SAT Subject Test 是 美 国 大 学 理 事 会 (College Board) 为 美 国 高 中 生 举 办 的 全 国 性 专 科 标 准 测 试 考 生 的 成 绩 是 美 国 大 学 录 取 新 生 的 重 要 依

More information

PTS7_Manual.PDF

PTS7_Manual.PDF User Manual Soliton Technologies CO., LTD www.soliton.com.tw - PCI V2.2. - PCI 32-bit / 33MHz * 2 - Zero Skew CLK Signal Generator. - (each Slot). -. - PCI. - Hot-Swap - DOS, Windows 98/2000/XP, Linux

More information

States and capital package

States and capital package : 1 Students are required to know 50 states and capitals and their geological locations. This is an independent working packet to learn about 50 states and capital. Students are asked to fulfill 4 activities

More information

单周期数据通路

单周期数据通路 计算机组织与系统结构 设计单周期数据通路的处理器 Designing a Single Cycle Datapath Microprocessor 第四讲 程旭 27..2 2 Processor Processor Control Enable? Read/Write Memory Datapath PC Registers Arithmetic & Logic Unit (ALU) Address

More information

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63> 2010 年 理 工 类 AB 级 阅 读 判 断 例 题 精 选 (2) Computer mouse How does the mouse work? We have to start at the bottom, so think upside down for now. It all starts with mouse ball. As the mouse ball in the bottom

More information

Microsoft PowerPoint - STU_EC_Ch04.ppt

Microsoft PowerPoint - STU_EC_Ch04.ppt 樹德科技大學資訊工程系 Chapter 4: Boolean Algebra and Logic Simplification Shi-Huang Chen Fall 200 Outline Boolean Operations and Expressions Laws and Rules of Boolean Algebra DeMorgan's Theorems Boolean Analysis

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

Microsoft Word - ch05note_1210.doc

Microsoft Word - ch05note_1210.doc Section 5. Antiderivatives and indefinite integrals 反 導 函 數 與 不 定 積 分 上 一 章 我 們 已 經 學 過 微 分 以 及 它 的 應 用 現 在 我 們 考 慮 反 向 的 過 程, 稱 為 積 分 (antidifferentiation), 給 定 一 個 導 函 數, 找 出 它 原 始 的 函 數 積 分 也 有 許 多

More information

投影片 1

投影片 1 4 1 4-1 類 料, 兩 類 2 類 RAM (Random Access Memory, ) ROM (Read Only Memory, 讀 ) 兩, 類, 見 3 類 4 說 CPU, 料都, CPU 行 理 不 力 料, 料便, 料便, 料, CPU 料, 便 料, CPU 行 理 5 料 索 了 便 錄 讀 錄 度 量 量 6 (Virtual Memory) 數 Windows Linux

More information

L7 Cache I

L7 Cache I Lecture 9: Cache I 高速缓冲存储器 (Cache) 1 高速缓冲存储器 (Cache) 什么是程序访问的局部化特性 具有 Cache 机制的 CPU 的基本访存过程 Cache 和主存之间的映射方式 直接映射 / 全相联映射 / 组相联映射 cache 容量和块大小的选择 Cache 替换算法 cache-friendly 的程序 Cache 的写策略 Write Back 和 Write

More information

ch_code_infoaccess

ch_code_infoaccess 地 產 代 理 監 管 局 公 開 資 料 守 則 2014 年 5 月 目 錄 引 言 第 1 部 段 數 適 用 範 圍 1.1-1.2 監 管 局 部 門 1.1 紀 律 研 訊 1.2 提 供 資 料 1.3-1.6 按 慣 例 公 布 或 供 查 閱 的 資 料 1.3-1.4 應 要 求 提 供 的 資 料 1.5 法 定 義 務 及 限 制 1.6 程 序 1.7-1.19 公 開 資

More information

C10_ppt.PDF

C10_ppt.PDF C11-101 101 ( ) 1 15 2000 20% 20MB 170000 19 7% 3% 14% 32% 44% Disaster Recovery Journal ( ) UPS - (Fault Tolerance Capability) (Avoid Single point of failure) (High Availability) (RAID) (Cluster) (Backup)

More information

邏輯分析儀的概念與原理-展示版

邏輯分析儀的概念與原理-展示版 PC Base Standalone LA-100 Q&A - - - - - - - SCOPE - - LA - - ( Embedded ) ( Skew ) - Data In External CLK Internal CLK Display Buffer ASIC CPU Memory Trigger Level - - Clock BUS Timing State - ( Timing

More information

92 (When) (Where) (What) (Productivity) (Efficiency) () (2) (3) (4) (5) (6) (7) em-plant( SiMPLE++) Scheduling When Where Productivity Efficiency [5]

92 (When) (Where) (What) (Productivity) (Efficiency) () (2) (3) (4) (5) (6) (7) em-plant( SiMPLE++) Scheduling When Where Productivity Efficiency [5] DYNAMIC SCHEDULING IN TWO-MACHINE FLOW-SHOP WITH RECIRCULATION em-plant( SiMPLE++) Jen-Shiang Chen, Jar-Her Kao, Chun-Chieh Chen, Po-Cheng Liu, and Wen-Pin Lin Department of Industrial Engineering and

More information

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( ) RAID RAID 0 RAID 1 RAID 5 RAID 10 2 2 3 4 * (-1)* (/2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( ) ( ) ( ) Windows USB 1 SATA A. SATASATAIntel SATA (SATA3

More information

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡 Tips of the Week 课 堂 上 的 英 语 习 语 教 学 ( 二 ) 2015-04-19 吴 倩 MarriottCHEI 大 家 好! 欢 迎 来 到 Tips of the Week! 这 周 我 想 和 老 师 们 分 享 另 外 两 个 课 堂 上 可 以 开 展 的 英 语 习 语 教 学 活 动 其 中 一 个 活 动 是 一 个 充 满 趣 味 的 游 戏, 另 外

More information

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

More information

Microsoft PowerPoint - TTCN-Introduction-v5.ppt

Microsoft PowerPoint - TTCN-Introduction-v5.ppt Conformance Testing and TTCN 工研院無線通訊技術部林牧台 / Morton Lin 03-5912360 mtlin@itri.org.tw 1 Outline Introduction and Terminology Conformance Testing Process 3GPP conformance testing and test cases A real world

More information

ARM JTAG实时仿真器安装使用指南

ARM JTAG实时仿真器安装使用指南 ARM JTAG Version 1.31 2003. 11. 12 ARM JTAG ARM JTAG.3 ARM 2.1.4 2.2.4 ARM JTAG 3.1 18 3.2 18 3.2.1 Multi-ICE Server.18 3.2.2 ADS..21 ARM JTAG 4.1 Multi-ICE Server 33 4.1.1 Multi-ICE Server..... 33 4.1.2

More information

Section1_16bit Arc.ppt

Section1_16bit Arc.ppt 16-bit Elite Program 2009 Summer Section-1 Microchip 16-bit 2005 Microchip Technology Incorporated. All Rights Reserved. Slide 1 MCU CPU (NOP),, (Data Memory), I/O CPU w. ALU/Working Reg. Data Mem. Data

More information

1505.indd

1505.indd 上 海 市 孙 中 山 宋 庆 龄 文 物 管 理 委 员 会 上 海 宋 庆 龄 研 究 会 主 办 2015.05 总 第 148 期 图 片 新 闻 2015 年 9 月 22 日, 由 上 海 孙 中 山 故 居 纪 念 馆 台 湾 辅 仁 大 学 和 台 湾 图 书 馆 联 合 举 办 的 世 纪 姻 缘 纪 念 孙 中 山 先 生 逝 世 九 十 周 年 及 其 革 命 历 程 特 展

More information

<4D6963726F736F667420576F7264202D2031322D312DC2B2B4C2AB47A16DC5AAAED1B0F3B5AAB0DDA144A7B5B867A16EB2A4B1B4A277A548AED1A4A4BEC7A5CDB0DDC344ACB0A8D2>

<4D6963726F736F667420576F7264202D2031322D312DC2B2B4C2AB47A16DC5AAAED1B0F3B5AAB0DDA144A7B5B867A16EB2A4B1B4A277A548AED1A4A4BEC7A5CDB0DDC344ACB0A8D2> 弘 光 人 文 社 會 學 報 第 12 期 簡 朝 亮 讀 書 堂 答 問. 孝 經 略 探 以 書 中 學 生 問 題 為 例 趙 詠 寬 彰 化 師 範 大 學 國 文 學 系 博 士 班 研 究 生 摘 要 孝 經 是 十 三 經 中 字 數 最 少 的 經 典, 然 實 踐 性 高, 受 歷 來 帝 王 重 視 但 在 清 末 民 初, 傳 統 思 維 受 到 挑 戰, 被 視 為 維 護

More information

南華大學數位論文

南華大學數位論文 The Digital Divide on the Remote Area: Regarding the community of Ta-Pang in Mt. A-li Abstract Base on the coming of information society, the digital science and technology usage suppose to be the basic

More information

2009 Korean First Language Written examination

2009 Korean First Language Written examination Victorian Certificate of Education 2009 SUPERVISOR TO ATTACH PROCESSING LABEL HERE STUDENT NUMBER Letter Figures Words KOREAN FIRST LANGUAGE Written examination Tuesday 20 October 2009 Reading time: 2.00

More information

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn Xi III Zebra XI III 1 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn 230V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666

More information

EK-STM32F

EK-STM32F STMEVKIT-STM32F10xx8 软 件 开 发 入 门 指 南 目 录 1 EWARM 安 装... 1 1.1 第 一 步 : 在 线 注 册... 1 1.2 第 二 步 : 下 载 软 件... 2 1.3 第 三 步 : 安 装 EWARM... 3 2 基 于 STMEVKIT-STM32F10xx8 的 示 例 代 码 运 行... 6 2.1 GPIO Demo... 6 2.2

More information

DPJJX1.DOC

DPJJX1.DOC 8051 111 2K 1 2 3 ' ' 1 CPU RAM ROM / A/D D/A PC CPU 40 68 10 20 8 51 PIII 8051 2 MCS51 8051 8031 89C51 8051 8031 89C51? MCS51 INTEL INTEL 8031 8051 8751 8032 8052 8752 8051 8051 8051 MCS51 8031 8031

More information

<4D F736F F F696E74202D DB5DAB6FECAAEB6FEBDB22DCEA2D0CDBCC6CBE3BBFACFC8BDF8BCBCCAF5CAB5C0FDA3A8D2BBA3A92E >

<4D F736F F F696E74202D DB5DAB6FECAAEB6FEBDB22DCEA2D0CDBCC6CBE3BBFACFC8BDF8BCBCCAF5CAB5C0FDA3A8D2BBA3A92E > 第二十二讲 授课教师 : 陆俊林王箫音 2012 年春季学期 主要内容 一 实模式回顾 二 虚拟存储机制 三 保护模式 四 64 位模式 五 多线程技术 教材相关章节 : 微型计算机基本原理与应用 ( 第二版 ) 第 15 章 80x86/Pentium 保护模式原理与结构 1 主要内容 一 实模式回顾 二 虚拟存储机制 三 保护模式 四 64 位模式 五 多线程技术 2 回顾 : 三种工作模式之间的转换

More information

S7-1200 可编程控制器

S7-1200 可编程控制器 www.plcworld.cn 前 言 SIMATIC S7 系 统 手 册 产 品 概 述 1 安 装 2 PLC 概 念 3 设 备 配 置 4 编 程 概 念 5 编 写 指 令 6 PROFINET 7 点 对 点 (PtP) 通 信 8 在 线 和 诊 断 工 具 9 A 技 术 规 范 B 计 算 功 率 预 算 C 订 货 号 11/2009 A5E02486685-02 法 律 资

More information

<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D>

<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D> Homeworks ( 第 三 版 ):.4 (,, 3).5 (, 3).6. (, 3, 5). (, 4).4.6.7 (,3).9 (, 3, 5) Chapter. Number systems and codes 第 一 章. 数 制 与 编 码 . Overview 概 述 Information is of digital forms in a digital system, and

More information

untitled

untitled ( ) 2005 2 27 1 70 :SSI(Small Scale Integration), 1 10,MSI (Medium Scale Integration),,, 80 LSI(Large Scale Integration),, 16,Motoral M68000(7 ),Intel 80286 (12.5 ),80386 (27.5 ) 90 : VLSI(Very Large Scale

More information