Skip to content

Commit 39f09cb

Browse files
dplassgitcopybara-github
authored andcommitted
[Proc-scoped channels] Always build and run delay_sv with proc-scoped channels.
PiperOrigin-RevId: 840383012
1 parent 6174107 commit 39f09cb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

xls/examples/BUILD

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ xls_dslx_ir(
867867
# It needs to know what configuration to use for the fifo.
868868
"default_fifo_config": "depth: 0, bypass: true, " +
869869
"register_push_outputs: false, register_pop_outputs: false",
870+
"lower_to_proc_scoped_channels": "true",
870871
},
871872
ir_file = "delay.ir",
872873
library = ":delay_dslx",
@@ -891,9 +892,9 @@ xls_ir_verilog(
891892
# See https://google.github.io/xls/codegen_options/#rams-experimental
892893
# for more information about this option.
893894
"ram_configurations": "ram:1RW:{req}:{resp}:{wr_comp}".format(
894-
req = "delay__ram_req",
895-
resp = "delay__ram_resp",
896-
wr_comp = "delay__ram_wr_comp",
895+
req = "ram_req",
896+
resp = "ram_resp",
897+
wr_comp = "ram_wr_comp",
897898
),
898899
"pipeline_stages": "2",
899900
"reset": "rst",
@@ -954,6 +955,9 @@ xls_dslx_test(
954955
xls_dslx_ir(
955956
name = "delay_loopback_channel_ir",
956957
dslx_top = "Delay",
958+
ir_conv_args = {
959+
"lower_to_proc_scoped_channels": "true",
960+
},
957961
ir_file = "delay_loopback_channel.ir",
958962
library = ":delay_loopback_channel_dslx",
959963
)

0 commit comments

Comments
 (0)