From 5f8cc8a2c4d1ee061111702a0e5e7e55193895f0 Mon Sep 17 00:00:00 2001 From: Dylan Barrie Date: Thu, 7 Dec 2023 00:43:27 -0800 Subject: [PATCH] Allow pcie_tlp_demux_bar to demux on BAR ID 6 (Option ROM) --- rtl/pcie_tlp_demux_bar.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/pcie_tlp_demux_bar.v b/rtl/pcie_tlp_demux_bar.v index 981d721..45bb2f1 100644 --- a/rtl/pcie_tlp_demux_bar.v +++ b/rtl/pcie_tlp_demux_bar.v @@ -127,7 +127,7 @@ integer i, j; // check configuration initial begin for (i = 0; i < PORTS; i = i + 1) begin - if (BAR_IDS_INT[i*3 +: 3] > 5) begin + if (BAR_IDS_INT[i*3 +: 3] > 6) begin $error("Error: BAR out of range (instance %m)"); $finish; end