You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-src/Entrega-3.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
# 🔔 Assigment 3
1
+
# 🔔 Assessment 3
2
2
3
-
What should be delivered?
3
+
What should be delivered?
4
4
5
5
-**Folder:**`Entrega_3_FPGA_NIOS_IP`
6
-
-**Video** of the project working with an explanation (approx 1.5 min)
6
+
-**Video** of the project working with an explanation (approx. 1.5 min)
7
7
8
8
In this delivery, we will encapsulate the peripheral we created to control the stepper motor (`Entrega-1`) in Platform Designer (creating a memory-mapped peripheral) so that we have a dedicated component to control the motor.
9
9
@@ -24,7 +24,6 @@ The control logic must interface with the Stepper Motor peripheral on all contro
24
24
| 2 | VEL | R/W |
25
25
| ... | ... ||
26
26
27
-
28
27
The table above maps each address of the peripheral to a different functionality. In this example, if the user wants to activate the motor, they must write to address 0 of this peripheral.
29
28
30
29
> Note that some addresses are Read Only and others are Read/Write (type). This is because it doesn't make sense (nor is it physically possible) to write to some addresses.
@@ -37,7 +36,7 @@ The table above maps each address of the peripheral to a different functionality
37
36
In addition to the HW part, we will develop a C library that will abstract the interface with this peripheral.
38
37
The peripheral must have a driver capable of interacting with it. We will standardize some functions to define a standard interface:
39
38
40
-
```c
39
+
```c
41
40
// For rubric C
42
41
intmotor_init( ..... ); // Initializes the peripheral
43
42
int motor_halt( ..... ); // Deactivates the peripheral
@@ -48,9 +47,10 @@ int motor_en( ..... ); // Returns if there was any click
48
47
49
48
Add the following functions (each one + half a concept):
50
49
51
-
```c
50
+
```c
52
51
// For rubric B/A
53
52
int motor_dir( ..... ); // sets direction
54
53
int motor_vel( ..... ); // sets speed
55
54
```
56
55
This driver should be distributed in two files: `motor.c` and `motor.h`.
56
+
This driver should be distributed in two files: `motor.c` and `motor.h`.
Copy file name to clipboardExpand all lines: docs-src/Entrega-Extra-1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Now that we've seen how to interface ARM with FPGA, how about adding the peripheral you created in assignment 2 (the `peripheral_led`) and controlling the FPGA LEDs via Linux with your own peripheral?
4
4
5
5
1. Modify Platform Designer by adding your IP
6
-
- Note the address
6
+
- Note the address
7
7
1. Compile the project, generate the `.rbf` and `.dtb` (copy to the SD card)
Copy file name to clipboardExpand all lines: docs-src/Tutorial-FPGA-NIOS-IP.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# IP Core
1
+
# IP Core
2
2
3
3
In this tutorial, we will develop a custom peripheral for the NIOS processor, dedicated to controlling the board's LEDs. The peripheral will have an internal register bank for its control, and a "memory-mapped I/O" interface so we can control it from NIOS (using C code).
4
4
@@ -10,7 +10,7 @@ To follow this tutorial, you need:
10
10
-**Software:** Quartus 18.01
11
11
- Modelsim Simulator
12
12
13
-
Git submission:
13
+
Submission on git:
14
14
15
15
-**Folder:**`Lab3_FPGA_IP/`
16
16
@@ -345,7 +345,7 @@ Now add the component to the project and make the correct connections (as if it
345
345
346
346

347
347
348
-
Generate the component: Click on `Generate HDL`:arrow_right:`Generate`.
348
+
Generate the component: Click on `Generate`:arrow_right:`Generate`.
Copy file name to clipboardExpand all lines: docs-src/info-FPGA-e-Softwares.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@ Throughout the course, we will mainly work with Intel SoC FPGAs. The main develo
4
4
5
5
The development software for Intel FPGAs is called Quartus, and it has many versions and variations. Download the one indicated here to avoid having to reinstall everything.
6
6
7
-
8
7
!!! note "2020-2 Online Version"
9
8
You will receive the following materials to work on the course from home:
10
9
@@ -50,3 +49,4 @@ Along with Quartus installation, some other software is installed:
0 commit comments