Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tdc-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
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
This is an archived project. Repository and other project resources are read-only.
hdl-core-lib
tdc-core
Commits
8145c33e
Commit
8145c33e
authored
13 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Downloads
Patches
Plain Diff
demo: feedback through one IOB (optional)
parent
eeaac8b0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demo/boards/spec/rtl/system.v
+23
-1
23 additions, 1 deletion
demo/boards/spec/rtl/system.v
demo/boards/spec/synthesis/common.ucf
+2
-0
2 additions, 0 deletions
demo/boards/spec/synthesis/common.ucf
with
25 additions
and
1 deletion
demo/boards/spec/rtl/system.v
+
23
−
1
View file @
8145c33e
...
...
@@ -18,6 +18,8 @@
`include
"setup.v"
`define
USE_FMC_DIO
module
system
(
input
clkin_p
,
input
clkin_n
,
...
...
@@ -41,7 +43,8 @@ module system(
output
[
1
:
0
]
tdc_signal_oe_n
,
output
[
1
:
0
]
tdc_signal_term_en
,
input
[
1
:
0
]
tdc_signal_p
,
input
[
1
:
0
]
tdc_signal_n
input
[
1
:
0
]
tdc_signal_n
,
inout
dummy
// unconnected FPGA pad
);
//------------------------------------------------------------------
...
...
@@ -533,14 +536,33 @@ assign tdc_signal_term_en[0] = 1'b1;
IBUFDS
ibuf_tdc_signal0
(
.
I
(
tdc_signal_p
[
0
]),
.
IB
(
tdc_signal_n
[
0
]),
`ifdef
USE_FMC_DIO
.
O
(
tdc_signal
[
0
])
`else
.
O
()
`endif
);
assign
tdc_signal_oe_n
[
1
]
=
1'b1
;
assign
tdc_signal_term_en
[
1
]
=
1'b1
;
IBUFDS
ibuf_tdc_signal1
(
.
I
(
tdc_signal_p
[
1
]),
.
IB
(
tdc_signal_n
[
1
]),
`ifdef
USE_FMC_DIO
.
O
(
tdc_signal
[
1
])
`else
.
O
()
`endif
);
`ifndef
USE_FMC_DIO
wire
test_clk_delayed
;
IOBUF
d
(
.
T
(
1'b0
),
.
I
(
test_clk
),
.
O
(
test_clk_delayed
),
.
IO
(
dummy
)
);
assign
tdc_signal
=
{
test_clk
,
test_clk_delayed
}
;
`endif
endmodule
This diff is collapsed.
Click to expand it.
demo/boards/spec/synthesis/common.ucf
+
2
−
0
View file @
8145c33e
...
...
@@ -28,6 +28,8 @@ NET "test_clk_oe_n" LOC = V17 | IOSTANDARD = "LVCMOS25";
NET "test_clk_p" LOC = W17 | IOSTANDARD = "LVDS_25";
NET "test_clk_n" LOC = Y18 | IOSTANDARD = "LVDS_25";
NET "dummy" LOC = AA10 | IOSTANDARD = "LVCMOS25";
NET "tdc_signal_oe_n[0]" LOC = Y14 | IOSTANDARD = "LVCMOS25";
NET "tdc_signal_term_en[0]" LOC = AB5 | IOSTANDARD = "LVCMOS25";
NET "tdc_signal_p[0]" LOC = R11 | IOSTANDARD = "LVDS_25";
...
...
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