SlickEdit Community

Archived Read Only Forums => SlickEdit 2015 v20 Beta Discussion => Topic started by: warnerrs on October 29, 2015, 08:46:23 pm

Title: RC3 SystemVerilog fork beautification
Post by: warnerrs on October 29, 2015, 08:46:23 pm
SV fork beautify isn't working correctly.
Code: [Select]
module top;
    class Test extends rvm::rvm_component;
        EnvPkg::Env env;
        virtual function void run_phase();
            fork
                begin
                    env.run_phase();
                end
            join_none      // correct beautification

            fork
                env.run_phase();
                env.run_phase();
            join_none      // correct beautification

            fork
                env.run_phase();
                join_none  // incorrect beautification

                $display("reached Test::run_phase");
                $stop;
            endfunction
        endclass
    endmodule
   
Title: Re: RC3 SystemVerilog fork beautification
Post by: patrick on October 29, 2015, 08:52:52 pm
Reproduced, taking a look at it.  That's an odd one.