Commit 78d5fa08 authored by whitequark's avatar whitequark
Browse files

Unbreak 51c23b8a.

parent 51c23b8a
...@@ -314,7 +314,7 @@ class Signal(_Value): ...@@ -314,7 +314,7 @@ class Signal(_Value):
related : Signal or None related : Signal or None
attr : set of synthesis attributes 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): 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 from migen.fhdl.bitcontainer import bits_for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment