1 This is the SandBox, a page anyone can edit to learn how to use the wiki.
8 from enum import Enum, unique
20 class Top(Elaboratable):
22 self.in_ = Signal(selects)
25 def elaborate(self, platform):
27 m.d.comb += self.out.eq(self.in_)
29 with m.If(self.in_ == selects.sel_F):
30 m.d.comb += self.out.eq(1)
32 m.d.comb += self.out.eq(0)
36 from nmigen.back import verilog
37 f = open("top.v", "w")
39 ports = [top.in_, top.out]
40 f.write(verilog.convert(top, name='top',strip_internal_attrs=True,ports=ports))
43 # experiment with single bullet
56 1. bullet now two blank lines after
59 indent after 2 blank lines
65 Here's another one with *emphasised* text.
71 > This is a blockquote.
73 > This is the first level of quoting.
75 > > This is nested blockquote.
77 > Back to the first level.
90 <iframe src="https://git.libre-soc.org/?p=crowdsupply.git;a=blob_plain;f=Makefile;hb=69576cbd0ca58e98ebbf525d827b377fe7ad04fc"></iframe>