亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? controllogic.vhd

?? the model of cpu ARM7TDMI.
?? VHD
?? 第 1 頁 / 共 5 頁
字號:
IDC_RSC <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 21)="0111" and 
					IDC_ArInstExtSp='0' else '0';

-- Move
IDC_MOV <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 21)="1101" and 
					IDC_ArInstExtSp='0' else '0';

IDC_MVN <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 21)="1111" and 
					IDC_ArInstExtSp='0' else '0';
						
-- Instructions which only can change CPSR flags (compare)
IDC_CMP <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 20)="10101" and 
					IDC_ArInstExtSp='0' else '0';

IDC_CMN <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 20)="10111" and 
					IDC_ArInstExtSp='0' else '0';

IDC_TST <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 20)="10001" and 
					IDC_ArInstExtSp='0' else '0';

IDC_TEQ <= '1' when InstForDecode(27 downto 26)="00" and
                    InstForDecode(24 downto 20)="10011" and 
					IDC_ArInstExtSp='0' else '0';

-- End of data processing instructions						
						
-- Multiplications
IDC_MUL <= '1' when InstForDecode(27 downto 21)="0000000" and
                    InstForDecode(7 downto 4)="1001" else '0';

IDC_MLA <= '1' when InstForDecode(27 downto 21)="0000001" and
                    InstForDecode(7 downto 4)="1001" else '0';

IDC_UMULL <= '1' when InstForDecode(27 downto 21)="0000100" and
                      InstForDecode(7 downto 4)="1001" else '0';

IDC_UMLAL <= '1' when InstForDecode(27 downto 21)="0000101" and
                      InstForDecode(7 downto 4)="1001" else '0';

IDC_SMULL <= '1' when InstForDecode(27 downto 21)="0000110" and
                      InstForDecode(7 downto 4)="1001" else '0';

IDC_SMLAL <= '1' when InstForDecode(27 downto 21)="0000111" and
                      InstForDecode(7 downto 4)="1001" else '0';
						  
-- Move immediate value to status register(CPSR/SPSR)  
-- (works like data processing instruction with immediate)
IDC_MSR_I  <= '1' when InstForDecode(27 downto 23)="00110" and
					   InstForDecode(21 downto 20)="10" else '0'; 

-- Move register value to status register(CPSR/SPSR) 
-- (works like data processing instruction with immediate)						   
IDC_MSR_R  <= '1' when InstForDecode(27 downto 23)="00010" and
                       InstForDecode(21 downto 20)="10" and
					   InstForDecode(7 downto 4)="0000" else '0'; 

-- Move status register(CPSR/SPSR) to general purpose register
IDC_MRS  <= '1' when InstForDecode(27 downto 23)="00010" and
                     InstForDecode(21 downto 20)="00" and  
                     InstForDecode(7 downto 4)="0000" else '0'; 

-- Branch
IDC_B    <= '1' when InstForDecode(27 downto 24)="1010" else '0';  -- ?? Merge
IDC_BL   <= '1' when InstForDecode(27 downto 24)="1011" else '0';  -- ?? Merge

IDC_BX   <= '1' when InstForDecode(27 downto 20)="00010010" and
                     InstForDecode(7 downto 4)="0001" else '0'; 

-- Load
IDC_LDR  <= '1' when InstForDecode(27 downto 26)="01" and
                     InstForDecode(22)='0' and InstForDecode(20)='1' else '0';

-- Load byte !!! TBD
IDC_LDRB  <= '1' when InstForDecode(27 downto 26)="01" and
                      InstForDecode(22)='1' and InstForDecode(20)='1' else '0';

-- Load byte with translation !!! TBD
IDC_LDRBT <= '1' when InstForDecode(27 downto 26)="01" and
                      InstForDecode(24)='0' and 
					  InstForDecode(22 downto 20)="111" else '0';

-- Load halfword  !!! TBD
IDC_LDRH <= '1' when InstForDecode(27 downto 25)="000" and
                     InstForDecode(20)='1' and 
					 InstForDecode(7 downto 4)="1011" else '0';

-- Load signed byte	!!! TBD
IDC_LDRSB <= '1' when InstForDecode(27 downto 25)="000" and
                      InstForDecode(20)='1' and 
			          InstForDecode(7 downto 4)="1101" else '0';

