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
Next revision Both sides next revision
tools:start [2023/01/14 10:58]
rajit
tools:start [2023/04/07 08:56]
rajit [Tools]
Line 23: Line 23:
    * [[http://opencircuitdesign.com/irsim/index.html|irsim]]: A switch-level circuit simulator    * [[http://opencircuitdesign.com/irsim/index.html|irsim]]: A switch-level circuit simulator
    * Gemini: a netlist comparison for strict layout-versus-schematic checking {{:tools:gemini-2.7.2.tar.gz|Gemini}}    * Gemini: a netlist comparison for strict layout-versus-schematic checking {{:tools:gemini-2.7.2.tar.gz|Gemini}}
 +
 +Two useful concepts to keep in mind when using the ACT tools are //expanded names// and //mangled names//.
 +===== Expanded names =====
 +
 +A concept one should be familiar with, especially when debugging and/or understanding error messages is the notion of expanded names. This is best illustrated with an example. Consider the following templated process definition:
 +<code act>
 +template<pint A; pbool B; pint C[A]> defproc example(...) { ... }
 +
 +example<1+1,true,{1,5}> e1;
 +example<1,false,{2}> e2;
 +</code>
 +The type of the process defined is ''example'', but the instances ''e1'' and ''e2'' include specific template parameters. After the design is expanded and all template parameters are substituted, different variations of ''example'' are created for ''e1'' and ''e2''. These //expanded// versions of types are given different names within the ACT framework.  In particular, the expanded type for ''e1'' would be ''example<2,t,{1,5}>'' (here ''t'' is used as a stand-in for the value of the Boolean parameter ''true'').  If ''example'' did not take on any template parameters, the expanded version of the type would be named ''example<>''.
 +
 +If the template list contains multi-dimensional arrays, the expanded name contains a linear list of the parameters separated by commas.
 +
 +===== Mangled names =====
 +
 +