|
发表于 2022-4-29 15:10:30
|
显示全部楼层
ncx:
Generating Verilog Files
Library Compiler generates a Verilog model from a .lib file and creates a cell.v Verilog file for each cell in the library. By default, Library Compiler creates the cell.v files in the user-defined library_name_verilog directory, under the current working directory. If the library_name_verilog directory already exists under the current working directory, the newly generated cell.v files overwrite the existing files in the directory, and Library Compiler issues a warning message.
Use the following commands to generate Verilog models:
1.To enable Verilog model generation, set the veriloglib_enable variable to true. By default, the variable is set to false, and a Verilog file is not generated.
set veriloglib_enable [true | false]
2.To create a Verilog file from a .lib file, run the write_lib command in lc_shell and specify the .lib library name as shown:
write_lib -format verilog library_name |
|