1
0
mirror of https://github.com/olofk/serv.git synced 2026-04-25 20:02:16 +00:00

Add cycle counter to servant testbench

This commit is contained in:
Olof Kindgren
2024-02-20 09:43:33 +01:00
parent 086fff75b6
commit a92965b359
2 changed files with 25 additions and 0 deletions

View File

@@ -544,6 +544,7 @@ targets:
parameters :
- RISCV_FORMAL
- "mdu? (MDU=1)"
- cps
- firmware
- memsize
- signature
@@ -577,6 +578,11 @@ parameters:
description : Enable/Disable the Compressed extension
paramtype : vlogparam
cps:
datatype : bool
description: Write simulated cycles per second to a text file named cps
paramtype : plusarg
firmware:
datatype : file
description : Preload RAM with a hex file at runtime (overrides memfile)