verilog: use a wider example and include an img
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
9901b83844
commit
03aab024d6
BIN
img/verilog-synthesis.png
Normal file
BIN
img/verilog-synthesis.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
23
index.html
23
index.html
@ -155,15 +155,16 @@
|
|||||||
<section>
|
<section>
|
||||||
<h2>What is an FPGA?</h2>
|
<h2>What is an FPGA?</h2>
|
||||||
<pre><code class="verilog" data-trim>
|
<pre><code class="verilog" data-trim>
|
||||||
module DFF (output reg Q, input C, D, R);
|
module example (output reg [0:5] Q, input C);
|
||||||
always @(posedge C)
|
reg [0:8] counter;
|
||||||
if (~R) begin
|
always @(posedge C)
|
||||||
Q <= 1'b0;
|
begin
|
||||||
end else begin
|
counter <= counter + 1'b1;
|
||||||
Q <= D;
|
Q = counter[7] ^ counter[5] | counter<<2;
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<img class="fragment" data-src="img/verilog-synthesis.png" alt="Verilog Synthesis">
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@ -172,10 +173,10 @@
|
|||||||
<li>5280 4-input LUTs (LC)</li>
|
<li>5280 4-input LUTs (LC)</li>
|
||||||
<li>16 kilobytes BRAM</li>
|
<li>16 kilobytes BRAM</li>
|
||||||
<li class="fragment highlight-blue">128 kilobytes "SPRAM"</li>
|
<li class="fragment highlight-blue">128 kilobytes "SPRAM"</li>
|
||||||
<li>Current-limited 3-channel LED</li>
|
<li>Current-limited 3-channel LED driver</li>
|
||||||
<li>2x I2C and 2x SPI</li>
|
<li>2x I2C and 2x SPI</li>
|
||||||
<li>8 16-bit DSP units</li>
|
<li>8 16-bit DSP units</li>
|
||||||
<li>Warmboot capability</li>
|
<li class="fragment highlight-blue">Warmboot capability</li>
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user