⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wireless_usb_pack.vhd

📁 无线耳机通讯用CPLD的VHDL源码
💻 VHD
字号:
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;

package Wireless_USB_pack is

	constant MIN_PULSE_COUNT : integer := 6;			   -- the number of successive logic '1' samples of the serial input bit need to synchronize interval counter 
	constant MAX_PULSE_INTERVAL_COUNT: integer := 16;	   -- the max nunber successive  logic '1' samples of the serial input bit allowed for a valid bit  
	constant PULSE_CLOCK_COUNT : integer := 14;			   -- the number of clocks the serial out bit needs to be at logic '1'
	constant PREAMBLE_CORRELATION_LENGTH : integer := 9;  -- the length of the data correlation vector 
	constant START_BIT : std_logic := '1';				   -- the number S.B for each byte
	constant BIT_INTERVAL : integer := 24;				   -- number of clocks to generate 1 usec timer
end ;
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -