User Tools

Site Tools


migen:migen_blinky

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_blinky [2018/01/10 18:34]
po
migen:migen_blinky [2018/01/10 18:38] (current)
po
Line 1: Line 1:
-===== Hello World =====+====== Hello World ======
  
-==== The code ====+===== The code =====
  
 Before going further, let's create our very first Hello World. We'll call it blinky. Before going further, let's create our very first Hello World. We'll call it blinky.
Line 35: Line 35:
 In a real world, on a 50Mhz clock, we'd want generally to assign it to the 22nd pin or above, to see it blink. this example ​ connects it to the third pin to make it visible on a waveform. In a real world, on a 50Mhz clock, we'd want generally to assign it to the 22nd pin or above, to see it blink. this example ​ connects it to the third pin to make it visible on a waveform.
  
-==== Testbench ====+===== Testbench ​=====
  
 With Migen, we can test a module very easily. We write for it a testbench. With Migen, we can test a module very easily. We write for it a testbench.
Line 66: Line 66:
 </​code>​ </​code>​
  
-==== Running Hello World ====+===== Running Hello World =====
  
 Now let's put it all together: Now let's put it all together:
Line 114: Line 114:
  
 As you could see, we have our counter in green, our clock in yellow, and our led signal in red. That is quite handy when debugging. As you could see, we have our counter in green, our clock in yellow, and our led signal in red. That is quite handy when debugging.
- 
migen/migen_blinky.txt ยท Last modified: 2018/01/10 18:38 by po