# Defaults for the fake testarch architecture.

DEVICE_DIR     = $(TOP_DIR)/testarch/devices
DEVICE_TYPE   ?= clutff-unidir-s4
DEVICE        ?= 2x4
DEVICE_FULL   = $(DEVICE)
YOSYS_SCRIPT  ?= synth -top top -flatten; abc -lut 4; opt_clean; write_blif -attr -cname -conn -param $@
RR_PATCH_TOOL ?= $(TOP_DIR)/utils/testarch_graph.py
RR_PATCH_CMD  ?= $(RR_PATCH_TOOL) \
	--read_rr_graph $(OUT_RRXML_VIRT) \
	--write_rr_graph $(OUT_RRXML_REAL)
#RR_PATCH_TOOL ?= /bin/cp
#RR_PATCH_CMD  ?= $(RR_PATCH_TOOL) $(OUT_RRXML_VIRT) $(OUT_RRXML_REAL)

# Defaults for the fake testarch architecture.

DEVICE_DIR     = $(TOP_DIR)/testarch/devices
DEVICE_TYPE   ?= clutff-unidir-s4
DEVICE        ?= 4x4
DEVICE_FULL   = $(DEVICE)
YOSYS_SCRIPT  ?= synth -top top -flatten; abc -lut 4; opt_clean; write_blif -attr -cname -conn -param $@
RR_PATCH_TOOL ?= $(TOP_DIR)/utils/testarch_graph.py
RR_PATCH_CMD  ?= $(RR_PATCH_TOOL) \
	--read_rr_graph $(OUT_RRXML_VIRT) \
	--write_rr_graph $(OUT_RRXML_REAL)
#RR_PATCH_TOOL ?= /bin/cp
#RR_PATCH_CMD  ?= $(RR_PATCH_TOOL) $(OUT_RRXML_VIRT) $(OUT_RRXML_REAL)

Make 4x4 config the default.
testarch: Make 4x4 config the default.

Signed-off-by: Tim 'mithro' Ansell <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@mith.ro>
