Subdirectory vhdl/common/
This directory contains several packages that are used in
multiple places:
were written by me, Michael "Tired" Riepe (MR). Yann Guidon
(whygee, or short YG) contributed the following files (and
explanations):
- entity cat is just a test
that checks if your VHDL tool understands binary file
I/O. This utility is not used in the core.
- fanout is a generic
architecture for a "fanout" entity which must
distribute a simple signal simultaneously to all
the 2**n output signals and insert the necessary
buffers. fanout.vhdl is only a "behavioural"
definition which uses the short, syntaxic way.
- fanout_linear
is a non-recursive implementation of the binary
tree. I have derived a formula which gives the
index from another index. There are some graphical
explanations in fanout_tree.obj (the source)
and fanout_tree.eps (if you don't have tgif).
I should write a recursive version but i don't
remember the trick for Simili (there is one,
otherwise it doesn't work).
- random_simple :
this package provides a way to initialise
signals to a rather "random" value, by reading
/dev/urandom
. It is used for
stability/reset testings, not in the "core".
Editor's Note: It's Linux specific. --MR
- test.sh performs the sanity
checks, compiles the packages and tests them with
the help of test_fanout.vhdl and test_rand.vhdl.
Copyright © 2002 Michael Riepe