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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sim/] [simple/] [neorv32_imem.simple.vhd] - Diff between revs 70 and 72

Show entire file | Details | Blame | View Log

Rev 70 Rev 72
Line 76... Line 76...
  imem_file_access: process(clk_i)
  imem_file_access: process(clk_i)
    variable addr_v : integer range 0 to (IMEM_SIZE/4)-1;
    variable addr_v : integer range 0 to (IMEM_SIZE/4)-1;
  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;
      ack_o  <= acc_en and (rden_i or wren_i);
      ack_o  <= acc_en and rden_i;
 
      err_o  <= acc_en and wren_i;
      addr_v := to_integer(unsigned(addr));
      addr_v := to_integer(unsigned(addr));
      --
      --
      rdata <= (others => '0');
      rdata <= (others => '0');
      if (addr_v <= application_init_image'length) then
      if (addr_v <= application_init_image'length) then
        rdata <= application_init_image(addr_v);
        rdata <= application_init_image(addr_v);

powered by: WebSVN 2.1.0

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