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

📄 rom.vhd.bak

📁 基于ROM的正弦波发生器的设计:1.正弦发生器由波形数据存储模块(ROM)
💻 BAK
字号:
LIBRARY ieee;
USE ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;

entity sinx is 
port(   
		q		    : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
		clock		: IN STD_LOGIC );
end sinx;
architecture rtl of sinx is
component count
   port(address		: OUT STD_LOGIC_VECTOR (5 DOWNTO 0);
        clock		: IN STD_LOGIC ); 
   end component;
component sin
   port(address		: IN STD_LOGIC_VECTOR (5 DOWNTO 0);
		clock		: IN STD_LOGIC ;
		q		: OUT STD_LOGIC_VECTOR (7 DOWNTO 0));
   end component;
signal  address	: STD_LOGIC_VECTOR (5 DOWNTO 0);
begin
   u0: count port map( clock=>clock, address=>address);
   u1: sin port map( clock=>clock,address=>address, q=>q);
end rtl;

⌨️ 快捷键说明

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