-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright 2024 The Regents of the University of California | ||
// released under BSD 3-Clause License | ||
// author: Kevin Laeufer <[email protected]> | ||
// | ||
// comparing the output of the ghwdump tool and wellen | ||
|
||
|
||
use std::sync::Once; | ||
|
||
static COMPILE_GHW_DUMP: Once = Once::new(); | ||
|
||
|
||
fn compile_ghwdump() { | ||
|
||
} | ||
|
||
fn run_ghwdump(filename: &str) { | ||
// make sure ghwdump is compiled | ||
COMPILE_GHW_DUMP.call_once(|| compile_ghwdump()); | ||
} | ||
|
||
|
||
#[test] | ||
fn diff_ghdl_oscar_test() { | ||
run_ghwdump("inputs/ghdl/oscar/test.ghw"); | ||
} |