提交 197ad003 authored 作者: Olivier Breuleux's avatar Olivier Breuleux

documentation for Module, Module and FancyModule are now ComponentDict and Module

上级 8469332e
...@@ -44,7 +44,9 @@ from compile import \ ...@@ -44,7 +44,9 @@ from compile import \
predefined_modes, predefined_linkers, predefined_optimizers, \ predefined_modes, predefined_linkers, predefined_optimizers, \
FunctionMaker, function, OpFromGraph, \ FunctionMaker, function, OpFromGraph, \
Component, External, Member, KitComponent, Method, \ Component, External, Member, KitComponent, Method, \
Composite, ComponentList, Module, FancyModule Composite, ComponentList, ComponentDict, Module
FancyModule = Module
from printing import \ from printing import \
pprint, pp pprint, pp
......
差异被折叠。
...@@ -238,7 +238,7 @@ class RandomKit(SymbolicInputKit): ...@@ -238,7 +238,7 @@ class RandomKit(SymbolicInputKit):
rk = RandomKit('rk', 0xBAD5EED) rk = RandomKit('rk', 0xBAD5EED)
class RModule(compile.FancyModule): class RModule(compile.Module):
def __init__(self, components = {}, **kwcomponents): def __init__(self, components = {}, **kwcomponents):
super(RModule, self).__init__(components, **kwcomponents) super(RModule, self).__init__(components, **kwcomponents)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论