Commit graph

2,015 commits

Author SHA1 Message Date
Lauri Panitzsch
63b6d22488 step_config_pqm.py: updated with correct PQM thresholds for new detector boards with standard offset of three.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5453 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-29 07:09:25 +00:00
Stephan I. Böttcher
74d1c33c7b no_het: simple fix
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5451 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-28 20:29:25 +00:00
Lauri Panitzsch
3abc48a289 step_config_fs.py: updated with correct FS thresholds with standard offset of three.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5440 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-27 08:34:02 +00:00
Jan Christoph Terasa
dbdc9d3f30 step_base_config.py: Added function to change IX thresholds of a config_table instance.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5437 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-26 09:05:23 +00:00
Jan Grunau
d6085047be Himac 2016 version of HET L3 trigger added
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5427 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-23 07:45:27 +00:00
Jan Christoph Terasa
c83af5eec6 step/config: Added STEP FS configs.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5426 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-22 14:59:25 +00:00
Jan Christoph Terasa
9661f0c298 i128event.py: Use actual STEP event classes.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5410 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-19 15:07:03 +00:00
Jan Christoph Terasa
48d79dc63a step_config_pqm: Added PQM thresholds.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5394 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-09 10:40:44 +00:00
Stephan I. Böttcher
2d8b849f90 ept.l3: .macroification
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5392 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-08 13:05:40 +00:00
Stephan I. Böttcher
944396d705 ept.l3: rename constants and variables, prepare for .macroification
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5391 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-08 12:05:57 +00:00
Stephan I. Böttcher
475fc9f56f l3: := assignment, mark as -Defined, warn if reassigned
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5390 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-08 12:05:07 +00:00
Stephan I. Böttcher
09673d946f het_pen: comment fix
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5389 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-08 12:03:38 +00:00
Stephan I. Böttcher
ee9068e825 hetept_calib.py: reduce verbosity
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5384 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-07 12:28:46 +00:00
Stephan I. Böttcher
f04766b8ab l3: adjust and document verbosities
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5383 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-07 12:28:09 +00:00
Stephan I. Böttcher
73098e2074 heteptana: .tex_l1() .tex_l2()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5382 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-07 12:27:22 +00:00
Stephan I. Böttcher
16191dc496 solopath: set_prompt()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5381 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-07 12:26:42 +00:00
Stephan I. Böttcher
6bc4892050 L3: use .macro, het_stopping, ...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5380 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-06 12:15:38 +00:00
Jan Christoph Terasa
9491732521 step_base_config.py: Write defs for small pixels, too.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5377 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-05 13:52:16 +00:00
Jan Christoph Terasa
c2640bfc42 l3/step: Updated small pixel calib to new pedestal semantics.#
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5376 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-05 13:48:26 +00:00
Stephan I. Böttcher
3093c0f2dd l3.py: implement macros
.macro NAME
	  code $0, $1, .. $9
	.endmacro
	.call NAME A1 A2 A3
	.call NAME "A1", "A2" "A3"
	with substitution: $0==NAME  $1==A1  ...


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5373 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-01 14:15:27 +00:00
Jan Christoph Terasa
9eae43c5c8 Reverted r5371.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5372 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-01 14:00:21 +00:00
Jan Christoph Terasa
9afed40f27 configurations: Added STEP v0002.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5371 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-01 13:44:43 +00:00
Jan Christoph Terasa
8eb3c02f4e step_config: Properly handle insertion slots in start seq.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5370 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-01 07:17:53 +00:00
Jan Christoph Terasa
886f9487ab step_config: Fixed pnom and psmall (pulser with SCI) index entries.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5369 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-31 11:22:31 +00:00
Stephan I. Böttcher
41671a731e hetept_config:
[4] streamtest entry runs l1l2 in test mode


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5368 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-30 11:01:50 +00:00
Jan Christoph Terasa
9726170994 step_config: SFT index entry waits to accumulate test triggers.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5367 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-24 06:56:16 +00:00
Jan Christoph Terasa
f0a8c20f1e step_ppss.py: Set ix_conf_modulus to modulus_always for now. Change back before flight.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5366 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-09 19:03:57 +00:00
Jan Christoph Terasa
5b4e3a6454 step_dps.py: Re-enabled burst and LL data products.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5364 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-09 18:04:49 +00:00
Jan Christoph Terasa
3916903b2c step_dps.py: Fixed column projection data product. A better fix needs some rework of xyhist2().
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5363 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-09 18:01:25 +00:00
Jan Christoph Terasa
863c6f181e step_ppss: Disable low-speed-streaming mode a few ms earlier, so that it does not interfere with HK telemetries.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5362 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-09 16:38:11 +00:00
Jan Christoph Terasa
8e5a4e4e66 step_ppss.py: Added method do_custom() to allow custom configs based on step_ppss.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5361 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-08 13:21:58 +00:00
Stephan I. Böttcher
f75a500581 het_pen: add het_abba_min cut
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5352 bc5caf13-1734-44f8-af43-603852e9ee25
2016-08-01 17:01:47 +00:00
Stephan I. Böttcher
3b7ab96233 hex2bin.py: moved from python/cdpu to gse/itf_parser
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5343 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-31 11:11:20 +00:00
Stephan I. Böttcher
2879fa021a solopackets: moved to gse/itf_parser
TODO: move gse/itf_parser to python/itf_parser to have all scripts in one subdir.


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5342 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-31 10:22:48 +00:00
Stephan I. Böttcher
11c8e5a664 solopackets: various improvements
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5341 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-30 21:20:08 +00:00
Stephan I. Böttcher
73901234ab configtable.read_burnlog_table()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5339 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-29 15:57:41 +00:00
Sebastian Boden
e36ff89144 l3.py: simplified lexer.quoted()
hetept_calib.py:  retain hetept_calib as _calib


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5337 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-29 12:15:33 +00:00
Sebastian Boden
8086155cc7 hetept_l3_config.py: removed, no longer needed
hetept_config.l3:	no longer needs to be python-compatible


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5335 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-28 16:41:30 +00:00
Sebastian Boden
ce2da40b52 l3.py: fixed some typos and the lexer.quoted() function
hetept_calib.py: added a class to hold all names as variables...
hetept_dps.py:	... so that they can be loaded here


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5334 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-28 15:24:19 +00:00
Stephan I. Böttcher
582ad0d043 hetept_sim: .compile L3 source directly
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5332 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 20:22:10 +00:00
Stephan I. Böttcher
1a8f5bf64c hetept_l1l2: load hetept_config
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5331 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 19:57:11 +00:00
Stephan I. Böttcher
1577980a0b hetept_config: compile l3 code directly
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5330 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 19:56:36 +00:00
Stephan I. Böttcher
d3fc40e4b9 hetept_calib: add path to l3 as set by solopath
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5329 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 19:52:26 +00:00
Stephan I. Böttcher
87a49b963d l3.py: add l3().path
both filenames on teh commandline and .include files are searched in .path.
	option -Ipath
	-q resets verbosity to 0
	.compile() returns self


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5328 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 19:50:54 +00:00
Stephan I. Böttcher
5674ad9065 hetept_calib: load l3 calib values files into a python object
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5327 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 17:43:19 +00:00
Stephan I. Böttcher
aba9a3635c l3.py: do not accumulate repeated -v option parsing
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5326 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 17:42:15 +00:00
Stephan I. Böttcher
048bf36e0b solopath: workaround for ipython bug when starting .../solopath.py
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5325 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 17:41:11 +00:00
Stephan I. Böttcher
bc16970828 l3.py: is now a 2-pass assembler
Currently, the old one-pass mode is still default.
	Use option -2 for 2-pass mode.
	Use option -1 for 1-pass mode, when the default changed.
	New option -F for the name of the forwardfile
		if given, the name in the code is ignored with a warning.
	In 2-pass mode, no forwardfile is read, nor written.
	The compiler issues the second pass only when there are forwardconflicts.
	In 1-pass mode, the forwardfile is written only when there are forwardconflicts.
	All file output, except for the log, is now written at the end of the last pass.
	Default output format is "none", i.e., no output will be generated.
	Optiuon -g accepts an optional format string
		-g 'hex,printf-format-string'
		-g 'dis,l3dis-format-string'
	-g hex requires a printf format for (addr,instr)
		"@%03x %08x\n"
	-g dis requires an l3dis format string.
		"@%(addr)-3d %(cond)-3s %(mnem)-5s %(args)s\n"
	-g verilog is the same as -g hex, with a different default format
		" l3_code(10'h %03x, 32'h %08x);\n"
	-g python is again the same as hex, but with an additinal file header.
		"	l3_code(0x%03x, 0x%08x)\n"


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5324 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 16:08:02 +00:00
Stephan I. Böttcher
fb1d25c12d l3.py: class lexer(str)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5323 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-27 13:49:53 +00:00
Stephan I. Böttcher
e9c2d34717 l3.py: l3 is now loadable as a module
class l3
	class include_stack
	TODO: output into self.l3code[]
	TODO: class expression_parser_context
             self.EC = expression_parser_context(self.names)
	     s,v = self.EC.parse_EXPR(s)
	TODO? class lexer
             those s become lexer instances


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5322 bc5caf13-1734-44f8-af43-603852e9ee25
2016-07-26 10:52:47 +00:00