URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 360 |
Rev 462 |
Line 106... |
Line 106... |
|
|
get_gpr = mem[gpr_no];
|
get_gpr = mem[gpr_no];
|
|
|
endfunction // get_gpr
|
endfunction // get_gpr
|
|
|
|
function [31:0] set_gpr;
|
|
// verilator public
|
|
input [aw-1:0] gpr_no;
|
|
input [dw-1:0] value;
|
|
|
|
mem[gpr_no] = value;
|
|
|
|
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}};
|
assign do_a = mem[addr_a_reg];
|
assign do_a = mem[addr_a_reg];
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.