-- Load signed halfword	!!! TBD					  
IDC_LDRSH <= '1' when InstForDecode(27 downto 25)="000" and
                      InstForDecode(20)='1' and 
			          InstForDecode(7 downto 4)="1111" else '0';

-- Load word with translation !!! TBD						  
IDC_LDRT  <= '1' when InstForDecode(27 downto 26)="01" and
                      InstForDecode(24)='0' and 
					  InstForDecode(22 downto 20)="011" else '0'; 

-- All the types of load multiple registers
IDC_LDM  <= '1' when InstForDecode(27 downto 25)="100" and
                     InstForDecode(20)='1' else '0';

-- Store
IDC_STR <= '1' when InstForDecode(27 downto 26)="01" and
                     InstForDecode(22)='0' and InstForDecode(20)='0' else '0'; 

-- Store byte !!! TBD
IDC_STRB <= '1' when InstForDecode(27 downto 26)="01" and
                     InstForDecode(22)='1' and InstForDecode(20)='0' else '0';

-- Store byte with translation !!! TBD
IDC_STRBT <= '1' when InstForDecode(27 downto 26)="01" and
                      InstForDecode(24)='0' and 
					  InstForDecode(22 downto 20)="110" else '0';

-- Store halfword !!! TBD
IDC_STRH <= '1' when InstForDecode(27 downto 25)="000" and
                     InstForDecode(20)='0' and 
					 InstForDecode(7 downto 4)="1011" else '0';

-- Store word with translation !!! TBD						 
IDC_STRT <= '1' when InstForDecode(27 downto 26)="01" and
                     InstForDecode(24)='0' and 
					 InstForDecode(22 downto 20)="010" else '0'; 

-- All the types of store multiple registers
IDC_STM <= '1' when InstForDecode(27 downto 25)="100" and
                    InstForDecode(20)='0' else '0';

-- Swap word
IDC_SWP <= '1' when InstForDecode(27 downto 20)="00010000" and
                    InstForDecode(7 downto 4)="1001" else '0';
-- Swap byte
IDC_SWPB <= '1' when InstForDecode(27 downto 20)="00010100" and
                     InstForDecode(7 downto 4)="1001" else '0';						  

-- Software interrupt						 
IDC_SWI <= '1' when InstForDecode(27 downto 24)="1111" else '0';

-- Coprocessor instructions	

IDC_MRC <= '1' when InstForDecode(27 downto 24)="1110" and
                    InstForDecode(20)='1' and InstForDecode(4)='1' else '0';

IDC_MCR <= '1' when InstForDecode(27 downto 24)="1110" and
                    InstForDecode(20)='0' and InstForDecode(4)='1' else '0';
						
IDC_LDC <= '1' when InstForDecode(27 downto 25)="110" and
                    InstForDecode(20)='1' else '0'; 

IDC_CDP <= '1' when InstForDecode(27 downto 24)="1110" and
                    InstForDecode(4)='0' else '0';

IDC_STC <= '1' when InstForDecode(27 downto 25)="110" and
                    InstForDecode(20)='0' else '0';  


IDC_Undef <= '1' when InstForDecode(27 downto 25)="011" and	  -- TBD
                      InstForDecode(4)='1' else '0';  

						  
-- Instruction groops

-- Data processing immediate shift (shift) 
IDC_DPIImmSh <= '1' when InstForDecode(27 downto 25)="000" and InstForDecode(4)='0' and 
					    not(InstForDecode(24 downto 23)="10" and InstForDecode(20)='0') else '0';   

-- Data processing register shift
IDC_DPIRegSh   <= '1' when InstForDecode(27 downto 25)="000" and InstForDecode(7)='0' and InstForDecode(4)='1' and 
                  not((InstForDecode(24 downto 23)="10" and InstForDecode(20)='0')or
                      (InstForDecode(7)='1' and InstForDecode(4)='1')) else '0';   

-- Data processing immediate (rotate)   							
IDC_DPIImmRot	<= '1' when InstForDecode(27 downto 25)="001" and  
                    not(InstForDecode(24 downto 23)="10" and InstForDecode(20)='0')
				    else '0';
	
-- Load/store register offset(shift)							
IDC_LSRegOffset  <= '1' when InstForDecode(27 downto 25)="011" and 
						     InstForDecode(4)='0' else '0';   						  

