From 308612fd9ef26ccd1e01ed8a9449649ae85811aa Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Tue, 26 Jan 2021 20:59:49 +0100 Subject: [PATCH] Expose WITH_CSR and RESET_STRATEGY in core file --- serv.core | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/serv.core b/serv.core index 004d843..1068b78 100644 --- a/serv.core +++ b/serv.core @@ -24,7 +24,11 @@ filesets: targets: default: filesets : [core] - parameters : [RISCV_FORMAL, SERV_CLEAR_RAM] + parameters : + - "is_toplevel? (RESET_STRATEGY)" + - RISCV_FORMAL + - SERV_CLEAR_RAM + - "is_toplevel? (WITH_CSR)" toplevel : ["is_toplevel? (serv_rf_top)"] lint: @@ -36,6 +40,10 @@ targets: toplevel : serv_rf_top parameters: + RESET_STRATEGY: + datatype : str + paramtype : vlogparam + RISCV_FORMAL: datatype : bool paramtype : vlogdefine @@ -44,3 +52,6 @@ parameters: datatype : bool paramtype : vlogdefine + WITH_CSR: + datatype : int + paramtype : vlogparam