Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FMC TDC 1ns 5cha - Gateware
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
FMC TDC 1ns 5cha - Gateware
Commits
3a1b7327
Commit
3a1b7327
authored
7 years ago
by
Grzegorz Daniluk
Browse files
Options
Downloads
Patches
Plain Diff
top/svec: bool2int function is now in general_cores
parent
4f827cec
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/top/svec/wr_svec_tdc.vhd
+0
-26
0 additions, 26 deletions
hdl/top/svec/wr_svec_tdc.vhd
with
0 additions
and
26 deletions
hdl/top/svec/wr_svec_tdc.vhd
+
0
−
26
View file @
3a1b7327
...
...
@@ -326,32 +326,6 @@ end wr_svec_tdc;
--=================================================================================================
architecture
rtl
of
wr_svec_tdc
is
function
f_bool2int
(
x
:
boolean
)
return
integer
is
begin
if
(
x
)
then
return
1
;
else
return
0
;
end
if
;
end
f_bool2int
;
component
spec_serial_dac
is
generic
(
g_num_data_bits
:
integer
;
g_num_extra_bits
:
integer
;
g_num_cs_select
:
integer
);
port
(
clk_i
:
in
std_logic
;
rst_n_i
:
in
std_logic
;
value_i
:
in
std_logic_vector
(
g_num_data_bits
-1
downto
0
);
cs_sel_i
:
in
std_logic_vector
(
g_num_cs_select
-1
downto
0
);
load_i
:
in
std_logic
;
sclk_divsel_i
:
in
std_logic_vector
(
2
downto
0
);
dac_cs_n_o
:
out
std_logic_vector
(
g_num_cs_select
-1
downto
0
);
dac_sclk_o
:
out
std_logic
;
dac_sdata_o
:
out
std_logic
;
xdone_o
:
out
std_logic
);
end
component
spec_serial_dac
;
---------------------------------------------------------------------------------------------------
-- SDB CONSTANTS --
---------------------------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment