Skip to content

Commit

Permalink
fud2 update variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielnrn committed Jul 9, 2024
1 parent b9b23d4 commit 8d98db2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fud2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ pub fn build_driver(bld: &mut DriverBuilder) {
let generator_path = if FromStr::from_str(&dynamic)
.expect("The dynamic flag should be either 'true' or 'false'.")
{
"$calyx-base/yxi/axi-calyx/dynamic-axi-generator.py"
"$calyx-base/yxi/axi-calyx/dynamic_axi_generator.py"
} else {
"$calyx-base/yxi/axi-calyx/axi-generator.py"
};
Expand Down Expand Up @@ -922,12 +922,12 @@ e.var("cocotb-args", if waves {"WAVES=1"} else {""})?;
let waves = FromStr::from_str(&waves)
.expect("The 'waves' flag should be either 'true' or 'false'.");

let vcd_file_name = format!("{}.fst", basename(input));
let fst_file_name = format!("{}.fst", basename(input));
let mut make_in = input;
if waves {
make_in = "dumpvars.v";
e.build_cmd(&[make_in], "iverilog-fst-sed", &[input], &[])?;
e.arg("fst_file_name", &vcd_file_name)?;
e.arg("fst_file_name", &fst_file_name)?;
}
e.build_cmd(
&["tmp.dat"],
Expand Down

0 comments on commit 8d98db2

Please sign in to comment.