Skip to content

Commit

Permalink
Merge pull request #3 from dildick/master
Browse files Browse the repository at this point in the history
Fix position bias in CCLUT; Add .mem files for firmware
  • Loading branch information
cmsbuild authored Oct 20, 2020
2 parents 245a6d7 + 36d17de commit d255217
Show file tree
Hide file tree
Showing 31 changed files with 101,654 additions and 81,168 deletions.
728 changes: 364 additions & 364 deletions CSCComparatorCodePatternConversionLUT_pat0_v1.txt

Large diffs are not rendered by default.

252 changes: 126 additions & 126 deletions CSCComparatorCodePatternConversionLUT_pat1_v1.txt

Large diffs are not rendered by default.

3,744 changes: 1,872 additions & 1,872 deletions CSCComparatorCodePatternConversionLUT_pat2_v1.txt

Large diffs are not rendered by default.

2,554 changes: 1,277 additions & 1,277 deletions CSCComparatorCodePatternConversionLUT_pat3_v1.txt

Large diffs are not rendered by default.

4,012 changes: 2,006 additions & 2,006 deletions CSCComparatorCodePatternConversionLUT_pat4_v1.txt

Large diffs are not rendered by default.

8,006 changes: 4,003 additions & 4,003 deletions CSCComparatorCodePosOffsetLUT_pat0_float_v1.txt

Large diffs are not rendered by default.

8,110 changes: 4,055 additions & 4,055 deletions CSCComparatorCodePosOffsetLUT_pat0_v1.txt

Large diffs are not rendered by default.

7,994 changes: 3,997 additions & 3,997 deletions CSCComparatorCodePosOffsetLUT_pat1_float_v1.txt

Large diffs are not rendered by default.

7,976 changes: 3,988 additions & 3,988 deletions CSCComparatorCodePosOffsetLUT_pat1_v1.txt

Large diffs are not rendered by default.

7,990 changes: 3,995 additions & 3,995 deletions CSCComparatorCodePosOffsetLUT_pat2_float_v1.txt

Large diffs are not rendered by default.

8,094 changes: 4,047 additions & 4,047 deletions CSCComparatorCodePosOffsetLUT_pat2_v1.txt

Large diffs are not rendered by default.

7,988 changes: 3,994 additions & 3,994 deletions CSCComparatorCodePosOffsetLUT_pat3_float_v1.txt

Large diffs are not rendered by default.

8,150 changes: 4,075 additions & 4,075 deletions CSCComparatorCodePosOffsetLUT_pat3_v1.txt

Large diffs are not rendered by default.

8,004 changes: 4,002 additions & 4,002 deletions CSCComparatorCodePosOffsetLUT_pat4_float_v1.txt

Large diffs are not rendered by default.

8,154 changes: 4,077 additions & 4,077 deletions CSCComparatorCodePosOffsetLUT_pat4_v1.txt

Large diffs are not rendered by default.

7,708 changes: 3,854 additions & 3,854 deletions CSCComparatorCodeSlopeLUT_pat0_float_v1.txt

Large diffs are not rendered by default.

8,014 changes: 4,007 additions & 4,007 deletions CSCComparatorCodeSlopeLUT_pat0_v1.txt

Large diffs are not rendered by default.

7,710 changes: 3,855 additions & 3,855 deletions CSCComparatorCodeSlopeLUT_pat1_float_v1.txt

Large diffs are not rendered by default.

4,778 changes: 2,389 additions & 2,389 deletions CSCComparatorCodeSlopeLUT_pat1_v1.txt

Large diffs are not rendered by default.

7,734 changes: 3,867 additions & 3,867 deletions CSCComparatorCodeSlopeLUT_pat2_float_v1.txt

Large diffs are not rendered by default.

8,034 changes: 4,017 additions & 4,017 deletions CSCComparatorCodeSlopeLUT_pat2_v1.txt

Large diffs are not rendered by default.

7,712 changes: 3,856 additions & 3,856 deletions CSCComparatorCodeSlopeLUT_pat3_float_v1.txt

Large diffs are not rendered by default.

4,774 changes: 2,387 additions & 2,387 deletions CSCComparatorCodeSlopeLUT_pat3_v1.txt

Large diffs are not rendered by default.

7,978 changes: 3,989 additions & 3,989 deletions CSCComparatorCodeSlopeLUT_pat4_float_v1.txt

Large diffs are not rendered by default.

6,138 changes: 3,069 additions & 3,069 deletions CSCComparatorCodeSlopeLUT_pat4_v1.txt

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# L1Trigger-CSCTriggerPrimitives

This repository holds look-up-tables which map a pattern number and a 12-bit comparator code onto an unsigned 4-bit position offset and a 5-bit slope. In the current form, there are 5 patterns (0 through 4) and 4096 comparator codes. LUTs are also available with floating point values (for reference). A third set of LUTs convert the Run-1/2 patterns to Run-3 patterns.

The firmware dataword for each pattenr and comparator code is 18 bits long:
- [8:0] is quality (set all to 0 for now)
- [12:9] is slope value
- [13] is slope sign
- [17:14] is position offset
Loading

0 comments on commit d255217

Please sign in to comment.