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; + } `; }