sweep_sine.vhd

来自「频率扫描的VHDL完整代码」· VHDL 代码 · 共 53 行

VHD
53
字号
----------------------------------------------------------------------------------
-- Company: 
-- Engineer: 
-- 
-- Create Date:    16:47:51 11/28/2011 
-- Design Name: 
-- Module Name:    sweep_sine - Behavioral 
-- Project Name: 
-- Target Devices: 
-- Tool versions: 
-- Description: 
--
-- Dependencies: 
--
-- Revision: 
-- Revision 0.01 - File Created
-- Additional Comments: 
--
----------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;

-- Uncomment the following library declaration if using
-- arithmetic functions with Signed or Unsigned values
--use IEEE.NUMERIC_STD.ALL;

-- Uncomment the following library declaration if instantiating
-- any Xilinx primitives in this code.
--library UNISIM;
--use UNISIM.VComponents.all;

entity sweep_sine is
port(clk: in std_logic;
       reset: in std_logic;
		 clear: in std_logic;
		 sweep_step: in std_logic_vector(23 downto 0);
		 acc_S: out std_logic_vector(23 downto 0));
end sweep_sine;

architecture Behavioral of sweep_sine is

signal reset_tri: std_logic;

begin

reset_tri<=reset or clear;




end Behavioral;

⌨️ 快捷键说明

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