Open narutozxp opened 1 year ago
@narutozxp FPGA-SPICE has not been ported to OpenFPGA yet. Currently, it is a low priority to us. If you have some strong need, please let us know.
@tangxifan Yes, i just hope to use spice to get the power of FPGA subcircuit. So, is there any method that could be used if FPGA-SPCAE has not been ported to OpenFPGA. By the way, as I wish to fix the bug, could you give some tips about how to modify the code of OpenFPGA. Thanks!
@tangxifan Hello, it seems an unnecessary space after the character, "X" , which results incorrect spice file. https://github.com/lnis-uofu/OpenFPGA/blob/3c50d1cd96def24b71366a5e85b3114d2728e8dd/openfpga/src/fpga_spice/spice_writer_utils.cpp#L260
As i used the command of
write_fabric_spice --file ./SPICE --verbose
to generate spice netlist, the OpenFPGA didn't raise any error. Just like what i expected, transistor.sp was correct, but muxes.sp was not. the two netlists are as follows:In my opinion, there shouldn't be a space between 'X' and its following character. How can i solve this bug. Thanks!