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

📄 stage_gen.vhd

📁 能进行32位浮点数fft运算的VHDL描述。
💻 VHD
字号:
-- STAGE NUMBER GENERATOR.library ieee ;use ieee.std_logic_1164.all ;use ieee.std_logic_arith.all ;use work.butter_lib.all ;use ieee.std_logic_unsigned.all ;entity stage_gen isport (      add_staged , add_clear : in std_logic ;      st_stage : out std_logic_vector(1 downto 0) ) ;  end stage_gen ;architecture rtl of stage_gen isbeginprocess(add_staged , add_clear)variable s_count : std_logic_vector(1 downto 0) ;beginif (add_clear = '1') thenst_stage <= "00" ;s_count := "00" ;elsif(add_staged'event and add_staged= '1' ) thenst_stage <= s_count + 1 ;s_count := s_count + 1 ;end if ;end process ;end rtl ;  

⌨️ 快捷键说明

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