CDL Modules
|
Input device header file for CDL modules. More...
Input device header file for CDL modules.
Copyright (C) 2016-2017, Gavin J Stark. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Header file for the types and CDL modules for input devices
Copyright (C) 2016-2018, Gavin J Stark. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Header file for the types and CDL modules for input devices
Data Structures | |
struct | t_ps2_pins |
struct | t_ps2_rx_data |
struct | t_ps2_key_state |
struct t_ps2_rx_data |
module ps2_host | ( | clock | clk, |
input bit | reset_n, | ||
input t_ps2_pins | ps2_in, | ||
output t_ps2_pins | ps2_out, | ||
output t_ps2_rx_data | ps2_rx_data, | ||
input bit | divider[16] | ||
) |
[in] | clk | Clock |
[in] | ps2_in | Pin values from the outside |
[out] | ps2_out | Pin values to drive - 1 means float high, 0 means pull low |
module ps2_host_keyboard | ( | clock | clk, |
input bit | reset_n, | ||
input t_ps2_rx_data | ps2_rx_data, | ||
output t_ps2_key_state | ps2_key | ||
) |
clk | Clock |