User Tools

Site Tools


migen:migen_fragment_list

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_fragment_list [2018/01/10 18:03]
po
migen:migen_fragment_list [2018/01/10 18:40] (current)
po
Line 58: Line 58:
 </​code>​ </​code>​
  
 +===== Example =====
 <file python MyIfElifElse.py>​ <file python MyIfElifElse.py>​
 from migen import * from migen import *
Line 103: Line 104:
 </​code>​ </​code>​
  
-Althought ​this way of writing the code is really ugly, let's write the same code with the help of python, that is where migen is really handy:+Although ​this way of writing the code is really ugly, let's write the same code with the help of python, that is where migen is really handy:
 <code python> <code python>
  ​primes = [2, 3, 5, 7, 11, 13, 17, 19]  ​primes = [2, 3, 5, 7, 11, 13, 17, 19]
migen/migen_fragment_list.txt ยท Last modified: 2018/01/10 18:40 by po