以下内容摘自《步步惊芯——软核处理器内部设计分析》一书
1 IMMU结构
      OR1200中实现IMMU的文件有or1200_immu_top.v、or1200_immu_tlb.v、or1200_spram.v,其中使用or1200_immu_top.v实现了IMMU模块,使用or1200_immu_tlb.v实现了ITLB模块,or1200_spram.v是一个单口RAM,使用其实...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 08:48:55   
                                阅读次数:
368
                             
                    
                        
                            
                            
                                You are climbing a stair case. It takesnsteps 
to reach to the top.Each time you can either climb 1 or 2 steps. In how many 
distinct ways can you climb...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 19:53:34   
                                阅读次数:
173
                             
                    
                        
                            
                            
                                现象:网站访问越来越慢,最后无法访问了,经过检查发现磁盘满了分析过程及解决方案:通常出现这种问题都应该登录服务器检查磁盘、内存和进程使用的情况,通过top、df 
–h和free –m来检查,发现磁盘空间满了。再进一步通过du –sh对可以的目录进行检查,发现是mysql的binlog占用空间过大。清...
                            
                            
                                分类:
数据库   时间:
2014-06-03 08:20:56   
                                阅读次数:
309
                             
                    
                        
                            
                            
                                可以使用一下命令查使用内存最多的5个进程ps -aux | sort -k4nr | head 
-n 5或者top (然后按下M,注意大写)可以使用一下命令查使用CPU最多的5个进程ps -aux | sort -k3nr | head -n 5或者top 
(然后按下P,注意大写)
                            
                            
                                分类:
系统相关   时间:
2014-06-03 07:30:14   
                                阅读次数:
301
                             
                    
                        
                            
                            
                                Form2frm2=newForm2();privatevoidMoveProc(){frm2.StartPosition=FormStartPosition.CenterParent;frm2.Left=this.Left+panel1.Left;frm2.Top=this.Top+panel1....
                            
                            
                         
                    
                        
                            
                            
                                body{ background-position:center; 
background-repeat:no-repeat; }div#div1{ position:fixed; top:0; left:0; bottom:0; 
right:0; z-i...
                            
                            
                                分类:
其他好文   时间:
2014-05-31 14:11:16   
                                阅读次数:
243
                             
                    
                        
                            
                            
                                1 2 13 25 26 You can count on this being a dark 
29 background with light text on top, but should try to make no 30 other 
assumptions ...
                            
                            
                                分类:
移动开发   时间:
2014-05-31 06:12:59   
                                阅读次数:
492
                             
                    
                        
                            
                            
                                代码高亮显示是通过在搜索到的Term中把匹配了用户输入的关键字的周围加上一些标记来实现(比如,关键字是"中华" 查到的一个Term是 
"中华人民共和国",则把这个Term修改一下 把"中华" 两个字加粗,最终结果是这样的: 中华人民共和国)下边是具体实现的代码片段: Top...
                            
                            
                                分类:
其他好文   时间:
2014-05-31 05:07:22   
                                阅读次数:
207
                             
                    
                        
                            
                            
                                css中常常会见到margin-left:-20px;这类,有点晕,所以整理一下~ 主要分为两种情况: 
一、没有浮动的元素 /* mydiv1向上移动10px */#mydiv1 {margin-top:-10px;}/* mydiv1向左移动10px 
*/#mydiv1 {margin-l...
                            
                            
                                分类:
其他好文   时间:
2014-05-31 04:38:47   
                                阅读次数:
268
                             
                    
                        
                            
                            
                                Given a triangle, find the minimum path sum 
from top to bottom. Each step you may move to adjacent numbers on the row 
below.For example, given the fol...
                            
                            
                                分类:
其他好文   时间:
2014-05-30 14:59:37   
                                阅读次数:
241