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