Skip to content

Commit

Permalink
Unbreak 51c23b8.
Browse files Browse the repository at this point in the history
whitequark committed Nov 20, 2016
1 parent 51c23b8 commit 78d5fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/fhdl/structure.py
Original file line number Diff line number Diff line change
@@ -314,7 +314,7 @@ class Signal(_Value):
related : Signal or None
attr : set of synthesis attributes
"""
_name_re = _re.compile(r"^[a-zA-Z_]+$")
_name_re = _re.compile(r"^[a-zA-Z_][a-zA-Z0-9_]*$")

def __init__(self, bits_sign=None, name=None, variable=False, reset=0, name_override=None, min=None, max=None, related=None, attr=None):
from migen.fhdl.bitcontainer import bits_for

0 comments on commit 78d5fa0

Please sign in to comment.