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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [rtl/] [core/] [mem/] [neorv32_imem.legacy.vhd] - Diff between revs 70 and 72

Show entire file | Details | Blame | View Log

Rev 70 Rev 72
Line 4... Line 4...
-- # This memory optionally includes the in-place executable image of the application. See the     #
-- # This memory optionally includes the in-place executable image of the application. See the     #
-- # processor's documentary to get more information.                                              #
-- # processor's documentary to get more information.                                              #
-- # ********************************************************************************************* #
-- # ********************************************************************************************* #
-- # BSD 3-Clause License                                                                          #
-- # BSD 3-Clause License                                                                          #
-- #                                                                                               #
-- #                                                                                               #
-- # Copyright (c) 2021, Stephan Nolting. All rights reserved.                                     #
-- # Copyright (c) 2022, Stephan Nolting. All rights reserved.                                     #
-- #                                                                                               #
-- #                                                                                               #
-- # Redistribution and use in source and binary forms, with or without modification, are          #
-- # Redistribution and use in source and binary forms, with or without modification, are          #
-- # permitted provided that the following conditions are met:                                     #
-- # permitted provided that the following conditions are met:                                     #
-- #                                                                                               #
-- #                                                                                               #
-- # 1. Redistributions of source code must retain the above copyright notice, this list of        #
-- # 1. Redistributions of source code must retain the above copyright notice, this list of        #
Line 161... Line 161...
  begin
  begin
    if rising_edge(clk_i) then
    if rising_edge(clk_i) then
      rden <= acc_en and rden_i;
      rden <= acc_en and rden_i;
      if (IMEM_AS_IROM = true) then
      if (IMEM_AS_IROM = true) then
        ack_o <= acc_en and rden_i;
        ack_o <= acc_en and rden_i;
 
        err_o <= acc_en and wren_i;
      else
      else
        ack_o <= acc_en and (rden_i or wren_i);
        ack_o <= acc_en and (rden_i or wren_i);
 
        err_o <= '0';
      end if;
      end if;
    end if;
    end if;
  end process bus_feedback;
  end process bus_feedback;
 
 
  -- output gate --
  -- output gate --

powered by: WebSVN 2.1.0

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