![]() Identifiers are names used to give an object, such as a register or a function or a module, a name so that it can be referenced from other places in a description. NOTE : Never use Verilog keywords as unique names, even if the case is different. You could download file unique_names.v here Lower case letters are unique from upper case letters.Multi line comments begin with the token /* and end with the token */Ģ4 25 endmodule You could download file comment.v here.Single line comments begin with the token // and end with a carriage return.There are two forms to introduce comments. However, blanks and tabs are significant in strings.ģ wire a,b,ci,sum,co endmodule You could download file bad_code.v hereġ7 18 endmodule You could download file good_code.v here These characters are ignored except when they serve to separate other tokens. White space can contain the characters for blanks, tabs, newlines, and form feeds. Verilog HDL is a case-sensitive language. The basic lexical conventions used by Verilog HDL are similar to those in the C programming language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |