Filippo
07/25/2023, 10:13 AMvlog2Verilog
. Now with Yosys, I would like to convert this file to a spice file with write_spice
. The steps that i follow are:
yosys
read_liberty -lib sky130_fd_sc_hd__tt_025C_1v80.lib
read_verilog counter.v
synth -top counter
When I run the last cmd I have this error :
3. Executing SYNTH pass.
3.1. Executing HIERARCHY pass (managing design hierarchy).
3.1.1. Analyzing design hierarchy..
Top module: \counter
ERROR: Module `sky130_fd_sc_hd__dfxtp_1' referenced in module `counter' in cell `_30_' does not have a port named 'VPWR'.
Tim Edwards
07/25/2023, 12:42 PMvlog2Spice
from qflow (instead of/in addition to vlog2Verilog
).Filippo
07/25/2023, 1:03 PMTim Edwards
07/27/2023, 2:58 PMvlog2spice
and vlog2verilog
, you would need to build qflow; they are standalone applications, though, so you wouldn't necessarily need to install qflow, just build it and grab the two programs. Qflow is a very lightweight application, and these are simple C code programs that should have no issues compiling.