From 4f2ac8868afa5d814284919cddc33147ce02678d Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 6 Sep 2021 00:29:29 -0700 Subject: [PATCH] Rename regs.yaml to register.yaml for consistency reasons --- srdl2sv/components/register.py | 2 +- srdl2sv/components/templates/{regs.yaml => register.yaml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename srdl2sv/components/templates/{regs.yaml => register.yaml} (100%) diff --git a/srdl2sv/components/register.py b/srdl2sv/components/register.py index 7ccec5f..11c8d4a 100644 --- a/srdl2sv/components/register.py +++ b/srdl2sv/components/register.py @@ -14,7 +14,7 @@ from . import templates class Register(Component): # Save YAML template as class variable templ_dict = yaml.load( - pkg_resources.read_text(templates, 'regs.yaml'), + pkg_resources.read_text(templates, 'register.yaml'), Loader=yaml.FullLoader) def __init__( diff --git a/srdl2sv/components/templates/regs.yaml b/srdl2sv/components/templates/register.yaml similarity index 100% rename from srdl2sv/components/templates/regs.yaml rename to srdl2sv/components/templates/register.yaml