Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
intro_example:loops [2020/06/19 07:31]
rajit [Array, loops and selection]
intro_example:loops [2020/12/02 01:00]
127.0.0.1 external edit
Line 84: Line 84:
 </code> </code>
  
-Depending on the value of index ''i'', input ''x0''/''x1'' are assigned to output ''y'' or ''z''. If ''i'' is even, ''x0'' is assigned to ''y'' and ''x1'' is assigned to ''z''. If ''i'' is odd, ''x0'' is assigned to ''z'' and ''x1'' is assigned to ''y''.+Depending on the value of index ''i'', input ''x0''/''x1'' are connected to output ''y'' or ''z''. If ''i'' is even, ''x0'' is connected to ''y'' and ''x1'' is connected to ''z''. If ''i'' is odd, ''x0'' is connected to ''z'' and ''x1'' is connected to ''y''.
  
-====== Checking library dependencies ====== 
  
-For a hierarchical design with many imported libraries, it could be useful to get dependency information and see if all the libraries are present in the directories where ACT can find them. The command ''adepend'' is used to check dependencies. 
- 
-<code> 
-$ adepend adder8b.act 
-adder8b.act:  adder.act   gates.act 
-</code> 
- 
-Here, running adepend on ''adderb8.act'' shows that it depends on the ''adder.act'' and ''gates.act''.