Commit graph

754 commits

Author SHA1 Message Date
stephan
d1cd2798f7 message: add comment about t_count0
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3899 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-05 13:42:46 +00:00
wetzel
98db0e8e7c icu-message.txt: added ADDR for new STEP readback and clarified ADDRs of housekeeping
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3893 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-05 11:45:33 +00:00
stephan
2b20dc1882 l3/adder: rewrite, to see if the Aldec worst path can be optimized
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3889 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-03 22:28:52 +00:00
stephan
a0e2942090 hetept: merge -c 3885 from em/v08: synthesis warnings
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3888 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-03 20:39:30 +00:00
stephan
ff0997a31d icu-message: add some STEP resets
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3877 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-02 13:50:57 +00:00
stephan
364d572809 static register readout:
make the backend register readout engine static, i.e., no waiting.
	add scratch register in the backend [reg 3]
	add pps status for both ports
	move OH status.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3869 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-27 19:09:29 +00:00
terasa
ab6c096c89 l3: Moved step L3 code and memtest L3 code to python/l3.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3841 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-19 18:45:52 +00:00
boden
8518d05637 compare_l3_pha.py: moved to python/
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3827 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-19 13:05:38 +00:00
boden
36efd57d16 moved all het and ept *.l3 files to python/l3
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3825 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-19 13:01:06 +00:00
boden
3e1910753d ept.l3, ept_calib.l3: changed 2D-histogram to total energy vs. energy ratio
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3823 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-19 12:38:55 +00:00
stephan
4cc6c5b303 uart: add confs[5]=stat_sel to select nom/red status
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3817 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-18 20:11:40 +00:00
stephan
0ea1680ef0 eeprom_page: fix write cycle time bug
The flight EEPROM requires at least 750ns between nWE pulses.  
	The memory driver gives 80ns.  The consequence is that we were
	not able to write to the HET/EPT PQM EEPROM.

	This change add delays in the eeprom_page engine to ensure sufficient 
	time between write cycles.  

	A write is started after two uticks passed.  That yields 2µs per byte
	under non-contetsted memory bus conditions.  This also provides lower
	priority access slots during an EEPROM page write.

	The maximum time between write cycles must be no more than 30µs, 
	else the EEPROM will start commiting the page to persistent 
	flash cells.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3805 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-17 22:45:58 +00:00
stephan
e9b56bf82f compression.py: move to eda/python/
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3788 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-15 02:57:58 +00:00
stephan
3b321d5221 hetept_dps: move to python/cdpu/
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3787 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-14 21:28:51 +00:00
stephan
d89eda8cd9 hetept_l1l2trigger: move to python/cdpu/
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3786 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-14 21:04:50 +00:00
stephan
e7b98935fa hetept_ppss: move to python/cdpu/
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3785 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-14 20:58:45 +00:00
stephan
5538281670 l3code: remove unused reg wwp
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3772 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-06 15:42:38 +00:00
stephan
748f88ca2f heteptdig: merge em/v06 synth fixes into trunc
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3763 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-05 21:57:37 +00:00
stephan
2a34ad55f1 heteptdig: merge em/v06 synth fixes into trunc
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3759 bc5caf13-1734-44f8-af43-603852e9ee25
2015-02-05 21:02:38 +00:00
stephan
9774c2bef7 heteptcore: count tf_lost
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3739 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-30 11:48:53 +00:00
stephan
f984d6488a l3: remove .el file from verilog dir
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3738 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-30 08:38:54 +00:00
stephan
536d647638 l3: revert part of -c 3723: leave verilog files where they were
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3735 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-30 08:35:57 +00:00
stephan
11d63fffb6 python: move files from sirena/altera
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3724 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-29 16:38:12 +00:00
stephan
68cb50cc01 python: move l3
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3723 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-29 16:17:00 +00:00
terasa
74bfe2b8ec dps_table.py: Fixed bug in dps() usage.
memtest.py: Added import of i128event.

git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3721 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-28 16:37:12 +00:00
terasa
fe2ccc111f dps_table.py: Fixed assignment and usage of of nx and ny.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3719 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-27 12:20:07 +00:00
terasa
7b17b29616 step_ppss.py: Added STEP ppss table stub.
step.l3: Updated calibration values.

