Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
wr2rf-vme
Commits
46d11795
Commit
46d11795
authored
Apr 23, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtuCore: renaming.
parent
0a61c042
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
vtuCore.vhd
dependencies/vtu/rtl/vtuCore.vhd
+27
-27
No files found.
dependencies/vtu/rtl/vtuCore.vhd
View file @
46d11795
...
...
@@ -1238,7 +1238,7 @@ architecture vtuCore of vtuCore is
signal
SwitchtoHT
:
std_logic
;
signal
wValue_effective
:
std_logic_vector
(
63
downto
0
);
signal
Shifter1Ena
:
std_logic
;
signal
DataOut_
2
:
std_logic_vector
(
7
downto
0
);
signal
DataOut_
HT
:
std_logic_vector
(
7
downto
0
);
signal
HTSwitchEna
:
std_logic
;
signal
PulseCount
:
std_logic_vector
(
63
downto
0
);
signal
SetStartData
:
std_logic
:
=
'0'
;
...
...
@@ -1281,15 +1281,15 @@ architecture vtuCore of vtuCore is
signal
PlayingMem
:
std_logic
;
signal
Stop_seq
:
std_logic
;
signal
Start_seq
:
std_logic
;
signal
DataOut_
1
:
std_logic_vector
(
7
downto
0
);
signal
DataOut_
B
:
std_logic_vector
(
7
downto
0
);
signal
SetPlayingMem
:
std_logic
;
signal
PlayingMem_i
:
std_logic
;
signal
MemAddrIsZero
:
std_logic
;
signal
FirstSyncArrived
:
std_logic
:
=
'0'
;
signal
Mem_AddrZero
:
std_logic_vector
(
14
downto
0
);
signal
Mem_RdData_prev
:
std_logic_vector
(
7
downto
0
)
:
=
(
others
=>
'0'
);
signal
OE_
1
:
std_logic
;
signal
OE_
2
:
std_logic
;
signal
OE_
B
:
std_logic
;
signal
OE_
HT
:
std_logic
;
signal
MemAddrIsZeroPrev
:
std_logic
;
signal
StartPlayMem
:
std_logic
;
signal
RunPlayAndSyncPulse
:
std_logic
;
...
...
@@ -1302,8 +1302,8 @@ begin
generic
map
(
N
=>
64
,
g_DisableDoubleSync
=>
'1'
)
port
map
(
CoarseZero
=>
BCoarseZero
,
DataOut
=>
DataOut_
1
,
OutputEnabled
=>
OE_
1
,
DataOut
=>
DataOut_
B
,
OutputEnabled
=>
OE_
B
,
Clk
=>
Clk
,
Delay
=>
bValue
,
DataIn
=>
DataIn
,
...
...
@@ -1315,8 +1315,8 @@ begin
generic
map
(
N
=>
64
,
g_DisableDoubleSync
=>
'0'
)
port
map
(
CoarseZero
=>
HTCoarseZero
,
DataOut
=>
DataOut_
2
,
OutputEnabled
=>
OE_
2
,
DataOut
=>
DataOut_
HT
,
OutputEnabled
=>
OE_
HT
,
Clk
=>
Clk
,
Delay
=>
htValue_effective
,
DataIn
=>
DataIn_2
,
...
...
@@ -1335,8 +1335,8 @@ begin
Start
=>
Start_seq
,
Stop
=>
Stop_seq
,
SyncPulse
=>
SyncPulse_i
,
OutputEnable1
=>
OE_
1
,
OutputEnable2
=>
OE_
2
,
OutputEnable1
=>
OE_
B
,
OutputEnable2
=>
OE_
HT
,
Shifter1Ena
=>
Shifter1Ena
,
Shifter2Ena
=>
Shifter2Ena
,
SwitchtoHT
=>
SwitchtoHT
,
...
...
@@ -1456,15 +1456,15 @@ begin
SwitchOutput
<=
SwitchtoHT
or
(
not
Run_seq
);
process
(
DataOut_
1
,
DataOut_2
,
SwitchOutput
)
process
(
DataOut_
B
,
DataOut_HT
,
SwitchOutput
)
begin
case
SwitchOutput
is
when
'0'
=>
-- B datashifter.
DataOut_seq_i
<=
DataOut_
1
;
DataOut_seq_i
<=
DataOut_
B
;
when
others
=>
-- HT datashifter
DataOut_seq_i
<=
DataOut_
2
;
DataOut_seq_i
<=
DataOut_
HT
;
end
case
;
end
process
;
...
...
@@ -1472,15 +1472,15 @@ begin
DataOut_seq
<=
DataOut_seq_i
when
RstOrStopSeq
=
'0'
else
(
others
=>
'0'
);
process
(
DataOut_
1
,
DataOut_2
,
SwitchtoHT
)
process
(
DataOut_
B
,
DataOut_HT
,
SwitchtoHT
)
begin
case
SwitchtoHT
is
when
'0'
=>
-- B datashifter to HT datashifter
DataIn_2
<=
DataOut_
1
;
DataIn_2
<=
DataOut_
B
;
when
others
=>
-- HT datashifter loopback.
DataIn_2
<=
DataOut_
2
;
DataIn_2
<=
DataOut_
HT
;
end
case
;
end
process
;
...
...
@@ -1502,7 +1502,7 @@ begin
end
case
;
end
process
;
HTSwitchEna
<=
(
OE_
2
or
OE_SyncLess
)
and
htSwitching
;
HTSwitchEna
<=
(
OE_
HT
or
OE_SyncLess
)
and
htSwitching
;
process
(
Clk
,
Run_i
)
begin
...
...
@@ -1557,7 +1557,7 @@ begin
end
if
;
end
process
;
counterEnable
<=
(
OE_
1
or
OE_2
)
and
Run_seq
;
counterEnable
<=
(
OE_
B
or
OE_HT
)
and
Run_seq
;
wValueOne_seq
<=
(
wValueOne
or
SinglePulseMode
)
and
(
not
InfiniteWindow
);
...
...
@@ -1682,7 +1682,7 @@ begin
RunPlayAndSyncPulse
<=
RunPlayMem
and
SyncPulse_i
;
SetPlayingMem
<=
FirstSyncArrived
and
OE_
1
;
SetPlayingMem
<=
FirstSyncArrived
and
OE_
B
;
PlayingMem
<=
(
PlayingMem_i
or
SetPlayingMem
)
and
(
not
StopPlayMem
);
...
...
@@ -1733,14 +1733,14 @@ begin
end
if
;
end
process
;
FirstBit
<=
"000"
when
FirstOutput
=
'1'
and
DataOut_
1
(
0
)
=
'1'
else
"001"
when
FirstOutput
=
'1'
and
DataOut_
1
(
1
)
=
'1'
else
"010"
when
FirstOutput
=
'1'
and
DataOut_
1
(
2
)
=
'1'
else
"011"
when
FirstOutput
=
'1'
and
DataOut_
1
(
3
)
=
'1'
else
"100"
when
FirstOutput
=
'1'
and
DataOut_
1
(
4
)
=
'1'
else
"101"
when
FirstOutput
=
'1'
and
DataOut_
1
(
5
)
=
'1'
else
"110"
when
FirstOutput
=
'1'
and
DataOut_
1
(
6
)
=
'1'
else
"111"
when
FirstOutput
=
'1'
and
DataOut_
1
(
7
)
=
'1'
else
FirstBit
<=
"000"
when
FirstOutput
=
'1'
and
DataOut_
B
(
0
)
=
'1'
else
"001"
when
FirstOutput
=
'1'
and
DataOut_
B
(
1
)
=
'1'
else
"010"
when
FirstOutput
=
'1'
and
DataOut_
B
(
2
)
=
'1'
else
"011"
when
FirstOutput
=
'1'
and
DataOut_
B
(
3
)
=
'1'
else
"100"
when
FirstOutput
=
'1'
and
DataOut_
B
(
4
)
=
'1'
else
"101"
when
FirstOutput
=
'1'
and
DataOut_
B
(
5
)
=
'1'
else
"110"
when
FirstOutput
=
'1'
and
DataOut_
B
(
6
)
=
'1'
else
"111"
when
FirstOutput
=
'1'
and
DataOut_
B
(
7
)
=
'1'
else
"000"
;
ReadDataZero
<=
MemAddrIsZeroPrev
and
RunPlayMem
;
...
...
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