Skip to content

Commit

Permalink
Fixes verilator target for linting and ci/cd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseruskin committed Sep 11, 2024
1 parent a83a9f3 commit f5927a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Test hardware library
working-directory: ./src/lib/hdl
run: orbit test
run: orbit test --target gverb

- name: Test command-line application
working-directory: ./src/bin/verb
Expand Down
2 changes: 1 addition & 1 deletion .orbit/vverb.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
SEED = args.seed
EVENTS_LOG_FILE = str(args.log)

BENCH_NAME = Env.read('ORBIT_TB_NAME', missing_ok=False)
OUT_DIR = 'build'

py_model: str = None
Expand Down Expand Up @@ -62,6 +61,7 @@
.unwrap()
exit(0)

BENCH_NAME = Env.read('ORBIT_TB_NAME', missing_ok=False)
HAS_MODEL = py_model != None

if HAS_MODEL == True and SKIP_MODEL == False:
Expand Down

0 comments on commit f5927a9

Please sign in to comment.