From 52084147ba3485128d93334f6fccb38e626ec46d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 5 Jun 2021 19:05:30 +0100 Subject: [PATCH] sort out build of chip/corona using experiments10_verilog --- ls180/post_pnr/cocotb/Makefile | 4 ++-- ls180/post_pnr/vhd2obj.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.30.2