Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #490 from sifive/dev_emmanuelp
Browse files Browse the repository at this point in the history
Fix issue with TRNG when we use simulation
  • Loading branch information
nategraff-sifive authored May 13, 2020
2 parents 227ebb6 + b02f9d2 commit 4853a1e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scl-metal
6 changes: 5 additions & 1 deletion scripts/standalone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,14 @@ endif
RISCV_XCFLAGS += -DITERATIONS=$(TARGET_CORE_ITERS)
endif

ifeq ($(filter freertos,$(PROGRAM)),)
ifeq ($(findstring freertos,$(PROGRAM)),freertos)
RISCV_XCFLAGS += -DWAIT_MS=$(TARGET_FREERTOS_WAIT_MS)
endif

ifneq ($(filter rtl,$(TARGET_TAGS)),)
RISCV_XCFLAGS += -DHCA_BYPASS_TRNG
endif

#############################################################
# Software
#############################################################
Expand Down
2 changes: 1 addition & 1 deletion software/example-hca-metal
4 changes: 2 additions & 2 deletions wit-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@
"source": "git@github.com:sifive/example-hpm.git"
},
{
"commit": "bd09832897db486abff69e8158cb9fd40d6c7a68",
"commit": "d0ce5f9c13a28585e2aeb4aed8af9a72a08e3e4d",
"name": "scl-metal",
"source": "git@github.com:sifive/scl-metal.git"
},
{
"commit": "e902018d6aff78a64dc795f9633a7b1e8a2d120b",
"commit": "504092a3ed9fbb625ed7f1d6ddb51acabc7da60c",
"name": "example-hca-metal",
"source": "git@github.com:sifive/example-hca-metal.git"
}
Expand Down

0 comments on commit 4853a1e

Please sign in to comment.