Update pulp_riscv_dbg to pulp-platform/riscv-dbg@811b2d7
Update code from upstream repository https://github.com/pulp-
platform/riscv-dbg to revision
811b2d707795a5044d63a68f747b2f9cd29d3a88
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0001-lint-cleanup-Fix-lint-warning-in-debug_rom-fix-inden.patch b/hw/vendor/patches/pulp_riscv_dbg/0001-lint-cleanup-Fix-lint-warning-in-debug_rom-fix-inden.patch
index 86aefc2..a0b6807 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0001-lint-cleanup-Fix-lint-warning-in-debug_rom-fix-inden.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0001-lint-cleanup-Fix-lint-warning-in-debug_rom-fix-inden.patch
@@ -164,5 +164,5 @@
# remove the trailing comma
rom_str = rom_str[:-2]
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0002-lint-cleanup-Change-indentation-from-4-to-2-spaces-p.patch b/hw/vendor/patches/pulp_riscv_dbg/0002-lint-cleanup-Change-indentation-from-4-to-2-spaces-p.patch
index d139b80..ba482d6 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0002-lint-cleanup-Change-indentation-from-4-to-2-spaces-p.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0002-lint-cleanup-Change-indentation-from-4-to-2-spaces-p.patch
@@ -4827,5 +4827,5 @@
endmodule
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0003-lint-cleanup-Name-blocks-align-blocking-structure.patch b/hw/vendor/patches/pulp_riscv_dbg/0003-lint-cleanup-Name-blocks-align-blocking-structure.patch
index 5ef8adf..50ddac7 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0003-lint-cleanup-Name-blocks-align-blocking-structure.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0003-lint-cleanup-Name-blocks-align-blocking-structure.patch
@@ -311,5 +311,5 @@
-endmodule
+endmodule : dmi_jtag_tap
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0004-lint-cleanup-Make-params-unsingend-correct-defaults-.patch b/hw/vendor/patches/pulp_riscv_dbg/0004-lint-cleanup-Make-params-unsingend-correct-defaults-.patch
index 31eda87..8ca539b 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0004-lint-cleanup-Make-params-unsingend-correct-defaults-.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0004-lint-cleanup-Make-params-unsingend-correct-defaults-.patch
@@ -267,5 +267,5 @@
parameter logic [31:0] IdcodeValue = 32'h00000001
// xxxx version
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0005-lint-cleanup-Simplify-some-statements.patch b/hw/vendor/patches/pulp_riscv_dbg/0005-lint-cleanup-Simplify-some-statements.patch
index 3a20be6..fdb3df1 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0005-lint-cleanup-Simplify-some-statements.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0005-lint-cleanup-Simplify-some-statements.patch
@@ -205,5 +205,5 @@
.haltreq_i ( haltreq ),
.resumereq_i ( resumereq ),
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0006-lint-cleanup-Fix-several-lint-errors-warnings.patch b/hw/vendor/patches/pulp_riscv_dbg/0006-lint-cleanup-Fix-several-lint-errors-warnings.patch
index da9ba3e..3067386 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0006-lint-cleanup-Fix-several-lint-errors-warnings.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0006-lint-cleanup-Fix-several-lint-errors-warnings.patch
@@ -732,5 +732,5 @@
end
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0007-lint-cleanup-Break-long-lines-and-make-literal-lengt.patch b/hw/vendor/patches/pulp_riscv_dbg/0007-lint-cleanup-Break-long-lines-and-make-literal-lengt.patch
index 75abca7..26662df 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0007-lint-cleanup-Break-long-lines-and-make-literal-lengt.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0007-lint-cleanup-Break-long-lines-and-make-literal-lengt.patch
@@ -203,5 +203,5 @@
end
end
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0008-ling-cleanup-Fix-several-verilator-lint-warnings-due.patch b/hw/vendor/patches/pulp_riscv_dbg/0008-ling-cleanup-Fix-several-verilator-lint-warnings-due.patch
index 894554b..845f23b 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0008-ling-cleanup-Fix-several-verilator-lint-warnings-due.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0008-ling-cleanup-Fix-several-verilator-lint-warnings-due.patch
@@ -329,5 +329,5 @@
end
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/patches/pulp_riscv_dbg/0009-Use-lowrisc-instead-of-PULP-primitives.patch b/hw/vendor/patches/pulp_riscv_dbg/0009-Use-lowrisc-instead-of-PULP-primitives.patch
index 69179e5..af8fd66 100644
--- a/hw/vendor/patches/pulp_riscv_dbg/0009-Use-lowrisc-instead-of-PULP-primitives.patch
+++ b/hw/vendor/patches/pulp_riscv_dbg/0009-Use-lowrisc-instead-of-PULP-primitives.patch
@@ -1,16 +1,16 @@
-From 0ab62b475e0ab6b8cc0507131c687b0001d50404 Mon Sep 17 00:00:00 2001
+From 6a037bd7e07ba9e1aa0445ab53b845ee74ceecc2 Mon Sep 17 00:00:00 2001
From: Philipp Wagner <phw@lowrisc.org>
Date: Fri, 22 Feb 2019 14:48:46 +0000
Subject: [PATCH 9/9] Use lowrisc instead of PULP primitives
---
- src/dm_csrs.sv | 41 ++++++++++++++-------------------
+ src/dm_csrs.sv | 42 +++++++++++++++-------------------
src/dmi_cdc.sv | 56 +++++++++++++++++++++++++++------------------
src/dmi_jtag_tap.sv | 20 +++++++---------
- 3 files changed, 59 insertions(+), 58 deletions(-)
+ 3 files changed, 60 insertions(+), 58 deletions(-)
diff --git a/src/dm_csrs.sv b/src/dm_csrs.sv
-index 807bb19..9e893d4 100644
+index 807bb19..6f9028b 100644
--- a/src/dm_csrs.sv
+++ b/src/dm_csrs.sv
@@ -78,6 +78,7 @@ module dm_csrs #(
@@ -42,7 +42,7 @@
// SBA
assign sbautoincrement_o = sbcs_q.sbautoincrement;
assign sbreadonaddr_o = sbcs_q.sbreadonaddr;
-@@ -550,27 +544,26 @@ module dm_csrs #(
+@@ -550,27 +544,27 @@ module dm_csrs #(
assign progbuf_o = progbuf_q;
assign data_o = data_q;
@@ -76,6 +76,7 @@
- .pop_i ( resp_queue_pop )
+ .clk_i ( clk_i ),
+ .rst_ni ( dmi_rst_ni ), // reset only when system is re-set
++ .clr_i ( 1'b0 ),
+ .wdata ( resp_queue_data ),
+ .wvalid ( dmi_req_valid_i ),
+ .wready ( dmi_req_ready_o ),
@@ -189,5 +190,5 @@
// TDO changes state at negative edge of TCK
--
-2.23.0.866.gb869b98d4c-goog
+2.24.0.rc0.303.g954a862665-goog
diff --git a/hw/vendor/pulp_riscv_dbg/src/dm_csrs.sv b/hw/vendor/pulp_riscv_dbg/src/dm_csrs.sv
index 9e893d4..6f9028b 100644
--- a/hw/vendor/pulp_riscv_dbg/src/dm_csrs.sv
+++ b/hw/vendor/pulp_riscv_dbg/src/dm_csrs.sv
@@ -557,6 +557,7 @@
) i_fifo (
.clk_i ( clk_i ),
.rst_ni ( dmi_rst_ni ), // reset only when system is re-set
+ .clr_i ( 1'b0 ),
.wdata ( resp_queue_data ),
.wvalid ( dmi_req_valid_i ),
.wready ( dmi_req_ready_o ),