• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Beginner: ncvlog: *E,NOTSTT (/design/notebook/bp07/users...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 66
  • Views 3638
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Beginner: ncvlog: *E,NOTSTT (/design/notebook/bp07/users/cinzia.cicchillitti+bp07+bp07a+41/cds5/BP07/BP07STARTUP/verilogams/verilog.vams,34|7): expecting a statement [9(I

mrmzz
mrmzz over 13 years ago

 I need a support for subject errr for a very simple code

 

 

//Verilog-AMS HDL for "BP07", "BP07STARTUP" "verilogams"

`include "constants.vams"
`include "disciplines.vams"

// Modification History :
// Initial Release        Mar 21 16:16:43 2012
// owner            cici
//
// ISSUE:
//   To model real saturation the pins should be defined inout
//   but this is not the case
//

module BP07STARTUP ( INP5UN, INP5UN_LKG, IT1UN, ITP5UN_BS, G, IN );

  input G;             wreal G;
  input IN;             wreal IN;
  output  [0:3] INP5UN;     wreal INP5UN[0:3];
  output ITP5UN_BS;         wreal ITP5UN_BS;
  output INP5UN_LKG;         wreal INP5UN_LKG;
  output  [7:0] IT1UN;         wreal IT1UN[7:0];

 
  real Ival1u;
  real Ival500n;
  real Vsat = 200m;
  real Rsh  = 1e12 ;

 always @(IN )
    if(IN > 2 ) begin
         Ival1u = 1u;
      Ival500n = 500n;
    else begin
         Ival1u = 0;
     Ival500n = 0;
   end

  assign ITP5UN_BS = Ival500n;
  assign INP5UN_LKG = Ival500n;
  assign INP5UN[0] = Ival500n;
  assign INP5UN[1] = Ival500n;
  assign INP5UN[2] = Ival500n;
  assign INP5UN[3] = Ival500n;
  assign IT1UN[0] = Ival1u;
  assign IT1UN[1] = Ival1u;
  assign IT1UN[2] = Ival1u;
  assign IT1UN[3] = Ival1u;
  assign IT1UN[4] = Ival1u;
  assign IT1UN[5] = Ival1u;
  assign IT1UN[6] = Ival1u;
  assign IT1UN[7] = Ival1u;

endmodule

 

 

  • Cancel
  • whiteriver
    whiteriver over 13 years ago

    you forgot the 'end' for your if block. You should modify it like this:

     

    always @(IN )

        if(IN > 2 ) begin

             Ival1u = 1u;

          Ival500n = 500n;

        end 

        else begin 

             Ival1u = 0;

         Ival500n = 0;

       end

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information