From 9b7108e513e7be8d99c55e85ef910d25627048f8 Mon Sep 17 00:00:00 2001 From: Epagris Date: Tue, 14 Oct 2025 19:14:31 +0200 Subject: [PATCH] - ... --- class/Tasks/VerilogTask.php | 2 +- js/tasks.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/class/Tasks/VerilogTask.php b/class/Tasks/VerilogTask.php index 42ff210..6abb9d5 100644 --- a/class/Tasks/VerilogTask.php +++ b/class/Tasks/VerilogTask.php @@ -42,7 +42,7 @@ class VerilogTask extends PicturedTask // run the simulation $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); $failed_count = 0; if (!is_null($compilation_log)) { diff --git a/js/tasks.js b/js/tasks.js index 5cc0737..f1602a3 100644 --- a/js/tasks.js +++ b/js/tasks.js @@ -264,6 +264,10 @@ class PicturedTask extends Task { max-width: 100%; text-align: center; } + .hljs { + padding: 0.3em; + border-radius: 3pt; + } `; }