Skip to content

Commit

Permalink
Fix ID string for smoke tests
Browse files Browse the repository at this point in the history
This changes the Makefrag-provided ID to match the default configuration.
This gets failing smoke tests (csr.S and id.S) to pass.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
  • Loading branch information
seldridge committed Feb 26, 2018
1 parent 9699098 commit 9600613
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Makefrag
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ HEADERS_V := $(HEADERS) $(shell find $(ENV_P))
top_build_dir = $(abs_top_srcdir)/../build/nets

# Compute the ID String
ID_TTABLE ?= 1
TTABLE_ENTRIES ?= 2
EPB ?= 4
PES ?= 1
ID_CACHE ?= 2
ID_STRING ?= 0x$(shell echo "obase=16; $(ID_CACHE) + ($(PES) * (2 ^ 4)) + ($(EPB) * (2 ^ 10)) + ($(ID_TTABLE) * (2 ^ 48))" | bc)
NUM_PES ?= 4
CACHE_ENTRIES ?= 1
ID_STRING ?= 0x$(shell echo "obase=16; $(CACHE_ENTRIES) + ($(NUM_PES) * (2 ^ 4)) + ($(EPB) * (2 ^ 10)) + ($(TTABLE_ENTRIES) * (2 ^ 48))" | bc)

default: all
src_dir = .
Expand Down

0 comments on commit 9600613

Please sign in to comment.