Skip to content

Fixing SPRAM compilation error #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions lambdalib/ramlib/rtl/la_dpram.v
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ module la_dpram #(
parameter CTRLW = 128, // width of asic ctrl interface
parameter TESTW = 128 // width of asic test interface
) ( // Write port
input wr_clk, // write clock
input wr_ce, // write chip-enable
input wr_we, // write enable
input [DW-1:0] wr_wmask, // write mask
input [AW-1:0] wr_addr, // write address
input [DW-1:0] wr_din, //write data in
input wr_clk, // write clock
input wr_ce, // write chip-enable
input wr_we, // write enable
input [DW-1:0] wr_wmask, // write mask
input [AW-1:0] wr_addr, // write address
input [DW-1:0] wr_din, //write data in
// Read port
input rd_clk, // read clock
input rd_ce, // read chip-enable
input [AW-1:0] rd_addr, // read address
output reg [DW-1:0] rd_dout, //read data out
input rd_clk, // read clock
input rd_ce, // read chip-enable
input [AW-1:0] rd_addr, // read address
output [DW-1:0] rd_dout, //read data out
// Power signal
input vss, // ground signal
input vdd, // memory core array power
input vddio, // periphery/io power
input vss, // ground signal
input vdd, // memory core array power
input vddio, // periphery/io power
// Generic interfaces
input [CTRLW-1:0] ctrl, // pass through ASIC control interface
input [TESTW-1:0] test // pass through ASIC test interface
input [CTRLW-1:0] ctrl, // pass through ASIC control interface
input [TESTW-1:0] test // pass through ASIC test interface
);

la_dpram_impl #(
Expand Down
22 changes: 11 additions & 11 deletions lambdalib/ramlib/rtl/la_spram.v
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ module la_spram #(
parameter CTRLW = 1, // Width of asic ctrl interface
parameter TESTW = 1 // Width of asic test interface
) ( // Memory interface
input clk, // write clock
input ce, // chip enable
input we, // write enable
input [DW-1:0] wmask, //per bit write mask
input [AW-1:0] addr, //write address
input [DW-1:0] din, //write data
output reg [DW-1:0] dout, //read output data
input clk, // write clock
input ce, // chip enable
input we, // write enable
input [DW-1:0] wmask, //per bit write mask
input [AW-1:0] addr, //write address
input [DW-1:0] din, //write data
output [DW-1:0] dout, //read output data
// Power signals
input vss, // ground signal
input vdd, // memory core array power
input vddio, // periphery/io power
input vss, // ground signal
input vdd, // memory core array power
input vddio, // periphery/io power
// Generic interfaces
input [CTRLW-1:0] ctrl, // pass through ASIC control interface
input [TESTW-1:0] test // pass through ASIC test interface
input [TESTW-1:0] test // pass through ASIC test interface
);

la_spram_impl #(
Expand Down
Loading