From fdbd66f662069f1a76b4d399e71f14f797e359c1 Mon Sep 17 00:00:00 2001 From: Dawson Date: Fri, 16 Apr 2021 02:36:00 -0400 Subject: [PATCH] Add gitignore. Cleanup files --- examples/alchitry_cu_counter/.gitignore | 9 +++++++++ examples/alchitry_cu_counter/makefile | 6 +++--- examples/alchitry_cu_counter/simple.pcf | 13 ------------- 3 files changed, 12 insertions(+), 16 deletions(-) create mode 100644 examples/alchitry_cu_counter/.gitignore delete mode 100644 examples/alchitry_cu_counter/simple.pcf diff --git a/examples/alchitry_cu_counter/.gitignore b/examples/alchitry_cu_counter/.gitignore new file mode 100644 index 0000000..f3d7ef8 --- /dev/null +++ b/examples/alchitry_cu_counter/.gitignore @@ -0,0 +1,9 @@ +# MacOS desktop files +.DS_Store +.ds_store + +# Yosys/Arachne outputs +*.bin +*.blif +*.ex +*.txt \ No newline at end of file diff --git a/examples/alchitry_cu_counter/makefile b/examples/alchitry_cu_counter/makefile index e6ab3e5..2745ee7 100644 --- a/examples/alchitry_cu_counter/makefile +++ b/examples/alchitry_cu_counter/makefile @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. TOP_LEVEL_FILE := cu_top.sv -COMPONENT_FILES := counter.sv +COMPONENT_FILES := # Note: For work using an Alchitry CU, do not change package, nor device. # Changing the package will clash with the pcf file. Changing device @@ -28,9 +28,9 @@ DEVICE := 8k all: yosys -q -p "synth_ice40 -blif cu.blif" $(TOP_LEVEL_FILE) $(COMPONENT_FILES) - arachne-pnr -P $(DEVICE) -p $(PIN_DEF) -d $(DEVICE) cu.blif -o cu.txt + arachne-pnr -P $(PACKAGE) -p $(PIN_DEF) -d $(DEVICE) cu.blif -o cu.txt icebox_explain cu.txt > cu.ex - icepack %cutxt cu.bin + icepack cu.txt cu.bin clean: rm -f *.blif *.txt *.ex *.bin diff --git a/examples/alchitry_cu_counter/simple.pcf b/examples/alchitry_cu_counter/simple.pcf deleted file mode 100644 index 07e44fe..0000000 --- a/examples/alchitry_cu_counter/simple.pcf +++ /dev/null @@ -1,13 +0,0 @@ -set_io --warn-no-port RX 9 -set_io --warn-no-port TX 8 -set_io LED1 99 -set_io LED2 98 -set_io LED3 97 -set_io LED4 96 -set_io LED5 95 -set_io clk 21 -set_io D1 1 -set_io D2 2 -set_io D3 3 -set_io D4 4 -set_io D5 94