Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL RS485 - Gateware
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
Conv TTL RS485 - Gateware
Commits
642847e4
Commit
642847e4
authored
Oct 16, 2017
by
Denia Bouhired-Ferrag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created copies of chans 1 and 2 on chans 3 and 4 when opt and db9 rtms are used
parent
42da5433
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
conv_ttl_rs485.vhd
top/conv_ttl_rs485.vhd
+11
-1
No files found.
top/conv_ttl_rs485.vhd
View file @
642847e4
...
@@ -471,7 +471,17 @@ begin
...
@@ -471,7 +471,17 @@ begin
-- Front and rear panel outputs
-- Front and rear panel outputs
ttl_o
<=
pulse_out
when
sw_ttl
=
'1'
else
ttl_o
<=
pulse_out
when
sw_ttl
=
'1'
else
not
pulse_out
;
not
pulse_out
;
rs485_o
<=
pulse_out
;
rs485_o
(
1
downto
0
)
<=
pulse_out
(
1
downto
0
);
-- Channels 3 and 4 output copies of chans 1 and 2 respectively
-- depending on RTMP Id of RTM connected.
-- *RTM with DB9 connectors has only 2 o/p channels in rs485 RTMP = Gnd Open Gnd
-- *Optical RTM only 2 o/p channels in optical RTMP= Open Open Gnd
-- in these cases channel 3 copies channel 1
-- channel 4 copies channel 2
--
rs485_o
(
3
downto
2
)
<=
pulse_out
(
1
downto
0
)
when
rtmp_i
=
"101"
or
rtmp_i
=
"100"
else
pulse_out
(
3
downto
2
);
rs485_o
(
5
downto
4
)
<=
pulse_out
(
5
downto
4
);
-- LED outputs
-- LED outputs
-- Boards earlier than v4 do not use -ve logic for LEDs.
-- Boards earlier than v4 do not use -ve logic for LEDs.
...
...
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