From: Luke Kenneth Casson Leighton Date: Sat, 5 Jun 2021 18:05:30 +0000 (+0100) Subject: sort out build of chip/corona using experiments10_verilog X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52084147ba3485128d93334f6fccb38e626ec46d;p=soc-cocotb-sim.git sort out build of chip/corona using experiments10_verilog --- diff --git a/ls180/post_pnr/cocotb/Makefile b/ls180/post_pnr/cocotb/Makefile index a53c81b..bf1bfcf 100644 --- a/ls180/post_pnr/cocotb/Makefile +++ b/ls180/post_pnr/cocotb/Makefile @@ -9,7 +9,7 @@ endif export PYTHONPATH VSTDIR=$(TOPDIR)/vst_src -CHIPDIR=$(TOPDIR)/chip_corona +#CHIPDIR=$(TOPDIR)/chip_corona NSXLIBDIR=$(TOPDIR)/nsxlib NIOLIBDIR=$(TOPDIR)/niolib # $(CHIPDIR)/chip_r.vhd @@ -18,7 +18,7 @@ VHDL_SOURCES = \ $(wildcard $(VSTDIR)/*.vst) \ $(wildcard $(NSXLIBDIR)/*.vhd) \ $(wildcard $(NIOLIBDIR)/*.vhd) -TOPLEVEL=chip_r +TOPLEVEL=chip TOPLEVEL_LANG=vhdl MODULE ?= test SIM=ghdl diff --git a/ls180/post_pnr/vhd2obj.py b/ls180/post_pnr/vhd2obj.py index afb485a..ce3c9b8 100755 --- a/ls180/post_pnr/vhd2obj.py +++ b/ls180/post_pnr/vhd2obj.py @@ -25,8 +25,8 @@ for srcdir, suffix in SRC: os.system("ghdl -a -g --std=08 ../%s/%s" % (srcdir, fname)) # and chip and corona -os.system("ghdl -a -g --std=08 ../chip_corona/chip_r.vhd") -os.system("ghdl -a -g --std=08 ../chip_corona/corona_cts_r.vhd") +#os.system("ghdl -a -g --std=08 ../chip_corona/chip_r.vhd") +#os.system("ghdl -a -g --std=08 ../chip_corona/corona_cts_r.vhd") # back to original dir os.chdir(cwd)