# arty a7 build
export PATH=$PATH:/usr/local/symbiflow/bin/:/usr/local/symbiflow/vtr/bin/
-./versa_ecp5.py --sys-clk-freq=100e6 --build --fpga=artya7100t \
+./versa_ecp5.py --sys-clk-freq=25e6 --build --fpga=artya7100t \
+ --toolchain=symbiflow
+./versa_ecp5.py --sys-clk-freq=25e6 --load --fpga=artya7100t \
--toolchain=symbiflow
kwargs["integrated_rom_size"] = 0x10000
#kwargs["integrated_main_ram_size"] = 0x1000
kwargs["csr_data_width"] = 32
+ kwargs['csr_address_width'] = 15 # limit to 0x8000
kwargs["l2_size"] = 0
#bus_data_width = 16,
arty.BaseSoC.__init__(self,
sys_clk_freq = sys_clk_freq,
cpu_type = "external",
- #cpu_cls = LibreSoC,
- #cpu_variant = "standardjtag",
- cpu_cls = Microwatt,
+ cpu_cls = LibreSoC,
+ cpu_variant = "standardjtag",
+ #cpu_cls = Microwatt,
variant = "a7-100",
toolchain = "symbiflow",
**kwargs)
**soc_sdram_argdict(args))
elif args.fpga == "ulx3s85f":
- trellis_args(parser)
soc = ULX3S85FTestSoC(sys_clk_freq=int(float(args.sys_clk_freq)),
**soc_sdram_argdict(args))