Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
bfff623
Adding deimos folder to src
j-bichel Dec 10, 2024
23e7101
first draft of deimos wdl; only includes waveform description; requir…
j-bichel Dec 10, 2024
931ad30
adding other important configuration files
j-bichel Dec 10, 2024
06a807b
first draft of .cds, .def, and .mod
j-bichel Dec 10, 2024
bb02577
DEIMOS files almost ready for compiling; waiting for configuration de…
j-bichel Dec 12, 2024
d0bf90b
mod file fixes
j-bichel Dec 13, 2024
65f818f
Potential fix for xvbias module; added detail to hvbias
j-bichel Dec 13, 2024
1cc73e3
compiling deimos wdl
j-bichel Dec 16, 2024
7f1e610
Automated ACF files update by GitHub Actions
github-actions[bot] Dec 16, 2024
94f4705
Roger comments in waveform and signal; completed mod file
j-bichel Jan 6, 2025
5506d15
Merge branch 'j-bichel/deimos_dev' into deimos_dev
j-bichel Jan 6, 2025
ae12ca1
added NOP to beginning of line transfer; to be fixed
j-bichel Jan 6, 2025
cd76a6a
minor fix to set slew to SLOW (does not work if manually set to zero)
j-bichel Jan 6, 2025
6830c6c
minor edits to debug not compiling; still not compiling
j-bichel Jan 7, 2025
8da86d4
refactored changes since last compilation and now the parser is comiling
j-bichel Jan 8, 2025
db255b2
resolved merge conflict with refactor
j-bichel Jan 8, 2025
5f790a6
wdl parsing with changes to mod file
j-bichel Jan 10, 2025
b2a4884
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 10, 2025
d7d8d84
added serial recieving and renamed clock signals
j-bichel Jan 10, 2025
0131e5b
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 10, 2025
d7c8a6e
added delay from sclk to reset in serial receiving; added initial sta…
j-bichel Jan 10, 2025
465afe1
Merge branch 'deimos_dev' of https://github.com/CaltechOpticalObserva…
j-bichel Jan 10, 2025
82dea28
fixed timing definitions to include #eval
j-bichel Jan 10, 2025
2555b62
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 10, 2025
32fedb4
added detail to pixel transfer
j-bichel Jan 10, 2025
67b9fdf
restored line transfer and pixel read into .seq
j-bichel Jan 10, 2025
6191c84
fixed syntax issues related to timing evaluations and missing colons
j-bichel Jan 10, 2025
1fbebc0
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 10, 2025
aa69722
Module ordering was reversed to suit actual configuration
j-bichel Jan 13, 2025
977cb9f
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 13, 2025
b15db43
Change defeval to define for all instances
j-bichel Jan 13, 2025
716609a
Fixing _PIXELNUM conditional statement
j-bichel Jan 13, 2025
9246a13
attempt at ACF fixing; hardcoded _PIXELNUM
j-bichel Jan 13, 2025
5323486
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 13, 2025
fff796c
fixed LVDS waveform definition such that transitions are only defined…
j-bichel Jan 13, 2025
2bc311f
Merge branch 'deimos_dev' of https://github.com/CaltechOpticalObserva…
j-bichel Jan 13, 2025
f5b353d
removing unused definitions
j-bichel Jan 13, 2025
f477e16
attempts to fixed - error parsing system configuration - message in a…
j-bichel Jan 13, 2025
3a4bdad
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 13, 2025
cf2749c
fixed driverx module ordering
j-bichel Jan 13, 2025
5e12c69
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 13, 2025
e3945e8
reversing modules to conform to transition card geometry; modules hav…
j-bichel Jan 13, 2025
fe6a3da
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 13, 2025
dfc1009
adding digital I/O definition to LVXBIAS
j-bichel Jan 13, 2025
2fc24a1
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 13, 2025
3e40717
commented out all waveforms
j-bichel Jan 14, 2025
5cfb64e
commented out all waveform usages in sequence file
j-bichel Jan 14, 2025
aa24a17
ACF compiles properly; start of waveform debugging
j-bichel Jan 15, 2025
e396379
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 15, 2025
c6e585c
Uncommenting ScienceReadout
Tojoe Jan 16, 2025
fe786c7
file wasn't saved from last commit
Tojoe Jan 16, 2025
ce60eee
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 16, 2025
1d9caba
Adding rest of commented out sequence and waveform
Tojoe Jan 16, 2025
55e6360
Merge branch 'deimos_dev' of https://github.com/CaltechOpticalObserva…
Tojoe Jan 16, 2025
c62044d
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 16, 2025
0f1c78c
adding back all waveforms
j-bichel Jan 21, 2025
2234415
adding python generated deimos.acf in /acf; not actually correct
j-bichel Jan 21, 2025
dd9a425
Merge branch 'deimos_dev' of https://github.com/CaltechOpticalObserva…
j-bichel Jan 21, 2025
3434353
rearranging .def and .mod files to allow for slew rate calculations
Tojoe Jan 23, 2025
57248ec
Adding voltage definitions back
Tojoe Jan 23, 2025
8515dbc
Fixed serial clocking waveform after feedback from digital analyzer; …
Tojoe Jan 24, 2025
c3acfdd
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 24, 2025
706c6fb
changing .conf to -x
j-bichel Jan 24, 2025
b8641d8
Merge branch 'deimos_dev' of https://github.com/CaltechOpticalObserva…
j-bichel Jan 24, 2025
9ec81f7
Adding include file such that timing and voltage level definitions ma…
Tojoe Jan 24, 2025
7009ac6
modifying timing definition for serial clocks
Tojoe Jan 24, 2025
40d586f
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 24, 2025
b53bce3
fixing sequential timing waveform with plain numbers; to be reviewed
j-bichel Jan 27, 2025
6c8fe42
Merge branch 'deimos_dev' of https://github.com/CaltechOpticalObserva…
j-bichel Jan 27, 2025
6d0bdde
Automated ACF files update by GitHub Actions
github-actions[bot] Jan 27, 2025
cd3e487
concurrent clocking sequence for standard frame readout
Feb 5, 2025
a75f84a
coincident clocking sequence mostly defined, some constants still to …
weatherhead99 Feb 5, 2025
95f37a0
Automated ACF files update by GitHub Actions
github-actions[bot] Feb 5, 2025
cd5e5b0
calculations for pixel number in segmented line
weatherhead99 Feb 5, 2025
afb9181
Automated ACF files update by GitHub Actions
github-actions[bot] Feb 5, 2025
20802d5
Add the basics of calculating slew rates to the waveforms.
weatherhead99 Feb 5, 2025
344a84f
on ubuntu the default shell is Dash not Bash, so fix up that hideous …
weatherhead99 Feb 6, 2025
d0b8852
set voltage ranges compliant with LVDS driver requirements
weatherhead99 Feb 6, 2025
0cfbc04
fix timing definitions some
weatherhead99 Feb 6, 2025
a75afe4
apparently if you don't manually put RETURN in a SEQ it doesn't get e…
weatherhead99 Feb 7, 2025
ebc89ab
add labels to .mod files but it doesn't seem to get propagated
weatherhead99 Feb 7, 2025
009e32a
fix pixel and line numbers in timing
weatherhead99 Feb 7, 2025
3a17be9
name of system in deimos.mod has to specifically be deimos_TMP. Don't…
weatherhead99 Feb 8, 2025
b51a83a
fix a bunch of stuff, parallel waveforms vaguely correct
weatherhead99 Feb 8, 2025
660f818
fix couple of minor waveform timing issues
Feb 19, 2025
6581a8a
update clamp logic
weatherhead99 Feb 19, 2025
500e375
refactor check timing a bit
weatherhead99 Feb 21, 2025
acd8de0
fix if statement
weatherhead99 Feb 21, 2025
bb40462
start work on total deferred charge measurement sequence
weatherhead99 Feb 26, 2025
b39091f
add abort for long integrations, start on section A dump sequence for…
weatherhead99 Feb 28, 2025
9eb0d3f
progress on sequences and waveforms for total deferred charge readout
weatherhead99 Mar 5, 2025
0912963
add missing CDS lines for multi device readout
weatherhead99 Mar 6, 2025
0d1898e
DEIMOS serial DC measurement update
weatherhead99 Mar 8, 2025
0f2b977
fix missing return statements
weatherhead99 Mar 10, 2025
e1d5bf6
offset CDS lines
weatherhead99 Mar 11, 2025
45848d7
first day of messing around
weatherhead99 Mar 11, 2025
bf3ad51
minor fixes to clock signal definitions
weatherhead99 Mar 11, 2025
68c4e5f
changes to arrangement in ReadPixel, doesn't quite work yet
weatherhead99 Mar 13, 2025
5721ec1
updates from Thursday tinkering
weatherhead99 Mar 13, 2025
e7c3e62
nearly working it feels like
weatherhead99 Mar 15, 2025
c8f5106
updates March 17 investigations
weatherhead99 Mar 18, 2025
3341b38
sequences for TG and clamp tests etc
weatherhead99 Mar 19, 2025
5d6a6aa
switch to conventional serial & llel for now
weatherhead99 Mar 21, 2025
d4e883b
intermittently working DEIIMOS clocking
weatherhead99 Mar 25, 2025
0d17d26
add modulate RD test
weatherhead99 Mar 27, 2025
56923d5
tests for broken output sense node investigation
weatherhead99 Mar 27, 2025
fab9709
2nd working image attempt
weatherhead99 Mar 28, 2025
41f25db
working flush sequence for DEIMOS eng grade detector...
weatherhead99 Apr 2, 2025
1e44ab2
tests to try and get imaging
weatherhead99 Apr 7, 2025
4cc60bd
working imaging!
weatherhead99 Apr 7, 2025
8a4301e
GM working standard clocking
weatherhead99 Apr 8, 2025
b0580f5
coincident llel clocking now an option and seems to be working
weatherhead99 Apr 9, 2025
adebce0
switch (mostly) to the new wdl CLI tool way of calling legacy drivers
weatherhead99 May 23, 2025
1339a93
update bias, clock and LVDS definitions for new VIB etc
weatherhead99 Jun 13, 2025
20f51e7
Merge branch 'deimos_debug2' into deimos_coincident
weatherhead99 Jun 16, 2025
2dd2d3e
weirdness in gpp include processing
weatherhead99 Jun 16, 2025
9c7f340
add disable to the unused XVBias channels
weatherhead99 Jun 16, 2025
db3e6f9
update module defs to newer TC
weatherhead99 Jun 25, 2025
5d96921
add missing SCI2 OG definitions
weatherhead99 Jun 25, 2025
6367b48
missing SW and RG defines
weatherhead99 Jun 26, 2025
6edb0f5
mess with whitespace to make gpp happy
weatherhead99 Jun 26, 2025
c397755
enable missing parallels, and proper slew rate for TGA2 line
weatherhead99 Jun 28, 2025
63871d1
typo fix
weatherhead99 Jun 28, 2025
4b4215b
go back to ADM original tap lines for full focal plane operation
weatherhead99 Jun 30, 2025
6f3412d
re-introduce TGA test setup, for testing broken outputs
weatherhead99 Jul 9, 2025
1d26e29
correct erroneous current limit on VOD
weatherhead99 Jul 15, 2025
7fffe3e
update CDS definitions for current test setup
weatherhead99 Jul 29, 2025
183e40d
add illumination option and TDI delay option to DEIMOS sequences
weatherhead99 Jul 30, 2025
662858c
fix current limits and add future defs for constants once wdl support…
weatherhead99 Aug 1, 2025
ccaa8fe
add linbin configuration
weatherhead99 Aug 1, 2025
fea8d92
attempt to fix linbin wdl generation
weatherhead99 Aug 1, 2025
53e1337
fix inversion on RG and SW
Aug 1, 2025
00e2174
merge inversion fixes on RG and SW
weatherhead99 Aug 1, 2025
7ce0043
improvements to frame control loop when linbinning
weatherhead99 Aug 1, 2025
92094d5
re-arrange constants, more convenient linbin
weatherhead99 Aug 2, 2025
f351aa7
working initial DEIMOS sequencer, with linbin
weatherhead99 Aug 2, 2025
ddb3577
offset of 0.5 nearly there
weatherhead99 Aug 2, 2025
784cdb0
indent at start of line sometimes seems to confuse archon config load…
weatherhead99 Aug 6, 2025
49a0c80
implementation of llel TDC measurement
weatherhead99 Aug 7, 2025
578069e
switch to non-coincident llels in the TDC measurement
weatherhead99 Aug 7, 2025
eded65a
implement serial TDC measurement scheme
weatherhead99 Aug 7, 2025
776a961
add missing call in main readout loop for TDC ser
weatherhead99 Aug 7, 2025
9a8631f
fix TDC serial loops, try again
weatherhead99 Aug 7, 2025
f7e629e
sort out incremental counter stuff
weatherhead99 Aug 7, 2025
e692d9c
add extra dump sequence for serial TDC measurement
weatherhead99 Aug 7, 2025
dc78db7
add readouts to make buffer sizes match
weatherhead99 Aug 7, 2025
c7194d3
extra dump sequence I think is needed
weatherhead99 Aug 7, 2025
2c10436
another attempt at correct dump sequence for serial TDC
weatherhead99 Aug 7, 2025
94e499c
incorrect read direction in llel TDC
weatherhead99 Aug 7, 2025
f301196
FINALLY working serial TDC images... yes
weatherhead99 Aug 7, 2025
ef2cb70
extend CDS a little bit
weatherhead99 Aug 10, 2025
894bbef
attempt to get faster feedback on pulling framecount
weatherhead99 Aug 12, 2025
faa70e7
more optimisation of readout sequence for speed o software I think
weatherhead99 Aug 12, 2025
4930bca
try changing SW relative to RG timing, changes signal level somehow b…
weatherhead99 Aug 27, 2025
c102ca2
working parameters for PTC usw
weatherhead99 Aug 30, 2025
8565bcc
test if dumping with reset gate left open works
weatherhead99 Aug 30, 2025
7c7bf09
minor tidying up
weatherhead99 Sep 2, 2025
6175617
starting on CTI tweaks
Sep 17, 2025
48ae3ff
fix dump sequences to be matching to read sequences again (fix dump T…
weatherhead99 Sep 17, 2025
2c8c199
fix summing well, adjust some timings etc.
Sep 19, 2025
1a9dd15
DEIMOS best known values for CTI so far
Oct 1, 2025
2a84054
normal serial binned images support we hope
weatherhead99 Oct 2, 2025
923bfb1
slight change to serial binning
weatherhead99 Oct 2, 2025
2444e36
start filling in FCS parameters
Oct 29, 2025
34ef9fd
add FCS array parameters to def file
Oct 29, 2025
72c7924
start on FCS readout waveform segments
weatherhead99 Oct 30, 2025
9414471
FCS waveform definitions
Oct 30, 2025
07fb096
define more summit mode loops
Nov 6, 2025
2e02596
flesh out running mode sequence operations
Nov 7, 2025
8190761
more functions for summit mode
Nov 8, 2025
41bff72
more work on core DEIMOS summit mode loops
Nov 10, 2025
9bbf267
ready to test initial summit mode sequencing
Nov 14, 2025
ea80f6f
add FCS CDS definitions
Nov 18, 2025
ced5134
redefine CDS to FCS engineering mode
Nov 18, 2025
582cc56
DEIMOS summit ACF v0.0.1 for software team test
Nov 19, 2025
385dbf4
first (somewhat) working readout of FCS detectors, clock them backwar…
Nov 20, 2025
5410073
managed to appease the WDL modegen gods finally.
Dec 1, 2025
e060a13
update bias and clock assignments for new TC / VIB rev 0.4
weatherhead99 Dec 2, 2025
4d0c258
add empty line before this #define, otherwise the preprocessor fails…
Dec 3, 2025
5f0d9bf
fix buffer size accounting in different modes
Dec 16, 2025
ce18955
update pinout of LVXBias and LVDS modules for new TC
weatherhead99 Jan 28, 2026
495a48d
fix backup clock missing slew rates
Jan 28, 2026
65c95b0
add labels for LVDS channels
weatherhead99 Jan 28, 2026
0bd9bfc
add missing enable on SCI llel clock channel
Jan 29, 2026
b77a6fc
fix incorrect definition for RG rail biases
Jan 30, 2026
697df3b
fix ordering of video offset biases
Jan 30, 2026
bcae4cf
updates with work on FCS clocking
Feb 4, 2026
3967b6c
minor updates fixing FCS
Feb 6, 2026
9f90d9e
working FCS readout on channel A of FCS1
Feb 10, 2026
a6b1005
closer to decently working FCS readout sequence on FCS1
Feb 10, 2026
db82674
verified working FCS. Do not use for summit camerad yet, some defines…
Feb 12, 2026
a21337e
swap tapline ordering in science FP mode to be correct geometry (we t…
Feb 21, 2026
f059f02
regenerated ACF
Feb 21, 2026
136bb45
correct current limit for full science focal plance OD lines
Feb 21, 2026
5708efd
update power on sequence
Feb 23, 2026
815c9dc
power up outputs at same time as resets
Feb 23, 2026
a911c35
little bit more current headroom on OD pins
Feb 23, 2026
1314d23
re-order tap lines correctly, start on constant defs, slow down seq p…
Feb 24, 2026
ab64ded
add mising frame strobe
Feb 27, 2026
8b048f8
add extra line flush at start of summit mode science readout
Feb 27, 2026
b56e674
add MODE_SCI with 4124 readout (dumping rather than readout DC clamp …
Feb 27, 2026
3dd6f02
fix eng mode extra frame bug
Mar 24, 2026
3e09a21
tune SCI2 offset to normalise all detectors
Mar 24, 2026
19d1385
forgot to change number of taplines in FCS alt mode
Apr 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
412 changes: 412 additions & 0 deletions acf/deimos.acf

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/deimos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

137 changes: 137 additions & 0 deletions src/deimos/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
# -----------------------------------------------------------------------------
# @file Makefile
# @brief Makefile for Software/Config/Archon/Build/
# @author David Hale
# @date 2015-xx-xx
# @modified 2016-01-14
# @modified 2016-01-27 added fixrawendline (special case for Peter)
# @modified 2016-01-28 removed clean. Use @F.h instead of HFILE=archon.h
# @modified 2016-03-31 change how .mod is parsed
# @modified 2016-04-04 add INCPARSER and checks for file existence
# @modified 2016-04-07 add plotting option and check for WAVGEN exit code
# @modified 2016-04-19 changes to implement INCLUDE_FILE= in *.conf
# @modified 2016-04-20 read CDS_FILE and MODULE_FILE from .conf
# @modified 2017-02-08 added modegen
# @modified 2017-11-09 remove copying of acf files to camera computers
# @modified 2020-12-21 added insert_hash
#
# This Makefile uses the general preprocessor GPP 2.24 for macro processing.
# It also requires the ini2acf.pl Perl script for creating an Archon acf file.
#
# -----------------------------------------------------------------------------
#

# Copyright (C) <2018> California Institute of Technology
# Software written by: <Dave Hale and Peter Mao>
#
# This program is part of the Waveform Definition Language (WDL) developed
# for ZTF. This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Please see the GNU General Public License at:
# <http://www.gnu.org/licenses/>.
#
# Report any bugs or suggested improvements to:
#
# David Hale <dhale@caltech.edu> or
# Stephen Kaye <skaye@caltech.edu>

# set to path to gpp
GPP = /usr/bin/gpp
# set to path to wdl code
WDLPATH = $(HOME)/Software/wdl/wdl
# output for *.acf file
ACFPATH = $(HOME)/wdlfiles/src/deimos/

PLOT = # --plots # show waveform plots by default, True | False
GFLAGS = +c "/*" "*/" +c "//" "\n" +c "\\\n" "" -x
SEQPARSER = wdl --debug seq
INCPARSER = wdl --debug inc
WDLPARSER = wdl --debug wdl
MODPARSER = wdl --debug mod
WAVGEN = wdl --debug wavgen
MODEGEN = wdl --debug modegen
I2A = ${WDLPATH}/ini2acf.pl
INCL = -I$(CURDIR)

# Global variable to store the filename
FILE_NAME=deimos

SCAN_CDSFILE = cat $(FILE_NAME).conf | $(GPP) $(GFLAGS) $(INCL) | \
awk -F= '{gsub(" |\t","",$$1)} $$1=="CDS_FILE"{print $$2}' | cut -d'"' -f2
SCAN_MODFILE = cat $(FILE_NAME).conf | $(GPP) $(GFLAGS) $(INCL) | \
awk -F= '{gsub(" |\t","",$$1)} $$1=="MODULE_FILE"{print $$2}' | cut -d'"' -f2
SCAN_MODEFILE = cat $(FILE_NAME).conf | $(GPP) $(GFLAGS) $(INCL) | \
awk -F= '{gsub(" |\t","",$$1)} $$1=="MODE_FILE"{print $$2}' | cut -d'"' -f2

F_TMP = $(FILE_NAME)_TMP

DEBUG ?= 0

ifeq ($(DEBUG), 1)
debug_message = @echo "Debug: $(1)"
else
debug_message = @true
endif

# Main rule for building the target
%:
$(eval FILE_NAME := $(@F))
$(call debug_message, "Current filename: $(FILE_NAME)")
@$(MAKE) generate_wdl FILE_NAME=$(@F)
@$(MAKE) generate_script_states FILE_NAME=$(@F)
@$(MAKE) assemble_acf FILE_NAME=$(@F)

# Rule for generating WDL
generate_wdl:
$(eval MODFILE := $(shell $(SCAN_MODFILE)))
@echo "Looking for MODULE_FILE = $(MODFILE) ..."
@test -f $(FILE_NAME).conf || { echo "$(FILE_NAME).conf does not exist"; exit 1; }
$(call debug_message, "Found configuration file: $(FILE_NAME).conf")

echo "Making $(F_TMP).wdl from $(FILE_NAME).conf ..."
cat $(FILE_NAME).conf | $(SEQPARSER) - | $(GPP) $(GFLAGS) $(INCL) | $(WDLPARSER) - > $(F_TMP).wdl
$(call debug_message, "Created WDL file: $(F_TMP).wdl")

echo "Making $(F_TMP).script and $(F_TMP).states from $(F_TMP).wdl ..."
test -f $(MODFILE) || { echo "$(MODFILE) does not exist"; exit 1; }
$(call debug_message, "Found MODULE_FILE: $(MODFILE)")

cat $(MODFILE) | $(GPP) $(GFLAGS) $(INCL) | $(MODPARSER) -
$(call debug_message, "Processed MODULE_FILE: $(MODFILE)")

$(WAVGEN) $(F_TMP) $(PLOT) || { echo "Waveform generation failed"; exit 1; }
$(call debug_message, "Finished waveform generation for $(F_TMP) with plot: $(PLOT)")

# Rule for generating script states
generate_script_states:
@echo "Assembling $(FILE_NAME).acf ..."
$(eval CDSFILE := $(shell $(SCAN_CDSFILE)))
$(call debug_message, "Looking for CDS_FILE = $(CDSFILE) ...")
@test -f $(CDSFILE) || { echo "$(CDSFILE) does not exist"; exit 1; }
$(call debug_message, "Preparing to assemble $(FILE_NAME).acf file using:")
$(call debug_message, "INCPARSER: $(INCPARSER)")
$(call debug_message, "CDSFILE: $(CDSFILE)")
$(call debug_message, "GPP Flags: $(GFLAGS)")
@echo "Assembling $(FILE_NAME).acf file ..."
@cat $(FILE_NAME).conf | $(INCPARSER) - | cat - $(CDSFILE) | $(GPP) $(GFLAGS) $(INCL) | \
cat - $(F_TMP).script $(F_TMP).modules $(F_TMP).states $(F_TMP).system | \
$(I2A) - > $(FILE_NAME).acf

# Rule for assembling the ACF
assemble_acf:
$(eval MODEFILE := $(shell $(SCAN_MODEFILE)))
@$(MODEGEN) $(MODEFILE) $(FILE_NAME).acf
@if [ -d ".git" ]; then \
echo "Inserting REV keyword ..."; $(WDLPATH)/insert_hash $(FILE_NAME).acf; \
else \
echo "Not a git archive, skipping REV keyword"; \
fi
@echo "Done"
Loading
Loading