Menu

#442 SV format is not correct using ifdef after assert sv keyword

v1.0_(example)
closed-fixed
nobody
None
5
2016-08-26
2016-08-17
No

Hi,
First thanks for SVEditor. It is great.

I have attached a picture of the code with the wrong indentation.

Below the simple code.

        assert(std::randomize( random_start_time_ps ) with {
                random_start_time_ps inside { [0:10000000]};   // 0- 10 us
            });
            /* #random_start_time_ps;

             */       
            `ifdef VCS
            begin
                // Block of code for VCS MX

            end
        `else
            begin
                // third party code

            end
        `endif
1 Attachments

Discussion

  • Jonathan Alvarez

    Another example in a second picture. This time after @(event_test);

     
  • StevenAZ

    StevenAZ - 2016-08-26
    • status: open --> closed-fixed
     
  • StevenAZ

    StevenAZ - 2016-08-26

    Fixed in 1.8.9

     

Log in to post a comment.