Re: tools for the Lattice ICE-40 FPGA.

Edward Vidal <[email protected]>
Newsgroups gmane.comp.python.myhdl
Message-ID <[email protected]>
Hello All,Ran the test that Chris provided "time python ex_icestick.py" on 2 Ubuntu 12.04(2 core & 6 core AMD) and Pi 2B built w/yocto.  GCC needed to be upgraded to 4.9 from 4.6 to compile the tools.  This site provides and explanation on how to upgrade.  http://charette.no-ip.com:81/programming/2011-12-24_GCCv47/
 
| Yocto Pi 2B | 
 |
| 
 | 
 |
| real | 0m20.943s |
| user | 0m12.210s |
| sys | 0m0.500s |
| 
 | 
 |
| Ubuntu 2 core | 
 |
| real | 0m5.310s |
| user | 0m1.865s |
| sys | 0m0.197s |
| 
 | 
 |
| Ubuntu 6 core | 
 |
| 
 | 
 |
| real | 0m3.956s |
| user | 0m1.093s |
| sys | 0m0.120s |

 Dave completed the layout of the ICE-40 board a few days ago. 
   
   - Lattice iCE40-HX8K FPGA in 256-pin BGA.
   - 32 MByte SDRAM (16M x 16).
   - Serial configuration flash (at least 2 Mbit).
   - Three Grove connectors.
   - Two PMOD connectors.
   - One 20x2 header with 3.3V, ground and 18 FPGA I/Os.
   - Two SATA headers (for differential signals; don't know if they would work with SATA HDDs.)
   - DIP switch with four SPST switches.
   - Two momentary pushbuttons.
   - Four LEDs.
   - 32 KByte HAT EEPROM.
   - 40-pin RPi GPIO header.
 Excited to test.
Let me know if you have any questions.Cheers
Edward Vidal Jr. e-mail [email protected] 915-595-1613 


     On Tuesday, September 15, 2015 7:11 AM, Edward Vidal <[email protected]> wrote:
   

 Chris,Test results myhdl  15 sec yosys  11 sec
The resulting files are located at https://github.com/develone/raspberrypi2_yocto.git
The folder benchmark_yosys contains the file bench_mark_yosys.txt the steps I used and the files generated on RaspBerry Pi 2B.  It also has the iceiver folder.   Note chmod +x iceriver/icestick.sh to make it work.  Now need to compare the generated files that you got on Ubuntu.Let me if that is what you wanted.  I do not have a board to test the bin file.Regards Edward Vidal Jr. e-mail [email protected] 915-595-1613 


     On Monday, September 14, 2015 10:28 PM, Christopher Felton <[email protected]> wrote:
   

 On 9/14/15 2:32 PM, Edward Vidal wrote:
> Hi Chris, I added code to compute the shasum and now the make test is
> running longer.  I now are seeing 29 bin files.  This after
> installing the shasum which is about 50 mins.
>
> ls -la ~/shasum ; date -rwxr-xr-x 1 root root 23216 Sep 14 17:27
> /home/root/shasum Mon Sep 14 18:09:18 UTC 2015

Kinda, but I was curious how long it would comparatively
take to generate a bitstream starting with a myhdl file.

I don't have an R2 (or 1) to test but the following is
an example starting with a myhdl file, generating a
bitstream for an icestick using the open-source tools [1].

I built this into some automation stuff I have used in
the past.  Running the example on my old'sh ubuntu system
I get:

    >> time python ex_icestick.py
    real  0m3.6s

The above converts the simple myhdl file, then runs the
yosys/arachne/icestorm to generate the bitstream.  I
don't have an icestick so I couldn't test it.

Regards,
Chris

[1] 
https://github.com/cfelton/rhea/blob/master/examples/build/ex_icestick.py


------------------------------------------------------------------------------
_______________________________________________
myhdl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/myhdl-list


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

_______________________________________________
myhdl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/myhdl-list

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140

_______________________________________________
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.