fpga: xilinx: cmod_a7: add bin.tcl and mcs.tcl
Signed-off-by: liangkangnan <liangkangnan@163.com>verilator
parent
4c16dfb254
commit
490c52054b
|
@ -15,7 +15,15 @@ impl:
|
|||
|
||||
.PHONY: bit
|
||||
bit:
|
||||
$(VIVADO) $(VIVADOFLAGS) -source scripts/synth.tcl -source scripts/impl.tcl -source scripts/bit_stream.tcl -source scripts/report.tcl
|
||||
$(VIVADO) $(VIVADOFLAGS) -source scripts/synth.tcl -source scripts/impl.tcl -source scripts/bit.tcl -source scripts/report.tcl
|
||||
|
||||
.PHONY: bin
|
||||
bin:
|
||||
$(VIVADO) $(VIVADOFLAGS) -source scripts/synth.tcl -source scripts/impl.tcl -source scripts/bit.tcl -source scripts/bin.tcl -source scripts/report.tcl
|
||||
|
||||
.PHONY: mcs
|
||||
mcs:
|
||||
$(VIVADO) $(VIVADOFLAGS) -source scripts/synth.tcl -source scripts/impl.tcl -source scripts/bit.tcl -source scripts/mcs.tcl -source scripts/report.tcl
|
||||
|
||||
.PHONY: clean
|
||||
clean::
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
write_cfgmem -format bin -size 4 -interface SPIx4 -loadbit {up 0x00000000 "out/tinyriscv_soc_top.bit" } -force -file "out/tinyriscv_soc_top.bin"
|
|
@ -41,6 +41,3 @@ add_files -norecurse -fileset constrs_1 [glob -directory $constrsdir {*.xdc}]
|
|||
|
||||
# 创建输出目录
|
||||
file mkdir $outdir
|
||||
|
||||
# 综合
|
||||
synth_design -top $top_module
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
write_cfgmem -format mcs -size 4 -interface SPIx4 -loadbit {up 0x00000000 "out/tinyriscv_soc_top.bit" } -force -file "out/tinyriscv_soc_top.mcs"
|
Loading…
Reference in New Issue