#87 Generating cell model .v file merges files inc...
# open_pdks
g
#87 Generating cell model .v file merges files incompatible with IcarusVerilog Issue opened by donn (Note: The reason I'm raising this as an issue instead of a private report and discussion is that it directly affects an issue raised by @mahmoodulhassan-lm with Fault. Cloud-V/Fault#13) The constructed file list for sky130 is as follows:
Copy code
/opt/pdks/sky130/sky130_fd_sc_hd/latest/models/*/*.v
/opt/pdks/sky130/sky130_fd_sc_hd/latest/cells/*/*.*.v
/opt/pdks/sky130/sky130_fd_sc_hd/latest/cells/*/*.v
• Now note that this required a separate tweak to sky130, namely, I had to symlink ./libraries/sky130_fd_sc_hd to ./sky130_fd_sc_hd. Otherwise it simply fails to find any files. That said, the issue in question appears to be from the skywater PDK's
libraries/sky130_fd_sc_hd/latest/cells/dlxbn/sky130_fd_sc_hd__dlxbn.behavioral.v
file: it is not compatible with IcarusVerilog. From what I can gather, open_pdks merges anything ending with a .v in both the cells and models folders, when only a certain number of files should've been actually merged. I'm not 100% sure naturally, but that appears to be the case. RTimothyEdwards/open_pdks