OpenCores
URL https://opencores.org/ocsvn/wishbone_bfm/wishbone_bfm/trunk

Subversion Repositories wishbone_bfm

[/] [wishbone_bfm/] [branches/] [avendor/] [rtl/] [wbtb_1m_1s.vhd] - Diff between revs 2 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 6
Line 100... Line 100...
        CYCLE_IS : OUT cycle_type
        CYCLE_IS : OUT cycle_type
                );
                );
        END COMPONENT;
        END COMPONENT;
 
 
 
 
 
        -- Component Declaration for wishbone slave
 
        COMPONENT wb_mem_32x16
 
        PORT(
 
        ACK_O   : out   std_logic;
 
        ADR_I   : in    std_logic_vector( 3 downto 0 );
 
        CLK_I   : in    std_logic;
 
        DAT_I   : in    std_logic_vector( 31 downto 0 );
 
        DAT_O   : out   std_logic_vector( 31 downto 0 );
 
        STB_I   : in    std_logic;
 
        WE_I    : in    std_logic
 
                );
 
        END COMPONENT;
 
 
        --Inputs
        --Inputs
        SIGNAL RST_I :  std_logic := '0';
        SIGNAL RST_I :  std_logic := '0';
        SIGNAL CLK_I :  std_logic := '0';
        SIGNAL CLK_I :  std_logic := '0';
        SIGNAL ACK_I :  std_logic := '0';
        SIGNAL ACK_I :  std_logic := '0';
        SIGNAL ERR_I :  std_logic := '0';
        SIGNAL ERR_I :  std_logic := '0';
Line 124... Line 137...
 
 
 
 
-- ---------------------------------------------------------------
-- ---------------------------------------------------------------
BEGIN
BEGIN
-- ---------------------------------------------------------------
-- ---------------------------------------------------------------
 
 -- module port  => signal name
        -- Instantiate the system controler
        -- Instantiate the system controler
        sys_con: syscon PORT MAP(
        sys_con: syscon PORT MAP(
                RST_sys => RST_sys,
                RST_sys => RST_sys,
                CLK_stop => CLK_stop,
                CLK_stop => CLK_stop,
                RST_O => RST_I,
                RST_O => RST_I,
Line 153... Line 166...
                LOCK_O => LOCK_O,
                LOCK_O => LOCK_O,
                SEL_O => SEL_O,
                SEL_O => SEL_O,
        CYCLE_IS => CYCLE_IS
        CYCLE_IS => CYCLE_IS
        );
        );
 
 
    ACK_I <= STB_O; -- temp wire strobe to ack
 
 
        -- Instantiate the wishbone slave
 
        wb_s1: wb_mem_32x16 PORT MAP(
 
        ACK_O => ACK_I,
 
        ADR_I => ADR_O( 3 downto 0 ),
 
        CLK_I => CLK_I,
 
        DAT_I => DAT_O,
 
        DAT_O => DAT_I,
 
        STB_I => STB_O,
 
        WE_I  => WE_O
 
        );
 
 
 
 
END;
END;
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.