2024-12-19 21:04:42 +00:00
|
|
|
SHELL := /bin/bash
|
2024-11-27 08:13:17 +00:00
|
|
|
TREKFILES := $(WALLY)/testbench/trek_files
|
|
|
|
PLATFORM_YAML := $(TREKFILES)/platform.yaml
|
|
|
|
TREKSVIP_YAML := $(BREKER_HOME)/examples/tutorials/svip/treksvip/yaml/treksvip.yaml
|
|
|
|
TREKEXE_FLAGS += --seed 0x # free (0x) or lock (0x1) the seed used for test generation
|
|
|
|
TREKSVIP = source $(TREKFILES)/breker-setup.sh && treksvip -p $(PLATFORM_YAML) -p $(TREKSVIP_YAML) $(TREKEXE_FLAGS)
|
|
|
|
|
2024-12-02 21:07:54 +00:00
|
|
|
uvm_output: uvm_output/trek_uvm.sv
|
|
|
|
|
|
|
|
uvm_output/trek_uvm.sv: $(PLATFORM_YAML) $(TREKSVIP_YAML)
|
2024-11-27 08:13:17 +00:00
|
|
|
$(TREKSVIP) -p $(PLATFORM_YAML) -p $(TREKSVIP_YAML) --uvm_output=uvm_output
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf uvm_output
|