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

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

?? power_ctrl.vhd

?? MP3 for XPLA3 XILINX.CPLD,必須在XILINX的FPGA芯片下使用,因為IP核是xilinx
?? VHD
字號:
-- **************************************************************
-- File:  		power_ctrl.vhd
--
-- Purpose: 	This file implements the Power Control Logic state
--			machine which controls the reset to the rest of the
--			circuit and turns the power off. The reset to the 
--			DS2436 Control circuit is negated first after PUP is asserted
--			so that the battery voltage can be read. The process of 
--			reading the	battery voltage takes several milli-seconds, 
--			during which the rest of the CPLD logic is held in reset. 
--			This insures that the majority of the CPLD logic is granted
--			a good, valid reset.
--
-- Created:		11/1/99	ALS
--
-- Revised:		11-14-99	ALS
-- Revised:		11-26-99	ALS
-- Revised:		2-29-00	ALS
-- **************************************************************

library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;

entity power_ctrl is
  
  port(
	-- MAS3507D Interface Signals
	pup		: in		std_logic;	-- indicates that the power is above a minimum level
	wsen		: out		std_logic;	-- enables MAS3507D DC/DC convertor

	-- Main Control Logic Interface Signals
	main_rst	: out		std_logic;	-- reset for all of the other logic
	
	-- User Interface Logic Signals
	on_off	: in		std_logic;	-- indicates that the user has hit the OFF button


	-- clock	
      clock		: in		std_logic	-- 2 MHz system clock
);

end power_ctrl;

library IEEE;
use IEEE.std_logic_1164.all;

architecture behave of power_ctrl is

-- ******************** CONSTANT DECLARATIONS ***********************
-- Reset Value
constant RESET_ACTIVE	: 	std_logic := '1';

-- ********************* SIGNAL DECLARATIONS ************************

type state_type is (WAIT_PUP, WAIT_PUP_1, WAIT_PUP_2, NEGATE_RST, ASSERT_RST, PWR_OFF);

signal state, next_state : state_type;


begin


-- ************************  Power Control Logic State Machine Processes ************************
-- This process contains the combinatorial portion of the state machine
-- This state machine monitors the PUP line and the battery voltage

power_ctrl_comb: process (state, pup, on_off)
begin

	-- state machine defaults
	main_rst <= RESET_ACTIVE;
	wsen <= '1';

	-- since no reset for this circuit, set next_state to WAIT_PUP
	-- state logic will now have to set next_state to state
	next_state <= WAIT_PUP;

		case state is 
			--******************** WAIT_PUP State **************
			when WAIT_PUP =>
				-- leave this state when PUP is asserted
				if pup = '1' then
					next_state <= WAIT_PUP_1;
				end if;
				
			--******************** WAIT_PUP_1  *******************
			when WAIT_PUP_1 =>
				-- this state is simply a wait state
				-- that keeps the reset signal for the rest
				-- of the CPLD logic asserted after PUP as has
				-- asserted
				
				-- check PUP 
				if pup = '0' then
					-- PUP not stable, go back to first state
					next_state <= WAIT_PUP;
				else
					next_state <= WAIT_PUP_2;
				end if;

			--******************** WAIT_PUP_2  *******************
			when WAIT_PUP_2 =>
				-- this state is simply a wait state
				-- that keeps the reset signal for the rest
				-- of the CPLD logic asserted after PUP as has
				-- asserted
				
				-- check PUP and if user has turned player off
				if pup = '0' then
					-- PUP not stable, go back to first state
					next_state <= WAIT_PUP;
				else
					-- PUP stable for two clocks, negate reset
					next_state <= NEGATE_RST;
				end if;

			--******************** NEGATE_RST State ******************
			when NEGATE_RST =>
				
				-- negate the reset to the rest of the logic
				main_rst <= not(RESET_ACTIVE);

				-- Check PUP and if user has turned player off
				if pup = '0' or on_off = '0' then
					next_state <= ASSERT_RST;
				else
					next_state <= NEGATE_RST;
				end if;	


			--******************** ASSERT_RST State ******************
			when ASSERT_RST =>
				-- the main reset is asserted in this state
				next_state <= PWR_OFF;


			--********************* PWR_OFF ***************************
			when PWR_OFF =>
				
				-- negate the enable for the MAS3507D DC/DC convertor
				wsen <= '0';		

				-- stay in this state as power drops
				next_state <= PWR_OFF;
			
			--********************* DEFAULT **************************
			when others =>
				next_state <= WAIT_PUP;	
	
		end case;
end process;

power_ctrl_regs: process (clock)
begin
	if clock'event and clock='1' then
		state <= next_state;
	end if;
end process;