git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3718 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-27 11:02:19 +00:00
terasa
0a63ac8c55 dps_table.py:
- Added offset keyword to dps_table constructor to set the memory offset of the table
	- Syntax sugar for dps_item flags. Can use string including 'c', 't' 'a' now, too.
	- Added dump() methods to items and table to dump dps() commands to stdout

dps_step.py:
	- Added first version of STEP DPS table.

git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3716 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-26 16:28:07 +00:00
stephan
5ea273d956 hetept_himac: l1l2 version with full readout for EPT triggers
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3707 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-19 07:56:00 +00:00
stephan
9e55ec206c hetept himac: l1l2 low thresolds, 100keV in EPT
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3690 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-15 10:45:33 +00:00
stephan
c2935db17a l1l2 trigger: update for HIMAC tests
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3684 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-14 12:58:09 +00:00
stephan
08db6804d8 ppss_table: add .execute() methods
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3682 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-14 10:44:15 +00:00
stephan
85bc2e8a48 ppss_table: for HIMAC streaming mode
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3680 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-14 09:42:45 +00:00
stephan
bbb9fd9caa backend testjig: POKE large numbers into hist memory
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3679 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-14 00:20:00 +00:00
stephan
195cc06515 itof: Fix BUG in itouf
The exponent of the resulting float representation 
	was one less it should be.  The mantissa shift was done 
	according to the exponent in the output.

	With M=12, E=4, i.e., the standard 16-bit unsigned float, input 
	numbers up to 4095 were represented correctly.  Numbers from 
	4096..8191 were mapped to the range 0..4095.  Numbers from 8192 
	had wrong but unique representations, with one bit less in the 
	mantissa.

	This patch fixes that BUG.

	Impact: All floating point numbers from HET/EPT PQM above 
	4096 are wrong. :-(


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3678 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-13 23:14:02 +00:00
stephan
3bcb003040 itouf: expanded test-jig
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3677 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-13 22:47:44 +00:00
stephan
7d9fc380dd itouf: gold. This shows the BUG
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3676 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-13 22:31:04 +00:00
stephan
d253eb75eb backend: testjig fixes and gold updated
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3675 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-13 20:40:49 +00:00
stephan
cdbeee9844 l3: fix the "BITc ~R[x]{n}" bug.
The l3 trigger instructions BITC and BITS did not perform
	the inversion of a bit extracted from a register.  In fact,
	the bit was inverted twice.  This patch removes one of the
	inversions.

	Only the form BITx ~R[x]{n} is affected, i.e., extraction
	from a register with inversion.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3670 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-12 17:23:12 +00:00
stephan
680b9a8df0 ppss_table: add hetept_dps
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3664 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-11 21:34:45 +00:00
stephan
a442d8df8f ppss_table: hetept complete except for data products
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3662 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-11 01:24:51 +00:00
stephan
3ca4b6f786 hetept_ppss: make executable
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3656 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-09 14:30:51 +00:00
terasa
cf9d08bd3e memtest.*: Added memtest L3 code.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3649 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-09 10:10:35 +00:00
grunau
a5df3a4941 corrected msg() functionality
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3648 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-09 09:59:20 +00:00
grunau
9b1f5033fe Added dps_test.py, several changes in dps_table for additional functionality
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3647 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-09 09:21:52 +00:00
terasa
c79752f7b7 l3pipe.py: Removed pipe subdirectory and moved contents to l3 directory.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3638 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-08 09:16:14 +00:00
stephan
298fc31723 hamming: add 32-bit python implementation
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3637 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-07 22:48:03 +00:00
stephan
a15913accd ppss_table: tagged msgs, ...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3636 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-07 21:08:55 +00:00
terasa
231013754d i128event.py: Added generic PHA event to process arbitrary data.
l3test.l3,l3test.dat: Added L3 opcode test code.

git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3635 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-07 16:35:37 +00:00
boden
ecfd4dc629 EDACdecoder.py: now raises ValueError for incorrect EDAC
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3634 bc5caf13-1734-44f8-af43-603852e9ee25
2015-01-07 15:24:51 +00:00