xilinx spartan-3a oddr

复制代码
 1 ----------------------------------------------------------------------------------
 2 -- Company: 
 3 -- Engineer: 
 4 -- 
 5 -- Create Date:    16:05:33 05/21/2012 
 6 -- Design Name: 
 7 -- Module Name:    oddr2_top - Behavioral 
 8 -- Project Name: 
 9 -- Target Devices: 
10 -- Tool versions: 
11 -- Description: 
12 --
13 -- Dependencies: 
14 --
15 -- Revision: 
16 -- Revision 0.01 - File Created
17 -- Additional Comments: 
18 --
19 ----------------------------------------------------------------------------------
20 library IEEE;
21 use IEEE.STD_LOGIC_1164.all;
22 
23 -- Uncomment the following library declaration if using
24 -- arithmetic functions with Signed or Unsigned values
25 --use IEEE.NUMERIC_STD.ALL;
26 
27 -- Uncomment the following library declaration if instantiating
28 -- any Xilinx primitives in this code.
29 library UNISIM;
30 use UNISIM.VComponents.all;
31 
32 entity oddr2_top is
33   port (
34     d0  : in  STD_LOGIC;
35     d1  : in  STD_LOGIC;
36     clk : in  STD_LOGIC;
37     q   : out  STD_LOGIC;
38     r   : in  STD_LOGIC;
39     s   : in  STD_LOGIC;
40     ce  : in  STD_LOGIC);
41 end oddr2_top;
42 
43 architecture Behavioral of oddr2_top is
44 
45 begin
46 
47   ODDR2_inst : ODDR2
48   generic map (
49    DDR_ALIGNMENT => "NONE",
50    INIT => '1',
51    SRTYPE => "SYNC")
52   port map (
53    Q => Q, 
54    C0 => CLK,
55    C1 => not(CLK),
56    CE => CE, 
57    D0 => D0, 
58    D1 => D1, 
59    R => R, 
60    S => S
61   );
62 
63   -- End of ODDR2_inst instantiation
64 
65 end Behavioral;
复制代码
posted @   IAmAProgrammer  阅读(423)  评论(0编辑  收藏  举报
(评论功能已被禁用)
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
点击右上角即可分享
微信分享提示