- ...
This commit is contained in:
		
							parent
							
								
									f94fade56c
								
							
						
					
					
						commit
						9b7108e513
					
				@ -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)) {
 | 
			
		||||
 | 
			
		||||
@ -264,6 +264,10 @@ class PicturedTask extends Task {
 | 
			
		||||
                max-width: 100%;
 | 
			
		||||
                text-align: center;
 | 
			
		||||
            }
 | 
			
		||||
            .hljs {
 | 
			
		||||
                padding: 0.3em;
 | 
			
		||||
                border-radius: 3pt;
 | 
			
		||||
            }
 | 
			
		||||
        `;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user