🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.vhdl
Article #376

concatenations on the left side of assignments

#376
From: George Lippincott
Date: Thu, 13 Jun 1991 20:43
24 lines
1525 bytes
I would like to thank the people that responded to my last posting
on overloading the assignment operators.

I have another question.  I tried to do the following assignment:

	cout & sum <= a + b + cin;

It seems that this is considered a syntax error because signal assignments
can only be made to static signal names.  My question is why isn't a
concatenation appropriate for the left-hand side of an assignment?  Even
though it is not a name, its width and type can be determined during
elaboration.

Also, this same problem seems to exist for aliases.  I can't declare an
alias for a concatenation of two or more signals.
-- 
-------------------------------------------------------------------------------
George Lippincott      (206) 828-4422       ole!george@beaver.cs.washington.edu
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
George Lippincott      (206) 828-4422       ole!george@beaver.cs.washington.edu
-------------------------------------------------------------------------------
Technical Details
Message-ID: <1994@ole.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!quick!ole!george

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!milton!sumax!quick!ole!george
From: george@ole.UUCP (George Lippincott)
Newsgroups: comp.lang.vhdl
Subject: concatenations on the left side of assignments
Message-ID: <1994@ole.UUCP>
Date: 13 Jun 91 20:43:54 GMT
Organization: Seattle Silicon Corp., Bellevue, WA.
Lines: 24