User Tools

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
nmigen:nmigen_sim_testbench_sync [2019/10/09 18:29]
nmigen:nmigen_sim_testbench_sync [2019/10/09 18:29] (current)
Line 49: Line 49:
         m.d.comb += self.done.eq(cnt == self.width-1)         m.d.comb += self.done.eq(cnt == self.width-1)
         ​         ​
-        #check if we got start asserted, if so reset the output and counter+        #check if we got 'start' ​asserted, if so reset the output and counter
         with m.If(self.start):​         with m.If(self.start):​
             m.d.sync += [             m.d.sync += [
nmigen/nmigen_sim_testbench_sync.txt ยท Last modified: 2019/10/09 18:29 by ramtin