Closed miek closed 4 years ago
@miek While I'm stopping by for my irregular "make sure openfpga still works" test, it looks like the problem line is here:
init_state: numeric_param("INIT")? != 0
INIT
has become a string parameter as of your linked commit in order to handle z
and x
. But in xc2par
, it's only useful for extracting numerical values. I'm not sure the best way to fix this offhand, but I would personally add code to the linked else
clause to do a TryFrom
conversion from a string to int.
Thank you for using and reporting bugs in openfpga! I believe I have fixed this issue in commit 0fe16977b5307840cd5498c2e93f197e93b12f56.
I'm trying out xc2par and following the quick start instructions in @rqou's blog post: https://robertou.com/unofficial-open-source-place-and-route-for-xilinx-coolrunner-ii-cplds.html
I'm running into the following error:
and the relevant part of the json looks like this:
I've done a bisect on Yosys and found that YosysHQ/yosys@15fae357f6c7a5c205d2733cd0b2640eecd17a2d is the first commit that causes problems. I don't know enough about the internals to figure out the correct fix, so I'm hoping someone can point me in the right direction. Cheers!