cp build/ls180sram4k/gateware/mem.init .
cp build/ls180sram4k/gateware/mem_1.init .
cp libresoc/libresoc.v .
+ cp libresoc/SPBlock_512W64B8W.v .
yosys -p 'read_verilog libresoc.v' \
-p 'write_ilang libresoc_cvt.il'
yosys -p 'read_verilog ls180.v' \
cp build/ls180/gateware/mem.init .
cp build/ls180/gateware/mem_1.init .
cp libresoc/libresoc.v .
+ cp libresoc/SPBlock_512W64B8W.v .
yosys -p 'read_verilog libresoc.v' \
-p 'read_verilog ls180.v' \
-p 'proc' \
def add_sources(platform):
cdir = os.path.dirname(__file__)
platform.add_source(os.path.join(cdir, "libresoc.v"))
+ platform.add_source(os.path.join(cdir, "SPBlock_512W64B8W.v"))
def do_finalize(self):
self.specials += Instance("test_issuer", **self.cpu_params)