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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [rtl/] [core/] [neorv32_busswitch.vhd] - Diff between revs 62 and 66

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

Rev 62 Rev 66
Line 154... Line 154...
  cb_req_buffered <= (cb_rd_req_buf or cb_wr_req_buf) when (PORT_CB_READ_ONLY = false) else cb_rd_req_buf;
  cb_req_buffered <= (cb_rd_req_buf or cb_wr_req_buf) when (PORT_CB_READ_ONLY = false) else cb_rd_req_buf;
 
 
 
 
  -- Access Arbiter Sync --------------------------------------------------------------------
  -- Access Arbiter Sync --------------------------------------------------------------------
  -- -------------------------------------------------------------------------------------------
  -- -------------------------------------------------------------------------------------------
  -- for registers that require a specific reset state --
 
  arbiter_sync: process(rstn_i, clk_i)
  arbiter_sync: process(rstn_i, clk_i)
  begin
  begin
    if (rstn_i = '0') then
    if (rstn_i = '0') then
      arbiter.state <= IDLE;
      arbiter.state <= IDLE;
    elsif rising_edge(clk_i) then
    elsif rising_edge(clk_i) then
Line 175... Line 174...
    -- arbiter defaults --
    -- arbiter defaults --
    arbiter.state_nxt <= arbiter.state;
    arbiter.state_nxt <= arbiter.state;
    arbiter.bus_sel   <= '0';
    arbiter.bus_sel   <= '0';
    arbiter.we_trig   <= '0';
    arbiter.we_trig   <= '0';
    arbiter.re_trig   <= '0';
    arbiter.re_trig   <= '0';
    --
 
    p_bus_src_o <= '0';
 
 
 
    -- state machine --
    -- state machine --
    case arbiter.state is
    case arbiter.state is
 
 
      when IDLE => -- Controller a has full bus access
      when IDLE => -- Controller a has full bus access

powered by: WebSVN 2.1.0

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