summaryrefslogtreecommitdiff
path: root/circuiti_digitali_minetest/slides/circuiti_digitali_minetest.rst
blob: 66815a0d8fa1ba7cd95f7b4718fd83891bc666ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
================================
 Circuiti digitali con Minetest
================================

-------------------------------------------------
 Prepariamoci alla rivoluzione delle FPGA libere
-------------------------------------------------

Microcontrollori
----------------

.. image:: img/UnoConnections.jpg
   :align: center

https://en.wikipedia.org/wiki/File:UnoConnections.jpg

FPGA
----

.. image:: img/icezum-alhambra-v1.1.jpg
   :align: center

https://github.com/fpgawars/icezum/wiki

Pre-2016
--------

* Ambiente fossilizzato
* Strumenti complessi

Oggi
----

http://www.clifford.at/icestorm/

::

   $ make
   iverilog -o bpl_tb.out bpl.v bpl_tb.v
   ./bpl_tb.out
   VCD info: dumpfile bpl_tb.vcd opened for output.
   component ok
   component ok
   yosys -p 'synth_ice40 -blif bpl.blif' bpl.v
   [...]

Domani
------

.. image:: img/icestudio.png
   :align: center

https://github.com/FPGAwars/icestudio/blob/develop/doc/images/main.png

Minetest
--------

.. image:: img/minetest.png
   :align: center

http://screenshots.debian.net/screenshots/000/014/670/large.png

Mesecons
--------

.. image:: img/mesecons.png
   :align: center

http://screenshots.debian.net/screenshots/000/014/980/large.png

Minetest: informazioni e download
---------------------------------

* https://www.minetest.net/
* http://mesecons.net/

Numeri decimali
---------------

.. math::

   123 = 1 * 10^2 + 2 * 10 + 3

Numeri binari
-------------

.. math::

   1010 = 1 * 2^3 + 0 * 2^2 + 1 * 2 + 0

Porte logiche: AND
------------------

+---+---+---------+
| A | B | A AND B |
+===+===+=========+
| 0 | 0 | 0       |
+---+---+---------+
| 0 | 1 | 0       |
+---+---+---------+
| 1 | 0 | 0       |
+---+---+---------+
| 1 | 1 | 1       |
+---+---+---------+

Porte logiche: OR
-----------------

+---+---+--------+
| A | B | A OR B |
+===+===+========+
| 0 | 0 | 0      |
+---+---+--------+
| 0 | 1 | 1      |
+---+---+--------+
| 1 | 0 | 1      |
+---+---+--------+
| 1 | 1 | 1      |
+---+---+--------+

Porte logiche: NOT
------------------

+---+-------+
| A | NOR A |
+===+=======+
| 0 | 1     |
+---+-------+
| 1 | 0     |
+---+-------+

Porte logiche: XOR
------------------

+---+---+---------+
| A | B | A XOR B |
+===+===+=========+
| 0 | 0 | 0       |
+---+---+---------+
| 0 | 1 | 1       |
+---+---+---------+
| 1 | 0 | 1       |
+---+---+---------+
| 1 | 1 | 0       |
+---+---+---------+

Altre informazioni
------------------

* http://fpgawars.github.io/
* https://github.com/Obijuan/open-fpga-verilog-tutorial/wiki


Queste slide
------------

https://git.trueelena.org/cgit.cgi/docs/talks/

Licenza Creative Commons Attribution-ShareAlike 4.0 International License.

https://www.gl-como.it