end behave;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区视频| 国产亚洲精品aa午夜观看| 精品少妇一区二区三区视频免付费| 欧美mv日韩mv| 亚洲一线二线三线久久久| 久久国产精品72免费观看| 99精品国产99久久久久久白柏| 在线播放日韩导航| 亚洲视频你懂的| 国产成人av电影在线观看| 欧美日韩亚洲国产综合| 亚洲免费av网站| 国产jizzjizz一区二区| 欧美一级日韩免费不卡| 亚洲色图第一区| 成人av在线资源网站| 日韩一区二区在线看片| 午夜伊人狠狠久久| 日本道色综合久久| 亚洲欧洲成人av每日更新| 国产精品综合二区| 91精品国产91热久久久做人人 | 成人欧美一区二区三区视频网页| 午夜欧美电影在线观看| 91亚洲国产成人精品一区二区三| 国产视频在线观看一区二区三区| 麻豆国产精品一区二区三区| 在线播放一区二区三区| 午夜精品视频在线观看| 精品视频123区在线观看| 亚洲精品高清视频在线观看| 成人动漫av在线| 综合分类小说区另类春色亚洲小说欧美| 豆国产96在线|亚洲| 中文欧美字幕免费| 成人av电影在线播放| 日韩一区欧美一区| 91美女视频网站| 亚洲黄色片在线观看| 欧美性色黄大片| 亚洲h精品动漫在线观看| 91精品国产黑色紧身裤美女| 日本欧美在线看| 久久亚洲综合色一区二区三区| 国产一区二区电影| 国产精品视频线看| 一本色道久久综合亚洲精品按摩| 亚洲午夜免费福利视频| 91精品欧美一区二区三区综合在 | 国产精品久久久久影院老司| 成av人片一区二区| 亚洲色图欧洲色图| 91精品国产色综合久久| 激情五月播播久久久精品| 久久看人人爽人人| 色婷婷久久久久swag精品| 亚洲一二三区视频在线观看| 日韩免费性生活视频播放| 欧美色精品在线视频| 六月丁香综合在线视频| 久久精品夜色噜噜亚洲a∨| 不卡欧美aaaaa| 亚洲.国产.中文慕字在线| 久久一留热品黄| 在线亚洲欧美专区二区| 日本欧美加勒比视频| 中文字幕av一区二区三区| 欧美性受xxxx黑人xyx| 狠狠久久亚洲欧美| 亚洲卡通动漫在线| 精品福利一区二区三区| 成人免费va视频| 日本vs亚洲vs韩国一区三区二区| 久久精品人人做人人综合| 欧美性极品少妇| 国产馆精品极品| 天天综合色天天综合| 国产精品免费视频网站| 6080亚洲精品一区二区| 99久久综合精品| 久久精品国产一区二区| 一区二区三区在线视频免费观看| 精品国产成人系列| 在线免费观看日本欧美| 国产福利精品导航| 美女任你摸久久| 亚洲一区在线观看免费观看电影高清| xf在线a精品一区二区视频网站| 欧美性三三影院| 不卡视频在线看| 国产·精品毛片| 免费看日韩a级影片| 午夜精品福利久久久| 亚洲情趣在线观看| 国产精品乱码一区二三区小蝌蚪| 日韩欧美第一区| 欧美一区二区三区免费大片 | k8久久久一区二区三区| 九九精品一区二区| 午夜精品福利久久久| 亚洲电影一级片| 亚洲香蕉伊在人在线观| 综合网在线视频| 国产精品国产自产拍在线| 青青青伊人色综合久久| 亚洲美女淫视频| 成人欧美一区二区三区1314| 欧美国产在线观看| 国产亚洲欧美激情| 国产欧美日韩在线视频| 久久久久久久久97黄色工厂| 欧美成人一区二区三区在线观看| 欧美一级二级三级蜜桃| 日韩欧美国产精品| 日韩你懂的在线播放| 欧美精品一区二区久久婷婷| 日韩精品一区二区三区蜜臀| 日韩欧美中文一区二区| 日韩欧美国产一二三区| 欧美精品一区二区三区蜜臀| 久久综合狠狠综合久久激情 | 亚洲午夜精品网| 亚洲国产aⅴ成人精品无吗| 亚洲国产美国国产综合一区二区| 午夜精品久久久久久久99水蜜桃| 午夜精品久久久久久久久久| 免费观看久久久4p| 国产精品亚洲第一区在线暖暖韩国| 久久国产乱子精品免费女| 国产高清精品网站| 92国产精品观看| 欧美猛男gaygay网站| 欧美一区二区视频在线观看2022 | 日韩一区二区三区在线| 欧美成人艳星乳罩| 欧美高清一级片在线观看| 国产精品成人一区二区三区夜夜夜| 亚洲欧美日韩成人高清在线一区| 亚洲乱码日产精品bd| 日韩高清电影一区| 久久99最新地址| 99精品在线免费| 欧美日韩一区二区在线观看视频| 337p亚洲精品色噜噜噜| 久久久精品欧美丰满| 亚洲三级在线看| 热久久免费视频| 成人av在线播放网址| 欧美日韩一区二区三区四区五区| 欧美不卡在线视频| 亚洲私人影院在线观看| 青青草一区二区三区| 成人av资源网站| 日韩欧美国产精品一区| 日韩理论片在线| 另类综合日韩欧美亚洲| 91网站在线播放| 欧美精品一区二区三区一线天视频| 日韩毛片高清在线播放| 蜜桃精品视频在线| 99精品国产热久久91蜜凸| 欧美电影免费观看高清完整版 | 日韩av午夜在线观看| 国产suv精品一区二区三区| 欧美日韩在线播放一区| 日本一区免费视频| 日本中文一区二区三区| 91美女视频网站| 久久久91精品国产一区二区精品 | 国产做a爰片久久毛片| 日本精品一区二区三区高清| 久久精子c满五个校花| 午夜精品久久久久久久| 色综合一个色综合| 欧美激情资源网| 九一九一国产精品| 欧美色国产精品| 亚洲免费资源在线播放| 国产精品综合久久| 精品捆绑美女sm三区| 性感美女久久精品| 色国产综合视频| 国产精品成人免费| 福利一区二区在线观看| 精品久久国产老人久久综合| 偷拍一区二区三区四区| 不卡的av网站| 国产亲近乱来精品视频| 久久99久久久欧美国产| 日韩欧美亚洲国产另类| 午夜欧美视频在线观看 | 高清国产一区二区三区| 欧美一区二区免费视频| 亚洲成人动漫在线免费观看| 91麻豆国产香蕉久久精品| 国产精品美女www爽爽爽| 国产成人精品一区二区三区四区| 久久综合狠狠综合久久激情| 国产真实乱子伦精品视频| 精品久久国产字幕高潮|