Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is (*S = "TRUE") in Verilog?

Status
Not open for further replies.

Min02

Newbie
Joined
Jan 25, 2022
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
Hello,
I found (*S = "TRUE"*) in verilog code.
What does it mean??
the pic is below.
Please help me!
this code is part of True Random Number Generator!
 

Attachments

  • S 질문.PNG
    S 질문.PNG
    7.6 KB · Views: 209

This is an Attribute , which is like an embedded note attached to the source text. They were introduced in Verilog-2001 to replace ad-hoc comment pragmas so they could formally parsed and processed by other applications. See section 5.12 Attributes in the IEEE 1800-2017 SystemVerilog LRM.

Most attributes are used by synthesis tools to direct how the source code is to be implemented. I haven't seen this one before so you'll probably have to ask the person/vendor who wrote the code.
 

Hello,
I found (*S = "TRUE"*) in verilog code.
What does it mean??
the pic is below.
Please help me!
this code is part of True Random Number Generator!
Kind of bringing up a topic from the dead, but something like this would be very useful. Ideally, you spec out your particular design's constraints in Chisel and Chisel will dump some config file (or something into the Verilog code) that will make sure that everything is interpreted correctly by the desired tool.

I had an issue where the Verilog synthesized properly (passed simulation) only when distributed RAM was inferred, but the timing didn't match what was supported by BRAM (which was inferred by default), so I had to add in the additional synthesis option.
 

As stated, Verilog attributes are tool specific. You need to consult the respective tool manual. I never came across a single letter attribute name like "S", usually attributes have descriptive names.
 

this looks a lot like a typical keep/preserve attribute, but like others, I have not seen this S before. has to be specific to a tool. is this code automatically generated by any chance?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top