Open LaneaLucy opened 3 months ago
to get the verilog file (im running the command in "/home/lanealucy/litex/"):
Please attach the complete reproduction steps to this issue, including all files required to reproduce it without depending on third-party software. In this case this would be all of the Verilog files your script references.
Hi, I've got the exact same problem!
There's a IDES4_MEM in /opt/gowin-1.9.8/IDE/bin/prim_syn.v but no IDES4_MEM_15 It might be an issue with Apypula respectively with Litex itself
OK, it's IDES4_MEM which is missing, I've just checked in the Verilog code
//------------------------------------------------------------------------------ // Instance IDES4_MEM_15 of IDES4_MEM Module. //------------------------------------------------------------------------------ IDES4_MEM IDES4_MEM_15( // Inputs. .CALIB (1'd0), .D (gw2ddrphy_dq_i15), .FCLK (sys2x_clk), .ICLK (gw2ddrphy_dqsr901), .PCLK (sys_clk), .RADDR (gw2ddrphy_rdpntr1), .RESET (sys_rst), .WADDR (gw2ddrphy_wrpntr1),
// Outputs.
.Q0 (gw2ddrphy_bitslip15_i[0]),
.Q1 (gw2ddrphy_bitslip15_i[1]),
.Q2 (gw2ddrphy_bitslip15_i[2]),
.Q3 (gw2ddrphy_bitslip15_i[3])
);
The issue is with Apycula not providing this cell as a dependency
OK, no, seems to be a problem in Yosys after all
I made a pull request solving this issue https://github.com/YosysHQ/yosys/pull/4545
Version
Yosys 0.42+12 (git sha1 62bff3a20, g++ 11.4.0-1ubuntu1~22.04 -fPIC -Os)
On which OS did this happen?
Linux
Reproduction Steps
try to synthesize the output of litex
to get the verilog file (im running the command in "/home/lanealucy/litex/"): python3 -m litex_boards.targets.sipeed_tang_primer_20k --build
here a example yosys script
Expected Behavior
synthesize
Actual Behavior