Skip to content

Commit 60484a9

Browse files
laudominikrw1nkler
authored andcommitted
modules: zstd: axi_ram_writer: move proc-local const outside
1 parent 96f2855 commit 60484a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xls/modules/zstd/memory/axi_ram_writer.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ proc AxiRamWriterResponder<
212212
}
213213
}
214214

215+
const SYNC_FIFO_DEPTH=u32:1;
215216
pub proc AxiRamWriter<
216217
ADDR_W: u32, DATA_W: u32,ID_W: u32, RAM_SIZE: u32,
217218
RAM_ADDR_W: u32 = {std::clog2(RAM_SIZE)},
@@ -223,7 +224,6 @@ pub proc AxiRamWriter<
223224
type WriteReq = ram::WriteReq<RAM_ADDR_W, DATA_W, NUM_PARTITIONS>;
224225
type WriteResp = ram::WriteResp<DATA_W>;
225226
type Sync = AxiRamWriterSync<ID_W>;
226-
const SYNC_FIFO_DEPTH=u32:1;
227227

228228
init { }
229229

0 commit comments

Comments
 (0)