de     

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:software:default_firmware [2017/10/10 13:15] – [ezusb_io.v] 87.177.180.166en:software:default_firmware [2017/10/10 13:27] – [ezusb_gpio.v] 87.177.180.166
Line 82: Line 82:
 The user-interface is the same for both EZ-USB variants. Only the hardware pins depends on type of FPGA-Board and are omitted here (copy it from the examples). A short description is given in the comments.  The user-interface is the same for both EZ-USB variants. Only the hardware pins depends on type of FPGA-Board and are omitted here (copy it from the examples). A short description is given in the comments. 
 <code verilog> <code verilog>
 +// all directions are seen from FPGA
 module ezusb_lsi ( module ezusb_lsi (
  // control signals  // control signals
Line 99: Line 100:
     );     );
 </code>     </code>    
 +
 +==== ezusb_gpio.v ====
 +The default interface implements 4 freely usable and independent bidirectional GPIO pins. It is used in the [[en:ztex_boards:ztex_fpga_boards:memfifo:memfifo|memfifo examle]]. The user interface is independent from FPGA board and listed an described (see the comments) below. Just the hardware pins differ (omitted below). 
 +
 +<code verilog>
 +// all directions are seen from FPGA
 +module ezusb_gpio (
 + // control signals
 + input clk, // system clock, minimum frequency is 24 MHz
 + // hardware pins
 +        // ...
 + // interface
 + output reg [3:0] in,         // inputs
 + input [3:0] out // wired-OR outputs: GPIO's not used for output must be 0
 +    );
 +</code>
  
 ===== Device Identification ===== ===== Device Identification =====
 
en/software/default_firmware.txt · Last modified: 2023/10/30 20:26 by stefan
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]