欢迎访问ic37.com |
会员登录 免费注册
发布采购

HD6417709SF133B 参数 Datasheet PDF下载

HD6417709SF133B图片预览
型号: HD6417709SF133B
PDF下载: 下载PDF文件 查看货源
内容描述: 瑞萨32位RISC单片机超级RISC引擎族/ SH7700系列 [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 807 页 / 4409 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD6417709SF133B的Datasheet PDF文件第116页浏览型号HD6417709SF133B的Datasheet PDF文件第117页浏览型号HD6417709SF133B的Datasheet PDF文件第118页浏览型号HD6417709SF133B的Datasheet PDF文件第119页浏览型号HD6417709SF133B的Datasheet PDF文件第121页浏览型号HD6417709SF133B的Datasheet PDF文件第122页浏览型号HD6417709SF133B的Datasheet PDF文件第123页浏览型号HD6417709SF133B的Datasheet PDF文件第124页  
3.5.3  
TLB Invalid Exception  
A TLB invalid exception results when the virtual address is compared to a selected TLB entry  
address array and a match is found but the entry is not valid (the V bit is 0). TLB invalid exception  
processing includes both hardware and software operations.  
Hardware Operations: In a TLB invalid exception, the SH7709S hardware executes a set of  
prescribed operations, as follows:  
1. The VPN number of the virtual address causing the exception is written to the PTEH register.  
2. The virtual address causing the exception is written to the TEA register.  
3. The way number causing the exception is written to RC in MMUCR.  
4. Either exception code H'040 for a load access, or H'060 for a store access, is written to the  
EXPEVT register.  
5. The PC value indicating the address of the instruction in which the exception occurred is  
written to the SPC. If the exception occurred in a delay slot, the PC value indicating the  
address of the delayed branch instruction is written to the SPC.  
6. The contents of SR at the time of the exception are written into SSR.  
7. The mode (MD) bit in SR is set to 1 to place the SH7709S in the privileged mode.  
8. The block (BL) bit in SR is set to 1 to mask any further exception requests.  
9. The register bank (RB) bit in SR is set to 1.  
10. Execution branches to the address obtained by adding the value of the VBR contents and  
H'00000100, and the TLB protection violation exception handler starts.  
Software (TLB Invalid Exception Handler) Operations: The software searches the page tables  
in external memory and assigns the required page table entry. Upon retrieving the required page  
table entry, software must execute the following operations:  
1. Write the values of the physical page number (PPN) field and the values of the protection key  
(PR), page size (SZ), cacheable (C), dirty (D), share status (SH), and valid (V) bits of the page  
table entry recorded in the external memory to the PTEL register.  
2. If using software for way selection for entry replacement, write the desired value to the RC  
field in MMUCR.  
3. Issue the LDTLB instruction to load the contents of PTEH and PTEL into the TLB.  
4. Issue the RTE instruction to terminate the handler and return to the instruction stream. The  
RTE instruction should be issued after two LDTLB instructions.  
Rev. 5.00, 09/03, page 76 of 760  
 复制成功!