From Python to silicon
 

Differences

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

Link to this comparison view

meps:mep-108 [2012/06/02 11:00]
cfelton [Prototyped Enhancement]
meps:mep-108 [2012/06/02 11:03] (current)
cfelton [Top Function Visitor]
Line 84: Line 84:
  
 ==== Top Function Visitor ==== ==== Top Function Visitor ====
-The use of the "self" argument, os only an issue for the top-level  +The use of the "self" argument, is only an issue for the top-level  
-class method parsing. +class method parsing.  This is because the parser flattens the  
- +design.  A top-level function / class method is passed to  
-so in,+the converter codein the function
  
    _AnalyzeTopFuncVisitor.visit_FunctionDev(...)    _AnalyzeTopFuncVisitor.visit_FunctionDev(...)
  
-is where the modifications are made.  The +This is where the modifications are made.  The 
 modifications only add arguments to the port list if the argument modifications only add arguments to the port list if the argument
 is of type SignalType.  This avoids the issue of the object reference is of type SignalType.  This avoids the issue of the object reference
meps/mep-108.txt · Last modified: 2012/06/02 11:03 by cfelton
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki