Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
intro_example:connection_info [2025/05/18 14:58] – created rajitintro_example:connection_info [2025/05/18 15:02] (current) rajit
Line 2: Line 2:
  
 There are two categories of variables in ACT: parameter variables (e.g. ''pint'', ''pbool'', etc.) that are used There are two categories of variables in ACT: parameter variables (e.g. ''pint'', ''pbool'', etc.) that are used
-during expansion/elaboration time to build a circuit, and circuit component/wire variables.+during expansion/elaboration time to build a circuit, and circuit component/wire variables. While parameter  
 +variables are more like normal variables in a programming language with the caveat that in some contexts they are [[language:connections#simple_connections|immutable]], circuit component variables behave differently.
  
 <code act> <code act>
Line 23: Line 24:
  
 Connecting two variables makes them refer to the same circuit element. Connecting two processes makes the two variables correspond to one process (as above), and connecting two channels makes them the same channel. The Connecting two variables makes them refer to the same circuit element. Connecting two processes makes the two variables correspond to one process (as above), and connecting two channels makes them the same channel. The
-earlier examples used channel connections to connect the output of one process to the input of another.+earlier [[intro_example:chp_fifo|examples]] used channel connections to connect the output of one process to the input of another.
  
 The two connected variables can be viewed as aliases, i.e. different ways to refer to the same process. ACT provides flexible syntax to support different ways to connect variables. The two connected variables can be viewed as aliases, i.e. different ways to refer to the same process. ACT provides flexible syntax to support different ways to connect variables.