Header

Configuration sub options

[Front page] [BBC Mecca] [Links] [PIC micros] [FPGA workshop] [The dump] [Email]

On this page


Configuration


The first tab is used to define how the 'bitgen' software is going to configure the FPGA:
Configuration options

Threshold levels
For interface to the BBC Micro,set these both to TTL levels

Configuration pins
TDO is a JTAG in circuit testing pin which is not being used here,so can be made to float

M0,M1,M2
As the configuration comes in serially M[2:0]=%111.This is infact set externally by wiring these pins to +5v as shown on the schematic,so the pins can either be set to float or pulled up.

Done
The 'FPGAIt' software relies on the DONE pin changing state when configuration has finished,so it should be set to be pulled up.

Perform CRC during configuration
The software can be made to embed a CRC in the bitstream,which is recommended so that any problems uploading the design to the FPGA will be spotted by the software.

Produce ASCII configuration data
The configuration data must not be ASCII to be understood by 'FPGAIt',leave this off.

5v tolerant I/Os
This is only relevant when using the XC4000XLA and XC4000XV series,and would depend on the application whether you want the I/O pins to be 5v tolerant or whether you want to use the device in low power mode.


Startup


The second tab is used to set what happens at the end of the configuration sequence,just before the design in the FPGA is activated:
Startup options

Startup clock
The CCLK pin will be used as the start up clock

Synchronize startup to DONE input pin
This option allows the startup to be activated by asserting the bidirectional 'DONE' pin,as opposed to a number of transitions of the CCLK pin (see below).When configuring the FPGA from a BBC Micro the CCLK is used to start the design so do not select this option.

Output events
Three things happen after the '.bit' file has been sent to the FPGA,and the order can be set to occur from one to four CCLK deges after the end of configuration.

"Done" should be set to change state last (eg.use C3 for 3 CCLKs after the end) so the BBC Micro can detect the DONE pin changing when the design has started.
"Enable output" should occur earlier than the DONE transition.It's when the pins become active - so there must be no outputs wired to FPGA pins which are about to be made outputs too,as this would cause a conflict.
"Release set/reset" should occur earlier than the DONE transition.It frees the set and reset lines to all the flip flops inside the FPGA and may be important if a state machine (for example) in the FPGA needs to be reset before the outputs become active,in which case "Enable output" should be set to some time after "Release set/reset" but before "Done".


Readback


When the in circuit test (JTAG) pins are in use these options setup how they are controlled.
It can sefely be ignored as it is not used in this demonstration project.


Tie


This sets up what happens to spare nets within the device,and can safely be ignored.


Advanced


This tab sets up how many address lines are used to control the parallel loading configuration EPROM (either 18 or 25 depending on how many gate the FPGA contains) but can also be safely ignored as this project uses serial loading.


©2001 SPROW [Created 10-Feb-2001] | home
Valid HTML 4.01