Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail in make ICESTICK #73

Open
steven07210011 opened this issue Sep 7, 2022 · 2 comments
Open

fail in make ICESTICK #73

steven07210011 opened this issue Sep 7, 2022 · 2 comments

Comments

@steven07210011
Copy link

when i run make ICESTICK and it show fail
./PROCESSOR/femtorv32_quark.v:68: warning: Attributes are not supported on net declaration assignments and will be discarded.
ARCH=rv32i
OPTIMIZE=-Os
ABI=ilp32
RAM_SIZE= 6144
DEVICES= -DICE_STICK=1
BOARD=icestick
(cd FIRMWARE; make libs)
make[1]: Entering directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE'
(cd LIBFEMTOGL; make clean all) # Compile graphic library
make[2]: Entering directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/LIBFEMTOGL'
Configuring for Raspberry Pi
../makefile.inc:98: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:102: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:106: warning: ignoring prerequisites on suffix rule definition
rm -f *.o *.elf *.hex *.exe *~ *.a *.bin *.list
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC font_8x16.S -o font_8x16.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC font_8x8.S -o font_8x8.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC font_5x6.S -o font_5x6.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC font_3x5.S -o font_3x5.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femtoGL.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femtoGLtext.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femtoGLfill_rect.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femtoGLsetpixel.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femtoGLline.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femtoGLfill_poly.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c tty_init.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c max7219_text.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c FGA_mode.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c FGA.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femto_GUI.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-ar cq libfemtoGL.a font_8x16.o font_8x8.o font_5x6.o font_3x5.o femtoGL.o femtoGLtext.o femtoGLfill_rect.o femtoGLsetpixel.o femtoGLline.o femtoGLfill_poly.o tty_init.o max7219_text.o FGA_mode.o FGA.o femto_GUI.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-ranlib libfemtoGL.a
make[2]: Leaving directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/LIBFEMTOGL'
(cd LIBFEMTORV32; make clean all) # Compile hardware support lib
make[2]: Entering directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/LIBFEMTORV32'
Configuring for Raspberry Pi
../makefile.inc:98: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:102: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:106: warning: ignoring prerequisites on suffix rule definition
rm -f *.o *.elf *.hex *.exe *~ *.a *.bin *.list
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC femtorv32.S -o femtorv32.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC max7219.S -o max7219.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC ssd1351_1331.S -o ssd1351_1331.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC ssd1351_1331_init.S -o ssd1351_1331_init.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC uart.S -o uart.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c keyboard.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c virtual_io.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c wait_cycles.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c microwait.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c milliwait.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c milliseconds.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c spi_sd.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c cycles_32.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC cycles_64.S -o cycles_64.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c filesystem.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c exec.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c femto_elf.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_access.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_cache.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_filelib.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_format.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_misc.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_string.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_table.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c fat_io_lib/fat_write.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-ar cq libfemtorv32.a femtorv32.o max7219.o ssd1351_1331.o ssd1351_1331_init.o uart.o keyboard.o virtual_io.o wait_cycles.o microwait.o milliwait.o milliseconds.o spi_sd.o cycles_32.o cycles_64.o filesystem.o exec.o femto_elf.o fat_access.o fat_cache.o fat_filelib.o fat_format.o fat_misc.o fat_string.o fat_table.o fat_write.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-ranlib libfemtorv32.a
make[2]: Leaving directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/LIBFEMTORV32'
(cd LIBFEMTOC; make clean all) # Compile lib with printf() replacement function
make[2]: Entering directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/LIBFEMTOC'
Configuring for Raspberry Pi
../makefile.inc:98: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:102: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:106: warning: ignoring prerequisites on suffix rule definition
rm -f *.o *.elf *.hex *.exe *~ *.a *.bin *.list
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c print.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c printf.c
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-ar cq libfemtoc.a print.o printf.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-ranlib libfemtoc.a
make[2]: Leaving directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/LIBFEMTOC'
(cd CRT; make clean all) # Compile C runtime for baremetal
make[2]: Entering directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/CRT'
Configuring for Raspberry Pi
../makefile.inc:98: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:102: warning: ignoring prerequisites on suffix rule definition
../makefile.inc:106: warning: ignoring prerequisites on suffix rule definition
rm -f *.o *.elf *.hex *.exe *~ *.a *.bin *.list
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC crt0_baremetal.S -o crt0_baremetal.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-as -march=rv32i -mabi=ilp32 -defsym ICE_STICK=1 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC crt0_spiflash.S -o crt0_spiflash.o
/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//TOOLCHAIN/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-arm/bin/riscv-none-embed-gcc -Os -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOGL -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTORV32 -I/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE//LIBFEMTOC -DICE_STICK=1 -fno-pic -march=rv32i -mabi=ilp32 -fno-stack-protector -w -Wl,--no-relax -c syscalls.c
make[2]: Leaving directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE/CRT'
==== Generated femtorv32 libs.
make[1]: Leaving directory '/home/pi/Projects/fpga/learn-fpga/FemtoRV/FIRMWARE'
yosys -DICE_STICK -q -p "synth_ice40 -relut -top femtosoc -json femtosoc.json" RTL/femtosoc.v
Warning: Yosys has only limited support for tri-state logic at the moment. (RTL/DEVICES/MappedSPIFlash.v:292)
nextpnr-ice40 --force --json femtosoc.json --pcf BOARDS/icestick.pcf --asc femtosoc.asc --freq 12 --hx1k --package tq144 --opt-timing
Info: constrained 'pclk' to bel 'X0/Y8/io1'
Warning: unmatched constraint 'oled_DIN' (on line 3)
Warning: unmatched constraint 'oled_CLK' (on line 4)
Warning: unmatched constraint 'oled_CS' (on line 5)
Warning: unmatched constraint 'oled_DC' (on line 6)
Warning: unmatched constraint 'oled_RST' (on line 7)
Info: constrained 'D1' to bel 'X13/Y12/io1'
Info: constrained 'D2' to bel 'X13/Y12/io0'
Info: constrained 'D3' to bel 'X13/Y11/io1'
Info: constrained 'D4' to bel 'X13/Y11/io0'
Info: constrained 'D5' to bel 'X13/Y9/io1'
Info: constrained 'TXD' to bel 'X0/Y12/io0'
Info: constrained 'RXD' to bel 'X0/Y11/io1'
Warning: unmatched constraint 'ledmtx_DIN' (on line 18)
Warning: unmatched constraint 'ledmtx_CS' (on line 19)
Warning: unmatched constraint 'ledmtx_CLK' (on line 20)
Info: constrained 'spi_cs_n' to bel 'X12/Y0/io1'
Info: constrained 'spi_miso' to bel 'X11/Y0/io1'
Info: constrained 'spi_mosi' to bel 'X11/Y0/io0'
Info: constrained 'spi_clk' to bel 'X12/Y0/io0'
Info: constrained 'RESET' to bel 'X5/Y0/io0'
Warning: unmatched constraint 'irda_TXD' (on line 29)
Warning: unmatched constraint 'irda_RXD' (on line 30)
Warning: unmatched constraint 'irda_SD' (on line 31)

