Skip to content

Commit

Permalink
[FIXME] Debug VCS error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Nov 29, 2024
1 parent 0890edb commit 126b662
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions target/sim/src/tb_cheshire_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ module tb_cheshire_soc #(
bit [31:0] exit_code;

initial begin

$warning("I MAY BE FINE");
$error("I AM BAD");
$fatal("I AM REALLY BAD");

// Fetch plusargs or use safe (fail-fast) defaults
if (!$value$plusargs("BOOTMODE=%d", boot_mode)) boot_mode = 0;
if (!$value$plusargs("PRELMODE=%d", preload_mode)) preload_mode = 0;
Expand Down

0 comments on commit 126b662

Please sign in to comment.