Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subtype(argument) is a type-conversion?

Status
Not open for further replies.

klauspetersen

Programmer
Nov 22, 2006
1
DK
Hey.

I have a book containing an example that goes:

subtype dlx_address is unsigned(31 downto 0)

PC:= dlx_address(signed(var1) + signed(var2))

My questions is, what does it do when you use the syntax: SUBTYPE(ARGUMENT). Is it just a type-conversion or what?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top