Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
936d78a3
Commit
936d78a3
authored
Sep 13, 2017
by
Christian Fibich
Committed by
Stefan Tauner
May 04, 2018
Browse files
HX8K Demo: Hardware details
parent
3b9e282b
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/demos/tinyvga/README.md
View file @
936d78a3
...
@@ -7,19 +7,27 @@
...
@@ -7,19 +7,27 @@
*
FIJI (+environment variable
`$FIJI_ROOT`
pointing to the checked-out FIJI directory)
*
FIJI (+environment variable
`$FIJI_ROOT`
pointing to the checked-out FIJI directory)
*
Configuration of Synplify in
`impl/instrumented/Makefile`
*
Configuration of Synplify in
`impl/instrumented/Makefile`
## HW Setup ##
1.
To control FIJI, the HX8K Breakout Board's FTDI is used. Install the following udev rule:
SUBSYSTEM=="tty",ATTRS{idVendor}=="0403",ATTRS{idProduct}=="6010",ATTRS{product}=="Lattice FTUSB Interface Cable", SYMLINK+="ttyHX8K"
2.
Connect a VGA DAC to the HX8K breakout board, e.g. a XESS StickIt VGA module
The pin mappings can be found in
`impl/original/tinyvga.pcf`
. On the XESS
module, pin
`red[3]`
maps to R4,
`blue[3]`
to B4, etc. R0 and G0 are not
used and may be left unconnected.
## FIJI Flow ##
## FIJI Flow ##
1.
Carry out the initial synthesis step to obtain a netlist & configure
1.
Carry out the initial synthesis step to obtain a netlist & configure
FIJI by executing
FIJI by executing
$ make fiji-instrument
$ make fiji-instrument
in
`impl/original`
in
`impl/original`
2.
Perform the second synthesis step by running
2.
Perform the second synthesis step by running
$ make prog && make fiji-launch
$ make prog && make fiji-launch
in
`impl/instrumented`
in
`impl/instrumented`
3.
Inject & observe faults using the FIJI EE GUI
3.
Inject & observe faults using the FIJI EE GUI
...
@@ -29,7 +37,6 @@
...
@@ -29,7 +37,6 @@
To just implement & download the original hardware, just run
To just implement & download the original hardware, just run
$ make prog
$ make prog
in
`impl/original`
in
`impl/original`
## Simulation ##
## Simulation ##
...
@@ -37,6 +44,15 @@ in `impl/original`
...
@@ -37,6 +44,15 @@ in `impl/original`
To simulate the design for a few frames, run
To simulate the design for a few frames, run
$ make
$ make
in
`sim`
. Not much automated checking done here...
in
`sim`
. Not much automated checking done here...
## HW Details ##
`tinyvga.imem`
is an on-chip memory that holds a 128x64 image defined by
`impl/original/color.mem`
.
`tinyvga.sinetab`
controls the motion of the image(s) and is defined by
`impl/original/sinetab.mem`
.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment