Commit graph

179 commits

Author SHA1 Message Date
stephan
61400ce703 heteptdig datasheet: change of encoding low count rates
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@8147 bc5caf13-1734-44f8-af43-603852e9ee25
2020-12-03 20:53:06 +00:00
terasa
e811931d98 heteptdig.tex: Fix description of decoder for non-normalized numbers and drop=3.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7901 bc5caf13-1734-44f8-af43-603852e9ee25
2020-01-15 16:05:23 +00:00
stephan
b6e3cb6d61 meps_ana: move FPGA design
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7774 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-20 21:10:45 +00:00
stephan
84d75c8809 meps_ana: successfull simulation
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7762 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-16 22:30:40 +00:00
stephan
1250289f23 meps_ana_test: syntax error free
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7760 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-16 17:36:02 +00:00
stephan
2234363ea2 heteptana: gold
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7759 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-16 15:58:07 +00:00
stephan
f2133a45c3 flyrena: enhancements for meps_ana
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7753 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-15 23:44:56 +00:00
stephan
201bf00c1d meps_ana: adapted from heteptana
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7752 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-15 23:34:42 +00:00
stephan
604c31e358 heteptana: revive test
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7751 bc5caf13-1734-44f8-af43-603852e9ee25
2019-10-15 21:28:40 +00:00
stephan
a6532d2637 heteptana: four-window trigger, with compat logic
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7418 bc5caf13-1734-44f8-af43-603852e9ee25
2019-04-15 15:45:31 +00:00
stephan
b41fc7daef hetept por: self init message
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7111 bc5caf13-1734-44f8-af43-603852e9ee25
2018-11-21 14:36:11 +00:00
stephan
3e6c91acbd heteptdig.tex: minor fix in encoding table
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@7038 bc5caf13-1734-44f8-af43-603852e9ee25
2018-10-22 18:48:10 +00:00
stephan
e47843c856 heteptdig C'E4 block diagram
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@6032 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-18 09:43:56 +00:00
stephan
5f13437017 C'E4 ana,dig/v01: merge periphery fixes into trunc
MM   altera/actel/actel.v
   MM   change4/altera/ce4ana.v
   R  + flyrena/altera/ce4dig.v
   MM   hetept/altera/heteptana.v

   Merged /solo/eda/change4/dig/v01/altera/actel/actel.v:r5814,5837
   Merged /solo/eda/change4/ana/v01/ce4ana.v:r5845-5846
   Reverse-merged /solo/eda/heteptdig/em/v01/heteptdig.v:r2217
   Reverse-merged /solo/eda/heteptdig/em/v03/heteptdig.v:r2651
   Reverse-merged /solo/eda/heteptdig/em/v04/heteptdig.v:r2703
   Reverse-merged /solo/eda/heteptdig/em/v05/heteptdig.v:r3330-3350,3357,3361,3367-3368
   Reverse-merged /solo/eda/heteptdig/em/v06/heteptdig.v:r3540,3604
   Reverse-merged /solo/eda/heteptdig/em/v08/heteptdig.v:r3885
   Merged /solo/eda/flyrena/altera/heteptdig.v:r2125,2204,2207,2212,2219,2319-2323,2408,2563,2591,3009,3186,3355,3378,3380,3390,3507,3549,3875,3904,3956,3978,4029,4355
   Merged /solo/eda/change4/ana/v01/heteptana.v:r5832



git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5942 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-15 13:03:28 +00:00
stephan
3b0385eaf8 heteptcore: merge -c 5797 from C'E4 dig/v01
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5799 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-01 08:15:47 +00:00
stephan
0d5f76d554 C'E4 flyrena: fix mtick phase
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5736 bc5caf13-1734-44f8-af43-603852e9ee25
2016-12-22 10:24:31 +00:00
stephan
cf919c3e0f heteptana: fix ARxDD clock
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5696 bc5caf13-1734-44f8-af43-603852e9ee25
2016-11-30 22:20:32 +00:00
stephan
7f0731438e heteptana: -DANA_CORE: option to use the heteptana toplevel as submodule
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5695 bc5caf13-1734-44f8-af43-603852e9ee25
2016-11-30 21:02:31 +00:00
stephan
0f8e1fb9eb C'E4 ana/dig simulation
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5480 bc5caf13-1734-44f8-af43-603852e9ee25
2016-10-04 19:19:08 +00:00
stephan
3cc2d1264e heteptana: C'E4 interface
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5478 bc5caf13-1734-44f8-af43-603852e9ee25
2016-10-04 06:29:14 +00:00
stephan
ee751dbbea hetept/sirena core: msg_receiver attached to eeprom exec port
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5457 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-30 08:22:38 +00:00
stephan
736cc65114 heteptcore: add ports .exec, .exec_da
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5455 bc5caf13-1734-44f8-af43-603852e9ee25
2016-09-29 14:14:44 +00:00
stephan
28239e42be heteptdig: merge -c 5164 from v10: version bump
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5167 bc5caf13-1734-44f8-af43-603852e9ee25
2016-06-10 11:50:25 +00:00
stephan
f0c76c49ec heteptdig datasheet: fix UART status
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@5160 bc5caf13-1734-44f8-af43-603852e9ee25
2016-06-09 10:51:22 +00:00
stephan
6024bbac5c heteptdig ds: counter and other fixes
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@4847 bc5caf13-1734-44f8-af43-603852e9ee25
2016-02-11 22:30:45 +00:00
stephan
1fd53fc60f hetept block-diagram: fix EEPROM size
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@4451 bc5caf13-1734-44f8-af43-603852e9ee25
2015-06-15 12:31:55 +00:00
stephan
9d0837b54a backend: remove port fe_cntr
The user of this port have been moved to spare cntrs to bank 0x40.
	Debug counters in step_core where removed.
	TODO: sirena


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@4402 bc5caf13-1734-44f8-af43-603852e9ee25
2015-05-24 18:03:50 +00:00
stephan
827868df38 hetept: v09
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@4310 bc5caf13-1734-44f8-af43-603852e9ee25
2015-04-27 21:21:44 +00:00
stephan
3d67afe02c fpgas: add module por: Power On Reset
por is treated as abort
	por resets the opheater

	There is a 1 in 256 chance that the por will not happen
	if registers initialize randomly at power on.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@4152 bc5caf13-1734-44f8-af43-603852e9ee25
2015-04-12 19:47:48 +00:00
stephan
3418c6d29c heteptdig datasheet:
Section 2.6.3
  Update strobes 64 and enables 8 allocations.
 Section 3.2
  Update register readout allocations, scratch register, two uart status
  registers, move heater register.
 Section 3.2.1
  Add misc 8 register for chip periphery status, i.e., eeprom busy.
 Section 3.4.5
  Add scratch 64 register description.
 Section 3.7.1
  Update for register reallocation.
 Section 4
  Update for strobes 64 and enables 8 reallocations.
 Section 6.3.3
  Mention that there are four available representations for count rate
  numbers.
 Section 8.3.2
  Describe the lvds driver enable bits.
 Section 8.5
  Describe the EEPROM nRES bit.
 Section 8.5.3
  Describe rework of em 1 with pqm eeprom.
 Section 9.2.1
  Update the baud rate generator parameters for the real icu-supported
  values.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@4005 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-22 21:34:42 +00:00
stephan
812bab8a21 backend...:
Reorganization of reset/abort/atbrk.
	Argument size warnings.
	Preparation for iverilog 0.10 (git)

	Icarus verilog version 0.10 issues warnings for unsized (0)
	connected to single ports.  These were fixed.

	Version 0.10 (git of today) does time 0 initializations
	differently.  The tfifo used to get reset a time 0, not any 
	more.  A simple reset issued to message() did not succeed, 
	because undefined state from the tfifo trickles through the tport
	chain, to set the message module back to undefined.  This was
	fixed by wireing abort into tports.

	errors[4] = atbrk is fixed.  It was always triggering itself 
	via strobes[0].  Now it really just triggers by the atbrk
	sequence.

	Gold for step, flyrena, heteptdig.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3978 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-18 19:41:12 +00:00
stephan
d4343bb384 heteptana: altera bitfile
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3921 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-10 21:37:36 +00:00
stephan
371a785bd2 EEPROM, TxE:
wire TxE to ~confs[5:4], invert EEPROM_nRES
	Both LDVS drivers and the EEPROM are enabled when confs==0.
	Now we can disable the unused LVDS driver. 


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3904 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-06 14:58:37 +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
8993694554 heteptcore: merge -c 3881: fix bug in readback port chain
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3887 bc5caf13-1734-44f8-af43-603852e9ee25
2015-03-03 20:30:50 +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
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
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
41d63828c2 heteptana: merge -c 3599,3602 from em/v04
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3603 bc5caf13-1734-44f8-af43-603852e9ee25
2014-12-10 20:09:43 +00:00
stephan
e0fb0e2176 heteptana: merge -c 3578
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3591 bc5caf13-1734-44f8-af43-603852e9ee25
2014-12-06 15:13:58 +00:00
stephan
a1989161df backend+:
Review power on reset. 
	Add initial statements for synthesis, in case the
	target supports a define power on state. 


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3558 bc5caf13-1734-44f8-af43-603852e9ee25
2014-11-27 20:50:02 +00:00
stephan
6cc920bf10 heteptcore: remode a fixed TODO
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3547 bc5caf13-1734-44f8-af43-603852e9ee25
2014-11-26 12:56:42 +00:00
stephan
2e8b882ea0 heteptcore: reassign confs and enable bits to accomodate STEP
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3518 bc5caf13-1734-44f8-af43-603852e9ee25
2014-11-21 12:49:31 +00:00
stephan
b08668b407 backend:
Provide a confs port all the way to the toplevel.
	Use confs[7] to drive EEPROM_nRES.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3507 bc5caf13-1734-44f8-af43-603852e9ee25
2014-11-20 13:46:08 +00:00
stephan
489b7ad48e heteptana hkadc:
A change in module aschedule for STEP broke heteptana hkadc.
	The change suppressed din1 and doute strobes when the ADC is not active.
	This had two effects:
	 1. The hkadc state machine would hang at startup.
	 2. The state machine would not terminate reading the sequence.
	This was fixed by driving the state from mtick, and fix the resulting
	timing shifts.  The result is a more robust design of the hkadc module.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3505 bc5caf13-1734-44f8-af43-603852e9ee25
2014-11-20 13:42:59 +00:00
stephan
6704b1e893 heteptana: merge -c 3317 from em/v03
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3400 bc5caf13-1734-44f8-af43-603852e9ee25
2014-10-27 13:34:48 +00:00
stephan
226eb43863 heteptana: merge -c 3365-3366,3369: UNUSED pins
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3394 bc5caf13-1734-44f8-af43-603852e9ee25
2014-10-27 07:57:33 +00:00
stephan
c7b654f949 heteptana: add verilog config macro NO_BCHANNEL
When this macro is defined, the B-channel data from the filter
	is ignored, and zeros used instead.  The effect is that close to 
	half the logic will optimize out.  Let's try.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@3392 bc5caf13-1734-44f8-af43-603852e9ee25
2014-10-27 07:44:03 +00:00