User Tools

Site Tools


migen:migen_submodules

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
migen:migen_submodules [2018/01/10 18:36]
po
migen:migen_submodules [2018/01/10 18:38] (current)
po
Line 1: Line 1:
-===== Submodules =====+====== Submodules ​======
  
 A module could use another module inside: A module could use another module inside:
Line 18: Line 18:
 As we can see, a module has a table called "​submodules"​ which is the instance of other modules that we have to add to it. When we add a module, we migen automatically add it to the module and make it accessible by self.the_name_of_the_module As we can see, a module has a table called "​submodules"​ which is the instance of other modules that we have to add to it. When we add a module, we migen automatically add it to the module and make it accessible by self.the_name_of_the_module
  
-==== Testbench example ====+===== Testbench example ​=====
  
 <file python adder.py>​ <file python adder.py>​
migen/migen_submodules.txt ยท Last modified: 2018/01/10 18:38 by po