代码拉取完成,页面将自动刷新
GRLIB_SRCS = ../lib/grlib/stdlib/version.vhd
GRLIB_SRCS += ../lib/grlib/stdlib/stdlib.vhd
GRLIB_SRCS += ../lib/grlib/stdlib/config_types.vhd
GRLIB_SRCS += ../lib/grlib/stdlib/config.vhd
GRLIB_SRCS += ../lib/grlib/stdlib/stdio.vhd
GRLIB_SRCS += ../lib/grlib/stdlib/testlib.vhd
GRLIB_SRCS += ../lib/grlib/sparc/sparc.vhd
GRLIB_SRCS += ../lib/grlib/sparc/sparc_disas.vhd
GRLIB_SRCS += ../lib/grlib/sparc/cpu_disas.vhd
GRLIB_SRCS += ../lib/grlib/modgen/multlib.vhd
GRLIB_SRCS += ../lib/grlib/modgen/leaves.vhd
GRLIB_SRCS += ../lib/grlib/amba/ahbmst.vhd
GRLIB_SRCS += ../lib/grlib/amba/amba.vhd
GRLIB_SRCS += ../lib/grlib/amba/devices.vhd
GRLIB_SRCS += ../lib/grlib/amba/defmst.vhd
GRLIB_SRCS += ../lib/grlib/amba/defmst.vhd
GRLIB_SRCS += ../lib/grlib/amba/apbctrl.vhd
GRLIB_SRCS += ../lib/grlib/amba/ahbctrl.vhd
GRLIB_SRCS += ../lib/grlib/amba/apbctrlx.vhd
GRLIB_SRCS += ../lib/grlib/amba/dma2ahb_pkg.vhd
GRLIB_SRCS += ../lib/grlib/amba/dma2ahb.vhd
GRLIB_SRCS += ../lib/grlib/dftlib/dftlib.vhd
GRLIB_SRCS += ../lib/grlib/util/util.vhd
TECHMAP_SRCS ?= ../lib/techmap/gencomp/gencomp.vhd
TECHMAP_SRCS += ../lib/techmap/gencomp/netcomp.vhd
TECHMAP_SRCS += ../lib/techmap/inferred/memory_inferred.vhd
TECHMAP_SRCS += ../lib/techmap/inferred/ddr_inferred.vhd
TECHMAP_SRCS += ../lib/techmap/inferred/mul_inferred.vhd
TECHMAP_SRCS += ../lib/techmap/inferred/ddr_phy_inferred.vhd
#TECHMAP_SRCS += techmap/dw02/mul_dw_gen.vhd
TECHMAP_SRCS += ../lib/techmap/maps/allclkgen.vhd
TECHMAP_SRCS += ../lib/techmap/maps/allddr.vhd
TECHMAP_SRCS += ../lib/techmap/maps/allmem.vhd
TECHMAP_SRCS += ../lib/techmap/maps/allpads.vhd
TECHMAP_SRCS += ../lib/techmap/maps/alltap.vhd
TECHMAP_SRCS += ../lib/techmap/maps/clkgen.vhd
TECHMAP_SRCS += ../lib/techmap/maps/clkmux.vhd
TECHMAP_SRCS += ../lib/techmap/maps/clkand.vhd
TECHMAP_SRCS += ../lib/techmap/maps/ddr_ireg.vhd
TECHMAP_SRCS += ../lib/techmap/maps/ddr_oreg.vhd
TECHMAP_SRCS += ../lib/techmap/maps/ddrphy.vhd
TECHMAP_SRCS += ../lib/techmap/maps/grgates.vhd
TECHMAP_SRCS += ../lib/techmap/maps/syncreg.vhd
TECHMAP_SRCS += ../lib/techmap/maps/syncram.vhd
TECHMAP_SRCS += ../lib/techmap/maps/syncram64.vhd
TECHMAP_SRCS += ../lib/techmap/maps/syncram_2p.vhd
TECHMAP_SRCS += ../lib/techmap/maps/syncram_dp.vhd
TECHMAP_SRCS += ../lib/techmap/maps/memrwcol.vhd
TECHMAP_SRCS += ../lib/techmap/maps/syncrambw.vhd
#TECHMAP_SRCS += techmap/maps/syncfifo.vhd
TECHMAP_SRCS += ../lib/techmap/maps/regfile_3p.vhd
TECHMAP_SRCS += ../lib/techmap/maps/tap.vhd
TECHMAP_SRCS += ../lib/techmap/maps/techbuf.vhd
TECHMAP_SRCS += ../lib/techmap/maps/clkpad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/clkpad_ds.vhd
TECHMAP_SRCS += ../lib/techmap/maps/inpad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/inpad_ds.vhd
TECHMAP_SRCS += ../lib/techmap/maps/iodpad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/iopad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/iopad_ds.vhd
TECHMAP_SRCS += ../lib/techmap/maps/lvds_combo.vhd
TECHMAP_SRCS += ../lib/techmap/maps/odpad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/outpad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/outpad_ds.vhd
TECHMAP_SRCS += ../lib/techmap/maps/toutpad.vhd
TECHMAP_SRCS += ../lib/techmap/maps/skew_outpad.vhd
#TECHMAP_SRCS += techmap/maps/grspwc_net.vhd
TECHMAP_SRCS += ../lib/techmap/maps/grlfpw_net.vhd
TECHMAP_SRCS += ../lib/techmap/maps/grfpw_net.vhd
TECHMAP_SRCS += ../lib/techmap/maps/mul_61x61.vhd
TECHMAP_SRCS += ../lib/techmap/maps/cpu_disas_net.vhd
#TECHMAP_SRCS += techmap/maps/grusbhc_net.vhd
TECHMAP_SRCS += ../lib/techmap/maps/ringosc.vhd
#TECHMAP_SRCS += techmap/maps/ssrctrl_net.vhd
TECHMAP_SRCS += ../lib/techmap/maps/system_monitor.vhd
TECHMAP_SRCS += ../lib/techmap/maps/leon3_net.vhd
GAISLER_SRCS = ../lib/gaisler/arith/arith.vhd
GAISLER_SRCS += ../lib/gaisler/arith/mul32.vhd
GAISLER_SRCS += ../lib/gaisler/arith/div32.vhd
GAISLER_SRCS += ../lib/gaisler/memctrl/memctrl.vhd
GAISLER_SRCS += ../lib/gaisler/memctrl/sdctrl.vhd
GAISLER_SRCS += ../lib/gaisler/memctrl/sdmctrl.vhd
GAISLER_SRCS += ../lib/gaisler/memctrl/srctrl.vhd
GAISLER_SRCS += ../lib/gaisler/pci/pci.vhd
GAISLER_SRCS += ../lib/gaisler/spi/spi.vhd
GAISLER_SRCS += ../lib/gaisler/spi/spimctrl.vhd
GAISLER_SRCS += ../lib/gaisler/leon3/leon3.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmuconfig.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmuiface.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/libmmu.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/libfpu.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/libiu.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/libcache.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3v3/libproc3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/cachemem.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/mmu_icache.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/mmu_dcache.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/mmu_acache.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmutlbcam.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmulrue.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmulru.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmutlb.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmutw.vhd
GAISLER_SRCS += ../lib/gaisler/srmmu/mmu.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/libleon3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/mmu_cache.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3v3/acache.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3v3/dcache.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3v3/icache.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3v3/cache.vhd
GAISLER_SRCS += ../lib/gaisler/leon3/cpu_disasx.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/iu3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/grfpwx.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/grfpwxsh.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3v3/grfpwsh.vhd
#GAISLER_SRCS += ../lib/gaisler/leon3/mfpwx.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/grlfpwx.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/tbufmem.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/dsu3x.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/dsu3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/proc3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/libleon3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/regfile_3p_l3.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/leon3x.vhd
GAISLER_SRCS += ../lib/gaisler/leon3v3/leon3s.vhd
# Extra leon3mp dependencies
ESA_SRCS += ../lib/esa/memoryctrl/mctrl.vhd
ESA_SRCS += ../lib/esa/memoryctrl/memoryctrl.vhd
ESA_SRCS += ../lib/esa/pci/pci_arb_pkg.vhd
ESA_SRCS += ../lib/esa/pci/pcicomp.vhd
ESA_SRCS += ../lib/esa/pci/pci_arb.vhd
ESA_SRCS += ../lib/esa/pci/pciarb.vhd
GAISLER_SRCS += ../lib/gaisler/pci/grpci2/grpci2_cdc_gate.vhd
GAISLER_SRCS += ../lib/gaisler/pci/grpci2/grpci2.vhd
GAISLER_SRCS += ../lib/gaisler/pci/grpci2/pcilib2.vhd
GAISLER_SRCS += ../lib/gaisler/uart/apbuart.vhd
GAISLER_SRCS += ../lib/gaisler/uart/ahbuart.vhd
GAISLER_SRCS += ../lib/gaisler/uart/uart.vhd
GAISLER_SRCS += ../lib/gaisler/uart/dcom_uart.vhd
GAISLER_SRCS += ../lib/gaisler/uart/dcom.vhd
GAISLER_SRCS += ../lib/gaisler/uart/libdcom.vhd
GAISLER_SRCS += ../lib/gaisler/jtag//jtagcom.vhd
GAISLER_SRCS += ../lib/gaisler/jtag//jtagcom2.vhd
GAISLER_SRCS += ../lib/gaisler/jtag//libjtagcom.vhd
GAISLER_SRCS += ../lib/gaisler/jtag/ahbjtag.vhd
GAISLER_SRCS += ../lib/gaisler/jtag/jtag.vhd
GAISLER_SRCS += ../lib/gaisler/usb/grusb.vhd
GAISLER_SRCS += ../lib/gaisler/spacewire/spacewire.vhd
GAISLER_SRCS += ../lib/gaisler/net/net.vhd
GAISLER_SRCS += ../lib/gaisler/can/can.vhd
GAISLER_SRCS += ../lib/gaisler/irqmp/irqmp.vhd
GAISLER_SRCS += ../lib/gaisler/misc/misc.vhd
GAISLER_SRCS += ../lib/gaisler/misc/rstgen.vhd
GAISLER_SRCS += ../lib/gaisler/misc/gptimer.vhd
GAISLER_SRCS += ../lib/gaisler/misc/grgpio.vhd
GAISLER_SRCS += ../lib/gaisler/misc/ahbram.vhd
setup:
mkdir -p VHDL
grlib_target:
cd VHDL && ghdl -i --work=grlib $(GRLIB_SRCS)
techmap_target:
cd VHDL && ghdl -i --work=techmap -fsynopsys $(TECHMAP_SRCS)
esa_target:
cd VHDL && ghdl -i --work=esa $(ESA_SRCS)
gaisler_target:
cd VHDL && ghdl -i --work=gaisler $(GAISLER_SRCS)
leon3mp: techmap_target grlib_target gaisler_target esa_target
cd VHDL && ghdl -i ../src/config_top.vhd
cd VHDL && ghdl -i ../src/ahbrom.vhd
cd VHDL && ghdl -i ../src/leon3mp.vhd
cd VHDL && ghdl -m leon3mp
date > leon3mp
yosys: leon3mp
cd VHDL && yosys -m ghdl -c ../scripts/yosys.tcl 2>&1 | tee ../logs/yosys.log
build_sim: leon3mp
cd VHDL && ghdl -i --work=gaisler ../lib/gaisler/uart/libdcom.vhd
cd VHDL && ghdl -i --work=gaisler ../lib/gaisler/sim/uartprint.vhd
cd VHDL && ghdl -i --work=gaisler ../lib/gaisler/sim/sram.vhd
cd VHDL && ghdl -i --work=gaisler ../lib/gaisler/sim/sim.vhd
cd VHDL && ghdl -i --work=gaisler ../lib/gaisler/sim/phy.vhd
cd VHDL && ghdl -i --work=gaisler ../lib/gaisler/jtag/jtagtst.vhd
cd VHDL && ghdl -i --work=micron ../lib/micron/sdram/components.vhd
cd VHDL && ghdl -i --work=micron ../lib/micron/sdram/mt48lc16m16a2.vhd
cd VHDL && ghdl -i ../lib/work/debug/grtestmod.vhd
cd VHDL && ghdl -i ../lib/work/debug/debug.vhd
cd VHDL && ghdl -i ../src/ahbrom.vhd
cd VHDL && ghdl -a ../src/testbench.vhd
cd VHDL && ghdl -m testbench
run_sim:
cd sim && ../VHDL/testbench
clean:
rm VHDL/* logs/*
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。