From 2f38d30d76f394beb478d2ad93475e56496f6f75 Mon Sep 17 00:00:00 2001 From: Dennis Date: Sun, 22 Aug 2021 21:50:58 -0700 Subject: [PATCH] Fix assignment to _rd_mux_in for arrays --- srdl2sv/components/templates/regs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srdl2sv/components/templates/regs.yaml b/srdl2sv/components/templates/regs.yaml index 423d180..c439e50 100644 --- a/srdl2sv/components/templates/regs.yaml +++ b/srdl2sv/components/templates/regs.yaml @@ -66,4 +66,4 @@ sw_read_assignment: /************************************** * Assign all fields to signal to Mux * **************************************/ - assign {sw_read_assignment_var_name}{genvars} = {{{list_of_fields}}}; + assign {sw_read_assignment_var_name}{genvars} = {{{list_of_fields}{genvars}}};