Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wb_trigger_iface] Trigger direction is set to Trasmitter Mode after reset #10

Open
augustofg opened this issue Apr 29, 2022 · 0 comments

Comments

@augustofg
Copy link
Member

The MLVDS trigger lines becomes occupied after reset by default, requiring that the dir and dir_pol bits from wb_trig_iface_chx_ctl are set to 1 by the control software to release them. Ideally, these should be in Receiver Mode after reset.

process (clk_sys_i, rst_n_i)
begin
if (rst_n_i = '0') then
ack_sreg <= "0000000000";
ack_in_progress <= '0';
rddata_reg <= "00000000000000000000000000000000";
wb_trig_iface_ch0_ctl_dir_int <= '0';
wb_trig_iface_ch0_ctl_dir_pol_int <= '0';

reg {
name = "Channel 0 Control";
prefix = "ch0_ctl";
field {
name = "Trigger Direction";
prefix = "dir";
description = "1 - Receiver Mode\n0 - Transmitter Mode";
type = BIT;
--size = 1;
access_bus = READ_WRITE;
access_dev = READ_ONLY;
};
field {
name = "Trigger Direction Polarity";
prefix = "dir_pol";
description = "1 - Backplane trigger direction value will be reversed\n0 - Backplane Trigger direction value will be the same";
type = BIT;
--size = 1;
access_bus = READ_WRITE;
access_dev = READ_ONLY;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant