modified wally shared

This commit is contained in:
Katherine Parry 2022-07-07 21:59:43 +00:00
parent 0b40f38f02
commit 08769e35ae
2 changed files with 3 additions and 1 deletions

View File

@ -101,7 +101,7 @@
`define NORMSHIFTSZ ((`DIVLEN+`NF+3) > (3*`NF+8) ? (`DIVLEN+`NF+3) : (3*`NF+9))
`define CORRSHIFTSZ ((`DIVLEN+`NF+3) > (3*`NF+8) ? (`DIVLEN+`NF+3) : (3*`NF+6))
`define USE_SRAM 1
`define USE_SRAM 0
// Disable spurious Verilator warnings

View File

@ -33,6 +33,8 @@
// WIDTH is number of bits in one "word" of the memory, DEPTH is number of such words
`include "wally-config.vh"
module sram1p1rw #(parameter DEPTH=128, WIDTH=256) (
input logic clk,
input logic [$clog2(DEPTH)-1:0] Adr,