Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha
Commits
ee0c274d
Commit
ee0c274d
authored
Aug 15, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow to use different CHEBY tool
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
80df3e5d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
Makefile
doc/gateware/regs/Makefile
+3
-1
Makefile
hdl/cheby/Makefile
+5
-3
Makefile
hdl/top/svec_ref_design/Makefile
+4
-2
No files found.
doc/gateware/regs/Makefile
View file @
ee0c274d
...
...
@@ -10,11 +10,13 @@ HTML += svec_ref_fmc_adc_100Ms_mmap.htm
HTML
+=
spec_ref_fmc_adc_100Ms_mmap.htm
HTML
+=
fmc_adc_mezzanine_mmap.htm
CHEBY
?=
cheby
all
:
$(HTML)
.PHONY
:
clean
CHEBY_BUILD
=(
cd
$
(
dir
$<
)
;
cheby
-i
$
(
notdir
$<
)
--gen-doc
--doc
html
)
>
$@
CHEBY_BUILD
=(
cd
$
(
dir
$<
)
;
$(CHEBY)
-i
$
(
notdir
$<
)
--gen-doc
--doc
html
)
>
$@
fmc_adc_mezzanine_mmap.htm
:
$(TOP_DIR)/hdl/cheby/fmc_adc_mezzanine_mmap.cheby
$(CHEBY_BUILD)
...
...
hdl/cheby/Makefile
View file @
ee0c274d
...
...
@@ -7,12 +7,14 @@ SIM =../testbench/include
SOURCES
=
$
(
wildcard
*
.cheby
)
TARGETS
=
$
(
SOURCES:.cheby
=
.vhd
)
CHEBY
?=
cheby
all
:
$(TARGETS)
.PHONY
:
$(TARGETS)
$(TARGETS)
:
%.vhd : %.cheby
@
echo
-e
"
\n\0
33[34m
\0
33[1m-> Processing file
$<
\0
33[0m"
cheby
-i
$<
--gen-hdl
=
$@
cheby
-i
$<
--gen-consts
=
$(SIM)
/
$
(
@:.vhd
=
.v
)
cheby
-i
$<
--gen-c
=
../../software/include/hw/
$
(
<:.cheby
=
.h
)
$(CHEBY)
-i
$<
--gen-hdl
=
$@
$(CHEBY)
-i
$<
--gen-consts
=
$(SIM)
/
$
(
@:.vhd
=
.v
)
$(CHEBY)
-i
$<
--gen-c
=
../../software/include/hw/
$
(
<:.cheby
=
.h
)
hdl/top/svec_ref_design/Makefile
View file @
ee0c274d
...
...
@@ -9,14 +9,16 @@ SW =../../../software/include/hw
SOURCES
=
$
(
wildcard
*
.cheby
)
TARGETS
=
$
(
SOURCES:.cheby
=
.vhd
)
CHEBY
?=
cheby
all
:
$(TARGETS)
.PHONY
:
$(TARGETS)
$(TARGETS)
:
%.vhd : %.cheby
@
echo
"
\n\0
33[34m
\0
33[1m-> Processing file
$<
\0
33[0m"
@
cheby
-i
$<
--gen-hdl
=
$@
@
cheby
-i
$<
\
@
$(CHEBY)
-i
$<
--gen-hdl
=
$@
@
$(CHEBY)
-i
$<
\
--gen-doc
=
$(DOC)
/
$
(
@:.vhd
=
.html
)
\
--gen-consts
=
$(SIM)
/
$
(
@:.vhd
=
.v
)
\
--gen-c
=
$(SW)
/
$
(
@:.vhd
=
.h
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment