Skip to content

Commit 9dfd0b4

Browse files
ericastorcopybara-github
authored andcommitted
[XLS] Enable internal FIFO materialization for several examples
We currently require an external FIFO definition by default, and these targets only passed due to not requiring a definition for depth-0 FIFOs before commit 4b262b0 We're planning to land a more batteries-included solution soon. PiperOrigin-RevId: 711868494
1 parent 5b55c5d commit 9dfd0b4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

xls/examples/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ xls_ir_verilog(
834834
"streaming_channel_ready_suffix": "_ready",
835835
"streaming_channel_valid_suffix": "_valid",
836836
"use_system_verilog": "true",
837+
"materialize_internal_fifos": "true",
837838
},
838839
verilog_file = "delay.sv",
839840
)

xls/modules/zstd/memory/BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ mem_reader_codegen_args = common_codegen_args | {
386386
"flop_inputs_kind": "skid",
387387
"flop_outputs_kind": "skid",
388388
"clock_period_ps": MEM_READER_CLOCK_PERIOD_PS,
389+
"materialize_internal_fifos": "true",
389390
}
390391

391392
xls_dslx_verilog(
@@ -440,6 +441,7 @@ mem_reader_adv_codegen_args = common_codegen_args | {
440441
"flop_inputs_kind": "skid",
441442
"flop_outputs_kind": "skid",
442443
"clock_period_ps": MEM_READER_CLOCK_PERIOD_PS,
444+
"materialize_internal_fifos": "true",
443445
}
444446

445447
xls_dslx_verilog(
@@ -668,6 +670,7 @@ mem_writer_codegen_args = common_codegen_args | {
668670
"flop_inputs_kind": "skid",
669671
"flop_outputs_kind": "skid",
670672
"worst_case_throughput": "1",
673+
"materialize_internal_fifos": "true",
671674
}
672675

673676
xls_dslx_verilog(

0 commit comments

Comments
 (0)