-- Load/store immediate offset								 
IDC_LSImmOffset <= '1' when InstForDecode(27 downto 25)="010" else '0';   		 								 


-- Load/store(halfword) register offset
IDC_LSHWRegOffset <= '1' when InstForDecode(27 downto 25)="000" and 
                              InstForDecode(22)='0' and InstForDecode(7 downto 4)="1011" 
                              else '0';   			
	
-- Load/store(halfword) immediate offset	
IDC_LSHWImmOffset <= '1' when InstForDecode(27 downto 25)="000" and 
                              InstForDecode(22)='1' and InstForDecode(7 downto 4)="1011" 
                              else '0';   			

-- Load signed (halfword/byte) register offset	
IDC_LHWBSRegOffset <= '1' when InstForDecode(27 downto 25)="000" and 
                               InstForDecode(22)='0' and 
							   InstForDecode(20)='1' and 
							   InstForDecode(7 downto 6)="11" and 
							   InstForDecode(4)='1' 
                               else '0';   			

-- Load signed (halfword/byte) immediate offset	
IDC_LHWBSImmOffset <= '1' when InstForDecode(27 downto 25)="000" and 
                               InstForDecode(22)='1' and 
							   InstForDecode(20)='1' and 
							   InstForDecode(7 downto 6)="11" and 
							   InstForDecode(4)='1' 
                               else '0';   			
								   
-- All of the load/store(multiple) 								   
IDC_LdStInst <= IDC_LDR or IDC_LDRT or IDC_LDRB or IDC_LDRBT or IDC_LDRSB or
           IDC_LDRH or IDC_LDRSH or IDC_LDM or IDC_STR or IDC_STRT or
           IDC_STRB or IDC_STRBT or IDC_STRH or IDC_STM;
								   
IDC_Branch <= IDC_B or IDC_BL or IDC_BX;	

IDC_Compare <= IDC_TST or IDC_TEQ or IDC_CMP or IDC_CMN;

IDC_DPIArith <= IDC_ADD or IDC_ADC or IDC_SUB or IDC_SBC or 
                IDC_RSB or IDC_RSC or IDC_CMP or IDC_CMN;

-- *******************************************************************************************	
-- End of the instruction decoder
-- *******************************************************************************************		

-- Instruction decoder register
InstrDecoderRegs:process(nRESET,CLK)
begin
if nRESET='0' then                -- Reset

 IDR_AND   <= '0';
 IDR_EOR   <= '0';
 IDR_ORR   <= '0';
 IDR_BIC   <= '0';
 IDR_TST   <= '0';
 IDR_TEQ   <= '0';
 IDR_ADD   <= '0';
 IDR_ADC   <= '0';
 IDR_SUB   <= '0';
 IDR_SBC   <= '0';
 IDR_RSB   <= '0';
 IDR_RSC   <= '0';
 IDR_CMP   <= '0';
 IDR_CMN   <= '0';
 IDR_MOV   <= '0';
 IDR_MVN   <= '0';

 IDR_MUL   <= '0';
 IDR_MLA   <= '0';
 IDR_UMULL <= '0';
 IDR_UMLAL <= '0';
 IDR_SMULL <= '0';
 IDR_SMLAL <= '0';

 IDR_MSR_R <= '0';
 IDR_MSR_I <= '0';
 IDR_MRS   <= '0';

 IDR_B     <= '0';
 IDR_BL    <= '0';
 IDR_BX    <= '0';

 IDR_LDR   <= '0';
 IDR_LDRT  <= '0';
 IDR_LDRB  <= '0';
 IDR_LDRBT <= '0';
 IDR_LDRSB <= '0';
 IDR_LDRH  <= '0';
 IDR_LDRSH <= '0';

 IDR_LDM   <= '0';
 
 IDR_STR   <= '0';
 IDR_STRT  <= '0';
 IDR_STRB  <= '0';
 IDR_STRBT <= '0';
 IDR_STRH  <= '0';

 IDR_STM   <= '0';

 IDR_SWP   <= '0';
 IDR_SWPB  <= '0';

 IDR_SWI   <= '0';

 IDR_MRC   <= '0';
 IDR_MCR   <= '0';
 IDR_LDC   <= '0';
 IDR_CDP   <= '0';
 IDR_STC   <= '0';
 
 -- Thumb branch with link support
 IDR_ThBLFP <= '0';
 IDR_ThBLSP <= '0';
  
 IDR_Undef <= '0';

 -- Instruction groops
 IDR_DPIRegSh    <= '0';
 IDR_DPIImmSh	 <= '0'; 
 IDR_DPIImmRot   <= '0'; 
 IDR_LSRegOffset <= '0';
 IDR_LSImmOffset <= '0';
 IDR_LSHWImmOffset <= '0';
 IDR_LSHWRegOffset <= '0';
 IDR_LHWBSImmOffset <= '0';
 IDR_LHWBSRegOffset <= '0';
 IDR_LdStInst <= '0';
 IDR_SingleCycleDPI  <=	'0';
 IDR_Branch <= '0';
 IDR_Compare <= '0';
 IDR_DPIArith <= '0';
 
