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.

[SOLVED] using a verilog keyword in rtl

Status
Not open for further replies.

fragnen

Full Member level 4
Full Member level 4
Joined
Apr 3, 2019
Messages
211
Helped
0
Reputation
0
Reaction score
1
Trophy points
18
Activity points
1,490
The Verilog has a keyword posedge. Can poedge be used as the the name of one of the input pins of a module in a rtl as below? Can a parameter named posedge be used as shown below in a rtl? Please reply.

module adder (posedge, in1, out1);
input posedge;
input in1;
output out1;
.......
.......
endmodule

module subt( in3, in4, out2....);
parameter posedge;
input in3, in4;
output out2;
.........
.........
endmodule
 

Will there be any drawback if such a rtl is synthesized and already send for tapeout?
 

The "posedge" in the code must have been mixed case or all uppercase in the HDL code that was synthesized, p&r, an taped out. Otherwise it wouldn't have successfully been taped out.

The Verilog keyword is "posedge" (all lowercase); POSEDGE, PosEdge, etc are NOT keywords. It is a very poor practice to use keywords in such a fashion.
 
  • Like
Reactions: rca

Sorry, but this is just a stupid question. There are an infinite number of words that are NOT keywords; just use one of those.
 

what is the value to reuse keyword, the human is enough clever to create new name.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top