mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
Removing asic config dependancy
- No plans for dual ported memory use for now, if this changes and there needs to be differentiation, then this should probably be a parameter rather than define. (since you might want to choose between regs based and macro based depending on size of memory).
This commit is contained in:
parent
83c3caf1c4
commit
1b512cdbde
@ -30,12 +30,6 @@ module oh_memory_dp(/*AUTOARG*/
|
||||
input [AW-1:0] rd_addr;//read address
|
||||
output[DW-1:0] rd_dout;//read output data
|
||||
|
||||
`ifdef CFG_ASIC
|
||||
|
||||
initial
|
||||
$display("Need to instantiate process specific macro here");
|
||||
|
||||
`else
|
||||
reg [DW-1:0] ram [MD-1:0];
|
||||
reg [DW-1:0] rd_dout;
|
||||
integer i;
|
||||
@ -51,9 +45,6 @@ module oh_memory_dp(/*AUTOARG*/
|
||||
if (wr_en & wr_wem[i])
|
||||
ram[wr_addr[AW-1:0]][i] <= wr_din[i];
|
||||
|
||||
`endif // !`ifdef CFG_ASIC
|
||||
|
||||
|
||||
endmodule // memory_dp
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user