zuloloxi / mecrisp-ice

http://mecrisp.sourceforge.net/ Mecrisp-Ice is an enhanced version of Swapforth and the J1a stack processor by James Bowman, featuring three MSP430 style IO ports, a tick counter, constant folding, inlining and tail-call optimisations
BSD 3-Clause "New" or "Revised" License
28 stars 4 forks source link

hx8k Won't synthesis on Laptop .. #1

Open bmentink opened 8 years ago

bmentink commented 8 years ago

It compiled ok on one other PC I have, but I get the following error on my Laptop:

Compile nucleus...
tdp FF0 tcp 0 
Compile Ice Cream Machine...
Free Pascal Compiler version 3.0.0 [2015/11/26] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling icecreammachine.pas
Linking icecreammachine
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
338 lines compiled, 0.2 sec
Compile additional Forth sources...
Generate initial data for RAM blocks...
Synthesize design...
ERROR: Can't open ABC output file `/tmp/yosys-abc-TymooS/output.blif'.
Place and Route...
seed: 1
device: 8k
read_chipdb +/share/arachne-pnr/chipdb-8k.bin...
  supported packages: cb132, cb132:4k, cm121, cm121:4k, cm225, cm225:4k, cm81, cm81:4k, ct256, tq144:4k
read_blif build/j1a.blif...
fatal error: read_blif: failed to open `build/j1a.blif': No such file or directory
Create Bitstream...
Error: Failed to open input file.

Also the hx1k does not synthesis on either machine ... same error ....

zuloloxi commented 7 years ago

You must use Open Source FPGA toolchain IceStorm : http://www.excamera.com/sphinx/article-j1a-swapforth.html

bmentink commented 7 years ago

I did ... I used the latest git package from AUR (icestorm-git) on Arch Linux ...

PS: By the way, Thanks for the somewhat delayed reply ;)

Mecrisp commented 7 years ago

I hope this is solved with the 0.9 package which I released on http://mecrisp.sourceforge.net/ recently. By the way, this is just a mirror of Mecrisp-Ice out in the wild I was not aware of for a very long time, bug reports should go to my e-mail-address given on the official home of the project on Sourceforge. Best wishes, Matthias

shri1527 commented 5 years ago

i have a very basic doubt. pls try to asnwer considering me as newbie . I want to write led blinking forth program. i have the knowledge of hardware and address map of leds . where should i put the code in nucleus.fs. i tried writing in : main but it didn't work. can anyone help me in it?