NanoBoard 3000 - User DIP-Switch
The NanoBoard 3000 provides an 8-way DIP-switch, with each switch wired to a separate I/O pin of the User FPGA device. This provides you with eight generic switchable signals for use in an FPGA design.
The DIP-switch is wired as an active low device, which means setting a switch to the ON position generates a corresponding Low signal.
Location on Board
The DIP-switch (designated SW8
) is located at the bottom-right corner on the component side of the board, to the immediate right of the 'RGB USER LEDS'
.
The eight switch signals arrive at the User FPGA as signals DIP0
to DIP7
. On the physical device, DIP0
is the signal associated with switch number 8, in the right-most position.
Schematic Reference
The DIP-switch circuitry can be found on Sheet 69 (SW_DIP8_SMT.SchDoc
, entitled 8-Way SPST DIP Switch (SMT)) of the motherboard schematics.
Design Interface Component
Table 1 summarizes the available design interface component that can be placed from the FPGA NB3000 Port-Plugin.IntLib
, to access and use the DIP-switch.
Component Symbol
|
Component Name
|
Description
|
---|---|---|
DIPSWITCH | Place this component to interface to the motherboard's DIP-switch. |
Although the eight signals arrive at the User FPGA device on separate pins, the interface component provides an 8-bit bus input. Connection to the component's bus port depends on where in the design these signals are destined. If, for example, you wish to control port input to an 8-bit wide port peripheral, you would wire directly from the DIPSWITCH
interface component to that port input.
If, for example, you wanted to control 8 bits of a 32-bit data input, or if you wanted to use single switch signals for different device inputs, you would need to use an appropriate bus joiner device.
For more information on the available bus joiner components available for use in an FPGA design, refer to the Functional Classes – Bus Joiner section of the FPGA Generic Library Guide.