tools for the Lattice ICE-40 FPGA.

Edward Vidal <[email protected]>
Newsgroups gmane.comp.python.myhdl
Message-ID <[email protected]>
Hi all,
I just completed  building the tools (Yosys, arachne-pnr, and icebox)  for the Lattice ICE-40.   It appears this will fit on a 4GB SD card.
With the board that XESS is making this will be a standalone HDL development system with GTKWave, XSTOOLs, Iverilog, arachne-pnr(place and route), Yosys (Yosys is a framework for Verilog RTL synthesis), icebox(this will not be needed since XESS is going to push the bit file with GPIO instead of USB), and MyHDL.These were built on a custom image for the Raspberry Pi 2 B with Yocto.

If you have any questions let me know.Regards,
Below are some tests that I ran on Raspberry Pi 2 B.
g++ -Isrc -std=c++11 -MD -O2  -Wall -Wshadow -Wsign-compare -Werror   -c -o tests/test_bv.o tests/test_bv.cc
g++ -Isrc -std=c++11 -MD -O2  -Wall -Wshadow -Wsign-compare -Werror  -o tests/test_bv tests/test_bv.o
g++ -Isrc -std=c++11 -MD -O2  -Wall -Wshadow -Wsign-compare -Werror   -c -o tests/test_us.o tests/test_us.cc
g++ -Isrc -std=c++11 -MD -O2  -Wall -Wshadow -Wsign-compare -Werror  -o tests/test_us tests/test_us.o
./tests/test_bv
./tests/test_us
make -C examples/rot clean && make -C examples/rot
make[1]: Entering directory '/home/root/arachne-pnr/examples/rot'
rm -f rot.blif rot.txt rot.ex rot.bin
make[1]: Leaving directory '/home/root/arachne-pnr/examples/rot'
make[1]: Entering directory '/home/root/arachne-pnr/examples/rot'
yosys -q -p "synth_ice40 -blif rot.blif" rot.v
Warning: Wire top.ready has an unprocessed 'init' attribute.
../../bin/arachne-pnr -p rot.pcf rot.blif -o rot.txt
seed: 1
device: 1k
read_chipdb +/share/arachne-pnr/chipdb-1k.bin...
  supported packages: tq144
read_blif rot.blif...
prune...
read_pcf rot.pcf...
instantiate_io...
pack...

After packing:
IOs          6 / 96
LCs          66 / 1280
  DFF        29
  CARRY      23
  CARRY, DFF 0
  DFF PASS   5
  CARRY PASS 2
BRAMs        0 / 16
WARMBOOTs    0 / 1
GBs          0 / 8

promote_globals...
  promoted clk$2, 29 / 29
  promoted $abc$447$n1, 28 / 28
  promoted 2 nets
    1 sr/we
    1 clk
  2 globals
    1 sr/we
    1 clk
realize_constants...
  realized 1
place...
  initial wire length = 1015
  final wire length = 101

After placement:
PIOs       4 / 96
PLBs       16 / 160
BRAMs      0 / 16

  place time 2.03s
route...
  pass 1, 0 shared.
  route time 0.72s
write_txt rot.txt...
icebox_explain rot.txt > rot.ex
icepack rot.txt rot.bin
make[1]: Leaving directory '/home/root/arachne-pnr/examples/rot'
cd tests/simple && ICEBOX=/usr/local/share/icebox bash run-test.sh
+ arachne_pnr=../../bin/arachne-pnr
+ devices='1k 8k'
+ : /usr/local/share/icebox
+ rm -f txt.sum
+ for d in '$devices'
+ rm -rf 1k
+ mkdir 1k
+ ../../bin/arachne-pnr -d 1k -c /usr/local/share/icebox/chipdb-1k.txt --write-binary-chipdb 1k/chipdb-1k.bin
seed: 1
device: 1k
read_chipdb /usr/local/share/icebox/chipdb-1k.txt...
write_binary_chipdb 1k/chipdb-1k.bin
+ ../../bin/arachne-pnr -d 1k -c 1k/chipdb-1k.bin --write-binary-chipdb 1k/chipdb2-1k.bin
seed: 1
device: 1k
read_chipdb 1k/chipdb-1k.bin...
write_binary_chipdb 1k/chipdb2-1k.bin
+ cmp 1k/chipdb-1k.bin 1k/chipdb2-1k.bin
+ ../../bin/arachne-pnr -d 1k sb_up3down5.blif -o 1k/sb_up3down5.txt
seed: 1
device: 1k
read_chipdb +/share/arachne-pnr/chipdb-1k.bin...
  supported packages: tq144
read_blif sb_up3down5.blif...
prune...
instantiate_io...
pack...

After packing:
IOs          24 / 96
LCs          50 / 1280
  DFF        12
  CARRY      0
  CARRY, DFF 0
  DFF PASS   7
  CARRY PASS 0
BRAMs        0 / 16
WARMBOOTs    0 / 1
GBs          0 / 8

promote_globals...
  promoted clock$2, 12 / 12
  promoted 1 nets
    1 clk
  1 globals
    1 clk
realize_constants...
place...
  initial wire length = 383
  final wire length = 169

After placement:
PIOs       13 / 96
PLBs       15 / 160
BRAMs      0 / 16

  place time 2.60s
route...
  pass 1, 0 shared.
  route time 0.88s
write_txt 1k/sb_up3down5.txt...
+ shasum 1k/sb_up3down5.txt
run-test.sh: line 21: shasum: command not found
Makefile:50: recipe for target 'test' failed
make: *** [test] Error 127 Edward Vidal Jr. e-mail [email protected] 915-595-1613

------------------------------------------------------------------------------

_______________________________________________
myhdl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/myhdl-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.