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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1200/] [rtl/] [verilog/] [or1200_dpram.v] - Diff between revs 481 and 639

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

Rev 481 Rev 639
Line 106... Line 106...
 
 
      get_gpr = mem[gpr_no];
      get_gpr = mem[gpr_no];
 
 
   endfunction // get_gpr
   endfunction // get_gpr
 
 
   task set_gpr;
   function [31:0] set_gpr;
      // verilator public
      // verilator public
      input [aw-1:0]             gpr_no;
      input [aw-1:0]             gpr_no;
      input [dw-1:0]             value;
      input [dw-1:0]             value;
 
      begin
      mem[gpr_no] = value;
      mem[gpr_no] = value;
 
         set_gpr = 0;
   endtask // get_gpr
      end
 
   endfunction // get_gpr
 
 
   //
   //
   // Data output drivers
   // Data output drivers
   //
   //
   //assign do_a = (oe_a) ? mem[addr_a_reg] : {dw{1'b0}};
   //assign do_a = (oe_a) ? mem[addr_a_reg] : {dw{1'b0}};

powered by: WebSVN 2.1.0

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