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

Subversion Repositories openrisc

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

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

Rev 258 Rev 481
Line 106... Line 106...
 
 
      get_gpr = mem[gpr_no];
      get_gpr = mem[gpr_no];
 
 
   endfunction // get_gpr
   endfunction // get_gpr
 
 
 
   task set_gpr;
 
      // verilator public
 
      input [aw-1:0]             gpr_no;
 
      input [dw-1:0]             value;
 
 
 
      mem[gpr_no] = value;
 
 
 
   endtask // 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}};
   assign do_a = mem[addr_a_reg];
   assign do_a = mem[addr_a_reg];

powered by: WebSVN 2.1.0

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