<commit_before>#
# Copyright 2015, 2016 <NAME>
#
# See LICENSE for more details.
#

TOP ?= testbench.sv
PKG ?=
INT ?=
RTL ?=
ALL = $(PKG) $(INT) $(RTL) $(TOP)

INIT ?= boot.mem
TIME ?= "1ns/1ps"

LIB  = work
SNAP = $(LIB).$(basename $(TOP))

PRJDIR = ../..
SIMDIR = $(PRJDIR)/sim
RTLDIR = $(PRJDIR)/rtl
SRCDIR = $(PRJDIR)/src
LIBDIR = xsim.dir/$(LIB)

VIVADO_DIR ?= /opt/Xilinx/Vivado/2015.4

PATH := $(VIVADO_DIR)/bin:$(PATH)

VPATH = $(RTLDIR):$(SRCDIR):$(LIBDIR)

.PHONY: all test tcl gui xsim xelab xvlog clean

all: xelab

test: xsim

tcl: xelab $(INIT)
	xsim $(SNAP)

gui: $(TOP:.sv=.wcfg) xelab $(MEM)<commit_msg>build: use correct variable name for boot program<commit_after>#
# Copyright 2015, 2016 <NAME>
#
# See LICENSE for more details.
#

TOP ?= testbench.sv
PKG ?=
INT ?=
RTL ?=
ALL = $(PKG) $(INT) $(RTL) $(TOP)

INIT ?= boot.mem
TIME ?= "1ns/1ps"

LIB  = work
SNAP = $(LIB).$(basename $(TOP))

PRJDIR = ../..
SIMDIR = $(PRJDIR)/sim
RTLDIR = $(PRJDIR)/rtl
SRCDIR = $(PRJDIR)/src
LIBDIR = xsim.dir/$(LIB)

VIVADO_DIR ?= /opt/Xilinx/Vivado/2015.4

PATH := $(VIVADO_DIR)/bin:$(PATH)

VPATH = $(RTLDIR):$(SRCDIR):$(LIBDIR)

.PHONY: all test tcl gui xsim xelab xvlog clean

all: xelab

test: xsim

tcl: xelab $(INIT)
	xsim $(SNAP)

gui: $(TOP:.sv=.wcfg) xelab $(INIT)
{'fraction_non_alphanumeric': 0.20751761942051683, 'fraction_numerical': 0.023492560689115115, 'mean_word_length': 3.953488372093023, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '174469', 'n_tokens_mistral': 621, 'n_tokens_neox': 591, 'n_words': 138}