Info: Packing constants..
Info: Packing IOs..
Info: Packing LUT-FFs..
Info: 948 LCs used as LUT4 only
Info: 206 LCs used as LUT4 and DFF
Info: Packing non-LUT FFs..
Info: 122 LCs used as DFF only
Info: Packing carries..
Info: 1 LCs used as CARRY only
Info: Packing indirect carry+LUT pairs...
Info: 1 LUTs merged into carry LCs
Info: Packing RAMs..
Info: Placing PLLs..
Info: constrained PLL 'pll.pll' to X6/Y0/pll_3
Info: Packing special functions..
Info: Packing PLLs..
Info: Promoting globals..
Info: promoting clk (fanout 360)
Info: promoting mapped_spi_flash.rstrb [reset] (fanout 28)
Info: promoting uart.brk_SB_LUT4_I3_O[0] [reset] (fanout 26)
Info: promoting spi_mosi_SB_LUT4_I3_I1_SB_LUT4_I3_O [cen] (fanout 45)
Info: promoting processor.state_SB_DFFESR_Q_E_SB_LUT4_O_I2_SB_LUT4_O_1_I2_SB_LUT4_I1_O[1] [cen] (fanout 35)
Info: promoting processor.state_SB_DFFSR_Q_D_SB_LUT4_I3_O [cen] (fanout 30)
Info: promoting processor.PC_SB_DFFESR_Q_E [cen] (fanout 22)
Info: Constraining chains...
Info: 13 LCs used to legalise carry chains.
Info: Checksum: 0xa7f1fc4c

Info: Annotating ports with timing budgets for target frequency 12.00 MHz
Info: Checksum: 0x97f89c79

Info: Device utilisation:
Info: ICESTORM_LC: 1297/ 1280 101%
Info: ICESTORM_RAM: 16/ 16 100%
Info: SB_IO: 13/ 112 11%
Info: SB_GB: 7/ 8 87%
Info: ICESTORM_PLL: 1/ 1 100%
Info: SB_WARMBOOT: 0/ 1 0%

Info: Placed 14 cells based on constraints.
Info: Creating initial analytic placement for 1123 cells, random placement wirelen = 18007.
Info: at initial placer iter 0, wirelen = 522
Info: at initial placer iter 1, wirelen = 563
Info: at initial placer iter 2, wirelen = 555
Info: at initial placer iter 3, wirelen = 524
Info: Running main analytical placer.
ERROR: Failed to expand region (0, 0) |_> (13, 17) of 1297 ICESTORM_LCs
11 warnings, 1 error
make: *** [BOARDS/icestick.mk:12: ICESTICK.synth] Error 255

may i know how to solve it?

@BrunoLevy
Copy link
Owner

Seems that depending on the version of yosys the same design will fit on the icestick or not. Try deactivating the devices that you do not need (OLED display, LED matrix if you do not use them).
I'll investigate on my side and tell you...

@steven07210011
Copy link
Author

Seems that depending on the version of yosys the same design will fit on the icestick or not. Try deactivating the devices that you do not need (OLED display, LED matrix if you do not use them). I'll investigate on my side and tell you...

Ok take noted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants