Open kallisti5 opened 4 years ago
https://github.com/tinyfpga/TinyFPGA-BX.git
examples/picofpga
arachne-pnr -d 8k -P cm81 -o hardware.asc -p hardware.pcf hardware.blif seed: 1 device: 8k read_chipdb +/share/arachne-pnr/chipdb-8k.bin... supported packages: bg121, bg121:4k, cb132, cb132:4k, cm121, cm121:4k, cm225, cm225:4k, cm81, cm81:4k, ct256, tq144:4k read_blif hardware.blif... prune... read_pcf hardware.pcf... hardware.pcf:43: warning: no port `pin_3' in top-level module `hardware', constraint ignored. hardware.pcf:44: warning: no port `pin_4' in top-level module `hardware', constraint ignored. hardware.pcf:45: warning: no port `pin_5' in top-level module `hardware', constraint ignored. hardware.pcf:46: warning: no port `pin_6' in top-level module `hardware', constraint ignored. hardware.pcf:47: warning: no port `pin_7' in top-level module `hardware', constraint ignored. hardware.pcf:48: warning: no port `pin_8' in top-level module `hardware', constraint ignored. hardware.pcf:49: warning: no port `pin_9' in top-level module `hardware', constraint ignored. hardware.pcf:50: warning: no port `pin_10' in top-level module `hardware', constraint ignored. hardware.pcf:51: warning: no port `pin_11' in top-level module `hardware', constraint ignored. hardware.pcf:52: warning: no port `pin_12' in top-level module `hardware', constraint ignored. hardware.pcf:53: warning: no port `pin_13' in top-level module `hardware', constraint ignored. hardware.pcf:56: warning: no port `pin_14' in top-level module `hardware', constraint ignored. hardware.pcf:57: warning: no port `pin_15' in top-level module `hardware', constraint ignored. hardware.pcf:58: warning: no port `pin_16' in top-level module `hardware', constraint ignored. hardware.pcf:59: warning: no port `pin_17' in top-level module `hardware', constraint ignored. hardware.pcf:60: warning: no port `pin_18' in top-level module `hardware', constraint ignored. hardware.pcf:61: warning: no port `pin_19' in top-level module `hardware', constraint ignored. hardware.pcf:62: warning: no port `pin_20' in top-level module `hardware', constraint ignored. hardware.pcf:63: warning: no port `pin_21' in top-level module `hardware', constraint ignored. hardware.pcf:64: warning: no port `pin_22' in top-level module `hardware', constraint ignored. hardware.pcf:65: warning: no port `pin_23' in top-level module `hardware', constraint ignored. hardware.pcf:66: warning: no port `pin_24' in top-level module `hardware', constraint ignored. hardware.pcf:77: warning: no port `pin_25' in top-level module `hardware', constraint ignored. hardware.pcf:78: warning: no port `pin_26' in top-level module `hardware', constraint ignored. hardware.pcf:79: warning: no port `pin_27' in top-level module `hardware', constraint ignored. hardware.pcf:80: warning: no port `pin_28' in top-level module `hardware', constraint ignored. hardware.pcf:81: warning: no port `pin_29' in top-level module `hardware', constraint ignored. hardware.pcf:82: warning: no port `pin_30' in top-level module `hardware', constraint ignored. hardware.pcf:83: warning: no port `pin_31' in top-level module `hardware', constraint ignored. instantiate_io... pack... After packing: IOs 13 / 63 GBs 0 / 8 GB_IOs 0 / 8 LCs 5671 / 7680 DFF 1490 CARRY 821 CARRY, DFF 157 DFF PASS 524 CARRY PASS 66 BRAMs 20 / 32 WARMBOOTs 0 / 1 PLLs 0 / 1 place_constraints... promote_globals... promoted clk_16mhz$2, 1687 / 1687 promoted $abc$59856$auto$alumacc.cc:474:replace_alu$7065.AA[0], 555 / 555 promoted resetn, 324 / 324 promoted $abc$59856$auto$dff2dffe.cc:175:make_patterns_logic$47631, 96 / 96 promoted soc.cpu.pcpi_div.start, 163 / 163 promoted soc.cpu.pcpi_mul.mul_waiting, 216 / 216 promoted $abc$59856$auto$dff2dffe.cc:158:make_patterns_logic$36000, 73 / 73 promoted $abc$59856$auto$dff2dffe.cc:175:make_patterns_logic$48349, 64 / 64 promoted 8 nets 3 sr/we 4 cen/wclke 1 clk 8 globals 3 sr/we 4 cen/wclke 1 clk realize_constants... realized 1 place... initial wire length = 112543 at iteration #50: temp = 12.916, wire length = 101740 at iteration #100: temp = 7.73328, wire length = 75558 at iteration #150: temp = 3.96982, wire length = 51249 at iteration #200: temp = 1.74722, wire length = 35478 at iteration #250: temp = 0.0963064, wire length = 26527 at iteration #300: temp = 2.1477e-06, wire length = 26063 final wire length = 26047 After placement: PIOs 18 / 63 PLBs 866 / 960 BRAMs 20 / 32 place time 40.32s route... /usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::reference = std::pair<int, int>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed. make: *** [Makefile:10: hardware.asc] Aborted (core dumped)
$ rpm -qa | grep pnr arachne-pnr-0.1-0.7.20190729gitc40fb22.fc31.x86_64 $ arachne-pnr -v arachne-pnr 0.1+ (git sha1 c40fb22, g++ 9.1.1 -O2 -fexceptions -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection)
arachne-pnr is not developed for a long time, use nextpnr.
https://github.com/tinyfpga/TinyFPGA-BX.git
examples/picofpga