-- Stored instruction and it's abort indicator
 InstForDecodeLatched <= ( others => '0');
 IFAbtStored <= '0';
 
-- External interrupt requests syncronization with instruction execution
 FIQLatched <= '0';
 IRQLatched <= '0';
 
elsif CLK='1' and CLK'event then  -- Clock
 if StagnatePipeline_Int='0' and CLKEN='1' then   -- Clock enable
 
 IDR_AND   <= IDC_AND;
 IDR_EOR   <= IDC_EOR;
 IDR_ORR   <= IDC_ORR;
 IDR_BIC   <= IDC_BIC;
 IDR_TST   <= IDC_TST;
 IDR_TEQ   <= IDC_TEQ;
 IDR_ADD   <= IDC_ADD;
 IDR_ADC   <= IDC_ADC;
 IDR_SUB   <= IDC_SUB;
 IDR_SBC   <= IDC_SBC;
 IDR_RSB   <= IDC_RSB;
 IDR_RSC   <= IDC_RSC;
 IDR_CMP   <= IDC_CMP;
 IDR_CMN   <= IDC_CMN;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99视频有精品| 美女mm1313爽爽久久久蜜臀| 国产成人自拍网| 欧美激情一区二区| 不卡一卡二卡三乱码免费网站| 欧美国产禁国产网站cc| 97久久超碰精品国产| 亚洲一区二区精品3399| 欧美日韩色一区| 精品亚洲免费视频| 亚洲国产精品精华液2区45| 99久久伊人久久99| 亚洲成av人片一区二区三区| 91精品国产色综合久久不卡蜜臀| 狠狠色综合色综合网络| 亚洲国产精品激情在线观看 | 蜜臀av一区二区| 精品国产乱子伦一区| 成人永久免费视频| 亚洲国产中文字幕在线视频综合| 日韩丝袜情趣美女图片| 大尺度一区二区| 亚洲午夜羞羞片| 欧美成人精品福利| 91亚洲国产成人精品一区二区三| 亚洲成在线观看| 国产亚洲一区字幕| 欧美性xxxxxx少妇| 国产精品亚洲视频| 亚洲国产cao| 国产精品女同一区二区三区| 欧美日韩色一区| 不卡av电影在线播放| 久久国产麻豆精品| 日韩一区欧美一区| 精品国产一区二区三区不卡| 91小视频在线| 高清在线成人网| 天堂av在线一区| 亚洲欧美一区二区在线观看| 日韩午夜在线播放| 欧美在线视频日韩| 成人性生交大片免费看中文网站| 日本欧洲一区二区| 亚洲码国产岛国毛片在线| 久久精品亚洲麻豆av一区二区 | 免费美女久久99| 中文字幕亚洲区| 欧美精品一区二区三区一线天视频| 色综合久久综合网97色综合| 国产乱国产乱300精品| 首页亚洲欧美制服丝腿| 亚洲精品自拍动漫在线| 国产精品家庭影院| 国产欧美一区二区三区沐欲| 日韩一区二区三区精品视频| 欧美吻胸吃奶大尺度电影| av电影在线观看一区| 春色校园综合激情亚洲| 久久99精品久久久久久久久久久久| 亚洲九九爱视频| 综合在线观看色| 国产欧美日本一区视频| 久久久综合精品| www一区二区| 亚洲精品在线观看网站| 欧美成人高清电影在线| 日韩欧美色综合网站| 69堂成人精品免费视频| 欧美日韩一级视频| 欧美日韩视频第一区| 欧美日韩在线播放三区四区| 欧美综合一区二区三区| 日本高清视频一区二区| 91亚洲精华国产精华精华液| 99re6这里只有精品视频在线观看| 国产成人夜色高潮福利影视| 国产成人av影院| 风流少妇一区二区| 不卡电影一区二区三区| 91浏览器入口在线观看| 色8久久精品久久久久久蜜| 91丨porny丨蝌蚪视频| 色综合久久中文字幕| 色婷婷精品大视频在线蜜桃视频 | 在线观看国产日韩| 91日韩一区二区三区| 色综合天天综合网国产成人综合天| av不卡在线播放| 色狠狠色噜噜噜综合网| 欧美在线色视频| 日韩一区二区在线看| 精品国产露脸精彩对白| 国产亚洲一本大道中文在线| 欧美日韩在线观看一区二区| 日韩视频123| 亚洲国产精品成人综合色在线婷婷 | 亚洲三级免费电影| 性久久久久久久| 国产精品一区二区视频| 91蜜桃婷婷狠狠久久综合9色| 在线免费av一区| 日韩一区二区三区电影| 国产亲近乱来精品视频| 亚洲色图视频网| 三级欧美韩日大片在线看| 久草中文综合在线| av午夜一区麻豆| 欧美一级精品大片| 欧美国产精品一区二区| 日日骚欧美日韩| 国产成人午夜精品影院观看视频| 一本大道av伊人久久综合| 精品国产91乱码一区二区三区| 中文字幕精品一区二区精品绿巨人| 亚洲激情校园春色| 国产一区二区视频在线播放| 91原创在线视频| 欧美成人性福生活免费看| 国产精品三级在线观看| 日本91福利区| 91美女蜜桃在线| 亚洲精品一区二区精华| 亚洲乱码一区二区三区在线观看| 麻豆视频观看网址久久| 91精品福利视频| 久久综合狠狠综合久久激情| 亚洲大型综合色站| 99久久综合99久久综合网站| 欧美大黄免费观看| 亚洲第四色夜色| 99久久国产综合精品女不卡| 欧美白人最猛性xxxxx69交| 一区二区三区日韩欧美| 国产一区二区三区在线观看免费视频 | 欧美日韩视频专区在线播放| 国产欧美日韩综合精品一区二区| 亚洲综合色噜噜狠狠| 风间由美一区二区三区在线观看| 欧美日韩久久久一区| 亚洲视频一二三区| 国产伦精一区二区三区| 欧美精品在线视频| 亚洲人成在线播放网站岛国| 国产精品一二三区在线| 欧美电视剧免费观看| 亚洲国产欧美在线| 91麻豆蜜桃一区二区三区| 国产欧美一区二区三区网站| 琪琪一区二区三区| 欧美日本精品一区二区三区| 成人免费在线视频| 国产91丝袜在线观看| 精品国产一区二区精华| 日本伊人午夜精品| 欧美精品色综合| 亚洲国产日韩一级| 欧美日本国产视频| 天天影视网天天综合色在线播放| 色综合久久久久综合体| 一区二区在线观看视频在线观看| 99久久婷婷国产综合精品电影| 国产精品国产三级国产aⅴ原创 | 亚洲综合一区二区三区| 99麻豆久久久国产精品免费| 国产精品乱码妇女bbbb| 国产乱码精品一区二区三| 2021中文字幕一区亚洲| 美腿丝袜亚洲三区| 精品国产一区二区亚洲人成毛片| 九九九久久久精品| 国产欧美精品一区二区三区四区 | 国产精品理论片| 99久久国产综合色|国产精品| 国产精品三级久久久久三级| jvid福利写真一区二区三区| 国产精品第四页| 91在线无精精品入口| 日韩久久一区二区| 欧美色手机在线观看| 舔着乳尖日韩一区| www国产成人免费观看视频 深夜成人网| 久久成人麻豆午夜电影| 国产午夜精品一区二区三区视频| 国产电影一区二区三区| 亚洲欧美电影一区二区| 欧美视频日韩视频| 麻豆精品在线播放| 国产欧美一区二区精品性| fc2成人免费人成在线观看播放| 亚洲三级久久久| 日韩一级片网址| 不卡视频免费播放| 亚洲成人1区2区| 26uuu精品一区二区| 一本大道av伊人久久综合| 日本成人在线看| 日韩一区日韩二区| 日韩一区二区精品葵司在线| 成人动漫一区二区|