[spi_host/dv] adding framework for the coverage model

Signed-off-by: Rasmus Madsen <rasmus.madsen@wdc.com>
diff --git a/hw/ip/spi_host/dv/cov/spi_host_cov.core b/hw/ip/spi_host/dv/cov/spi_host_cov.core
new file mode 100644
index 0000000..b685522
--- /dev/null
+++ b/hw/ip/spi_host/dv/cov/spi_host_cov.core
@@ -0,0 +1,21 @@
+CAPI=2:
+# Copyright lowRISC contributors.
+# Licensed under the Apache License, Version 2.0, see LICENSE for details.
+# SPDX-License-Identifier: Apache-2.0
+name: "lowrisc:dv:spi_host_cov:0.1"
+description: "SPI_HOST functional coverage interface & bind."
+
+filesets:
+  files_dv:
+    depend:
+      - lowrisc:dv:dv_utils
+      - lowrisc:ip:spi_host
+    files:
+      - spi_host_cov_if.sv
+      - spi_host_cov_bind.sv
+    file_type: systemVerilogSource
+
+targets:
+  default:
+    filesets:
+      - files_dv
diff --git a/hw/ip/spi_host/dv/cov/spi_host_cov_bind.sv b/hw/ip/spi_host/dv/cov/spi_host_cov_bind.sv
new file mode 100644
index 0000000..b7214d6
--- /dev/null
+++ b/hw/ip/spi_host/dv/cov/spi_host_cov_bind.sv
@@ -0,0 +1,12 @@
+// Copyright lowRISC contributors.
+// Licensed under the Apache License, Version 2.0, see LICENSE for details.
+// SPDX-License-Identifier: Apache-2.0
+//
+// Binds UART functional coverage interaface to the top level AES module.
+module spi_host_cov_bind;
+
+  bind spi_host spi_host_cov_if u_spi_cov_if (
+    .clk_i           (clk_i)
+  );
+
+endmodule