fhdl/structure: clarify usage restrictions of LHS Cat

This commit is contained in:
Sebastien Bourdeauducq 2013-11-29 22:35:53 +01:00
parent a836cbb44e
commit be9fea182d
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ class Cat(Value):
The return value can be used on either side of an assignment, that
is, the concatenated value can be used as an argument on the RHS or
as a target on the LHS. If it is used on the LHS, it must solely
consist of `Signal` s. The bit length of the return value is the sum of
consist of `Signal` s, slices of `Signal` s, and other concatenations
meeting these properties. The bit length of the return value is the sum of
the bit lengths of the arguments::
flen(Cat(*args)) == sum(flen(arg) for arg in args)