Commit Graph

584 Commits

Author SHA1 Message Date
Tim 'mithro' Ansell 1e53270012 Dockerfile: Run make with output syncing an more warnings.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-02-23 15:47:54 -08:00
Tim 'mithro' Ansell 93ced10d4c infra: Force a given docker architecture.
See https://github.com/docker-library/official-images/issues/3835

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-02-22 14:17:58 -08:00
Tim Ansell 563b54304a
Merge pull request #94 from unixb0y/master
Fixed the newly renamed README.md files
2018-02-14 07:57:29 -08:00
Davide 73b1e27f78 Added tags for headers, subheaders and structured README files a bit
Signed-off-by: Davide <davide.toldo@stud.tu-darmstadt.de>
2018-02-14 12:24:18 +01:00
John McMaster 1b7bb89295
Merge pull request #95 from mcmasterg/ndi1mux_slicem
ndi1mux: dont add to slicel
2018-02-13 17:02:19 -08:00
John McMaster dff0413a68 ndi1mux: dont add to slicel
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-02-13 16:55:14 -08:00
Davide 6a73dea0b6 Fixed merge conflict
Signed-off-by: Davide <davide.toldo@stud.tu-darmstadt.de>
2018-02-14 01:05:49 +01:00
Tim Ansell 6fe77dedae
Merge pull request #76 from mithro/master
Rename flip-flop muxes to make Vivado GUI names.
2018-02-13 10:49:33 -08:00
Tim 'mithro' Ansell 21a33e50a1 Fix wrapping.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-02-13 10:29:43 -08:00
Tim 'mithro' Ansell cf64309ee3 Make n5FFMUX match Vivado GUI.
CLBLL_L.SLICEL_X0.D5FF.MUX.A -> CLBLL_L.SLICEL_X0.D5FFMUX.IN_A
CLBLL_L.SLICEL_X0.D5FF.MUX.B -> CLBLL_L.SLICEL_X0.D5FFMUX.IN_B

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-02-13 10:29:43 -08:00
Tim 'mithro' Ansell 90ec237f56 Fixing htmlgen for name changes.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-02-13 10:29:43 -08:00
Tim 'mithro' Ansell 10e2cd6cab Rename flip-flop muxes to make Vivado GUI names.
CLBLL_L.SLICEL_X0.AFF.DMUX -> CLBLL_L.SLICEL_X0.AFFMUX
CLBLL_L.SLICEL_X0.AMUX     -> CLBLL_L.SLICEL_X0.AOUTMUX

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-02-13 10:29:43 -08:00
Tim Ansell 284953c044
Merge pull request #91 from unixb0y/master
Renamed all README.txt files to README.md
2018-02-13 10:26:14 -08:00
Davide 46c1eef15b renamed all README.txt files to README.md
Signed-off-by: Davide <davide.toldo@stud.tu-darmstadt.de>
2018-02-13 17:00:04 +01:00
Tim Ansell 708622365b
Merge pull request #78 from kc8apf/docker_db_builder
Docker-based db builder
2018-02-09 07:49:22 -08:00
Rick Altherr aab6bd760b
Merge pull request #84 from kc8apf/arch_docs
docs: low-level configuration details
2018-02-07 14:55:43 -08:00
Rick Altherr d287de935a
Merge pull request #72 from kc8apf/xc7patch_emit_init_final_seq
Replace init/final sequence hacks with less hacky solution
2018-02-07 14:51:52 -08:00
Rick Altherr e6a3bdc0ed docs: configuration addressing section and rough notes for others
Describes how frame addressing relates to physical chip structure. Rough
notes on how frames are loaded into the device and the packet format
used to operate that state machine.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-07 14:50:52 -08:00
Rick Altherr 0970edb384 docs: Make target for live reloading during editing
Target starts sphinx-autobuild which watches the source files and
rebuilds the output on writes. Output is served via a local HTTP server
that injects code to refresh the page when a new version is available.
Saving a source file triggers the browser to reload the page generated.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-07 14:36:54 -08:00
Rick Altherr d5c9bcabdb Add sphinx modules needed for docs to PIP requirements file
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-07 14:36:54 -08:00
Rick Altherr 6d94787fa2
Merge pull request #82 from kc8apf/arch_docs
docs: Fix poor grammar
2018-02-06 13:15:01 -08:00
Rick Altherr 13a44b273d docs: Fix poor grammar
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-06 10:48:27 -08:00
Rick Altherr 7b81b6734b Google Cloud Builder configuration for database generation
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:37 -08:00
Rick Altherr f4ddb607cb Dockerfile for building database from scratch
Runs all fuzzers to construct a database from scratch.  Raw and HTML
versions of database are packaged into a docker image that serves the
files via nginx.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:36 -08:00
Rick Altherr 5d103c0498 Makefile rules for generating complete databases
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:35 -08:00
Rick Altherr 47811acccd Top-level clean target
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:33 -08:00
Rick Altherr 7980e069dd Rename 'make go' to 'make build'
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:32 -08:00
Rick Altherr d1ea210dba Tweak .gitignore so database settings.sh is tracked
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:20 -08:00
Rick Altherr 02161de03c
Merge pull request #75 from kc8apf/arch_docs
Start of 7-series architecture documentation
2018-02-05 17:18:53 -08:00
Rick Altherr beb8e0bcf9 docs: overview of 7-Series architecture
Describes the top-level physical structure.

Signed-off-by: Rick Altherr <raltherr@google.com>
2018-02-05 17:14:27 -08:00
Rick Altherr dd5305a271 docs: Define some terms
Tried to merge definitions from wiki/Glossary and my understandings of
terms related to architecture and configuration.

Signed-off-by: Rick Altherr <raltherr@google.com>
2018-02-05 17:14:27 -08:00
Rick Altherr 1fc306b147 docs: Initial setup for Sphinx-based documentation
Signed-off-by: Rick Altherr <raltherr@google.com>
2018-02-05 17:14:27 -08:00
Rick Altherr d5a6726e30 minitests: roi_harness: Remove init/final sequence hacks
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr ad150af4df minitests: partial_reconfig_flow: Remove init/final sequence hacks
Now that xc7series generates proper .bit files, the hacks need to be
removed.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 6b7af3b168 minitests: partial_reconfig_flow: always save ROI bitstreams
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 3d33f101bc xc7patch: Generate Xilinx BIT header in output bitstream
Xilinx tools generate and expect an additional header to be added to the
bitstream.  This header is the only difference between .bit and .bin
files and is not required by the part in any way.  OpenOCD only supports
reading .bit files so the easiest path to a using FOSS tools from FASM
down is to generate a .bit header in xc7patch's output. To distinguish
xc7patch-generated files from Xilinx-generated files, the source file
field includes a Generator tag indicating that the bitstream was produced by
xc7patch.  Vivado uses the same technique to record the Vivado version
in a Version tag.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr b7d01aa9f6 xc7patch: generate init and final sequences in output bitstream
Bitstreams generated by xc7patch can now be directly loaded into parts
via Vivado's Hardware Manager (bitstream must have .bin suffix) or by
flashing into a boot FLASH.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 0fc3ba0400 lib: xc7series: implement builder pattern for generating COR0 values
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr a4fb9ff7d8 lib: xc7series: define known CMD register values
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 80004a3737 lib: xc7series: config packet subclass for NOPs
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr ab1e60c037 lib: xc7series: add undocumented register used in init sequence
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 2a1154ec16 lib: xc7series: config packet subclass that owns the payload
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 43b70caf03 xc7series: Dynamically allocate config packets when writing bitstreams
ConfigurationPacket assumes that the payload data is owned by someone
else. For frame data, that is generally true.  For initialization and
finalization sequences, those payloads need to be created and managed.
Instead, dynamically allocate packets which allows for using subclasses
of ConfigurationPacket that store the payload with the packet.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr f5099113e6 xc7patch: remove disabled debug code
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 12:40:49 -08:00
Rick Altherr 61b6a9dfe7 xc7patch: use ECC calculation from lib
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 12:39:56 -08:00
Rick Altherr ea3aa0fa70
Merge pull request #71 from mcmasterg/demoscene
roi_harness Basys3 demo
2018-02-01 11:24:28 -08:00
John McMaster 1a7e6919f8 partial_reconfig: remove obsolete v2bit script
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-02-01 11:16:52 -08:00
Herbert Poetzl 9c4971162e Make loop condition more readable
Signed-off-by: Herbert Poetzl <herbert@13thfloor.at>
2018-01-31 18:48:01 -08:00
Herbert Poetzl b69ed5cc7e Code cleanup and additional comments
Signed-off-by: Herbert Poetzl <herbert@13thfloor.at>
2018-01-31 18:48:01 -08:00
Herbert Poetzl 86f49cc9da Added ICAP CRC and ECC calculations and tests
Signed-off-by: Herbert Poetzl <herbert@13thfloor.at>
2018-01-31 18:48:01 -08:00