OpenCores
URL https://opencores.org/ocsvn/seqalign/seqalign/trunk

Subversion Repositories seqalign

[/] [seqalign/] [trunk/] [README.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 fentonc
This is the initial release of the code.
2
 
3
sw_pe_affine.v is the module of the 'processing elements' that
4
make up the systolic array.
5
 
6
sw_gen_affine.v is the 'top level' file that instantiates an
7
array of PEs. It is fairly easily configurable to make the array
8
shorter or longer (by modifying the LENGTH and LOGLENGTH local params).
9
 
10
sw_gen_testbench.v is a small testbench which instantiates a 4-PE
11
array and compares two 4 x 4 DNA sequences.
12
 
13
sw_gen_affine should be instantiated by the toplevel block of your design,
14
along with the custom interface glue necessary to connect them.
15
 
16
To operate the block, a query value (a packed array containing encoded 2-bit
17
nucleotides) and length (in nucleotides) should be set as inputs. Then, a reset
18
pulse should be sent down the array. Then, the i_vld (valid) signal should be
19
held high as the comparison string is clocked in, two bits at a time, until
20
the string is completed and the i_vld signal is lowered. When the o_vld signal
21
goes low, the array is done processing and the result is ready. If the "local"
22
bit is high, the result will be on the "o_high" output of the last element. If
23
the "local" bit is low (global alignment mode), the valid result will be the
24
higher of the two "o_right_*" outputs of the last element.
25
 
26
Happy Sequencing!

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.