Update dpram16k.v

This commit is contained in:
Yunus Emre ERYILMAZ 2022-10-27 08:28:58 +03:00 committed by GitHub
parent 74568b13a2
commit 0fe3bd36b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -9,8 +9,8 @@ module dpram_512x32 (
input clk,
input wen,
input ren,
input[0:9] waddr,
input[0:9] raddr,
input[0:8] waddr,
input[0:8] raddr,
input[0:31] d_in,
output[0:31] d_out );
@ -29,14 +29,14 @@ endmodule
module dpram_512x32_core (
input wclk,
input wen,
input[0:9] waddr,
input[0:8] waddr,
input[0:31] data_in,
input rclk,
input ren,
input[0:9] raddr,
input[0:8] raddr,
output[0:31] d_out );
reg[0:31] ram[0:1023];
reg[0:31] ram[0:511];
reg[0:31] internal;
assign d_out = internal;