Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5e7994

Browse files
committed
Updated toolchain installation instruction: using precompiled packages
from YosysHQ
1 parent 408c244 commit a5e7994

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

FemtoRV/FIRMWARE/EXAMPLES/hello_LED.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ int main() {
77
MAX7219_tty_init(); // redirect printf() to led matrix scroller
88
for(;;) {
99
printf("Hello, RISC-V world \001 \002 \001 \002 ");
10+
// printf("Hello, TelecomNancy ! \001 \002 Best school ! \001 \002 ");
1011
// printf("Hello FemtoRV friend !!! \001 \002 \001 \002 ");
1112
// printf("Hello, Hackaday \001 \002 Greetings from FemtoRV !!! ");
1213
}

FemtoRV/TUTORIALS/FROM_BLINKER_TO_RISCV/step7_with_disasm.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module SOC (
9595

9696
integer i;
9797
initial begin
98-
for(i=0; i<32; ++i) begin
98+
for(i=0; i<32; i=i+1) begin
9999
RegisterBank[i] = 0;
100100
end
101101
end

FemtoRV/TUTORIALS/toolchain.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
Installing open-source tools for FPGA development
22
=================================================
33

4+
Latest news (April 2023): pre-built toolchain for
5+
Ice40 and ECP5-based FPGAs can be downloaded
6+
from [here](https://github.com/YosysHQ/oss-cad-suite-build/releases)
7+
(Windows/Mac/Linux).
8+
9+
Just download the package, and
10+
set the path using `source ~/where/you/unpacked/it/oss-cad-suite/environment`
11+
everytime you want to use it (thanks @mecrisp for pointing at that).
12+
13+
What follows is for folks who want to compile the tools on their own,
14+
or if you have something else than an Ice40 or ECP5 (for instance, an ARTY).
15+
416
_Note: the following instructions are for Linux (I'm using Ubuntu).
517
Windows users can run the tutorial using WSL. It requires some
618
adaptation, as explained [here](WSL.md)._

0 commit comments

Comments
 (0)