CDL Modules
Files
bbc_micro_keyboard

Files

file  bbc_micro_keyboard.cdl
 BBC microcomputer keyboard module.
 

Detailed Description

Modules

module bbc_micro_keyboard::bbc_micro_keyboard ( clock  clk,
input bit  reset_n,
output bit  reset_out_n,
input bit  keyboard_enable_n,
input bit  column_select[4],
input bit  row_select[3],
output bit  key_in_column_pressed,
output bit  selected_key_pressed,
input t_bbc_keyboard  bbc_keyboard 
)
Parameters
[out]reset_out_nFrom the Break key
[in]keyboard_enable_nAsserted to make keyboard detection operate
[in]column_selectWired to pa[4;0], and indicates which column of the keyboard matrix to access
[in]row_selectWired to pa[3;4], and indicates which row of the keyboard matrix to access
[out]key_in_column_pressedWired to CA2, asserted if keyboard_enable_n and a key is pressed in the specified column (other than row 0)
[out]selected_key_pressedAsserted if keyboard_enable_n is asserted and the selected key is pressed