This commit is contained in:
Wiesner András 2025-10-14 19:14:31 +02:00
parent f94fade56c
commit 9b7108e513
2 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class VerilogTask extends PicturedTask
// run the simulation // run the simulation
$output_fn = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid("verilogtask_output_"); $output_fn = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid("verilogtask_output_");
$iverilog_cmd = "iverilog $test_bench_fn -o $output_fn 2>&1"; $iverilog_cmd = "iverilog $test_bench_fn -o $output_fn -g2012 2>&1";
$compilation_log = shell_exec($iverilog_cmd); $compilation_log = shell_exec($iverilog_cmd);
$failed_count = 0; $failed_count = 0;
if (!is_null($compilation_log)) { if (!is_null($compilation_log)) {

View File

@ -264,6 +264,10 @@ class PicturedTask extends Task {
max-width: 100%; max-width: 100%;
text-align: center; text-align: center;
} }
.hljs {
padding: 0.3em;
border-radius: 3pt;
}
`; `;
} }