URL
https://opencores.org/ocsvn/ps2/ps2/trunk
Subversion Repositories ps2
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 4 to Rev 5
- ↔ Reverse comparison
Rev 4 → Rev 5
/trunk/bench/verilog/ps2_test_bench.v
43,7 → 43,10
// CVS Revision History |
// |
// $Log: not supported by cvs2svn $ |
// Revision 1.1.1.1 2002/02/18 16:16:55 mihad |
// Initial project import - working |
// |
// |
|
`include "timescale.v" |
`include "ps2_testbench_defines.v" |
1104,6 → 1107,26
end |
end |
join |
|
// do D2 command, that copies parameter in input buffer to output buffer |
kbd_write( `KBD_CNTL_REG, 32'hD2, ok_controler ) ; |
if ( ok_controler !== 1 ) |
disable main ; |
|
kbd_write(`KBD_DATA_REG, 32'h5555_5555, ok_controler) ; |
|
if ( ok_controler !== 1 ) |
disable main ; |
|
return_scan_code_on_irq( data, ok_controler ) ; |
if ( ok_controler !== 1 ) |
disable main ; |
|
if ( data !== 8'h55 ) |
begin |
$display("Error! D2 command doesn't work properly") ; |
end |
|
end |
endtask // test_keyboard_inhibit |
|
/trunk/rtl/verilog/ps2_wb_if.v
43,7 → 43,10
// CVS Revision History |
// |
// $Log: not supported by cvs2svn $ |
// Revision 1.1.1.1 2002/02/18 16:16:56 mihad |
// Initial project import - working |
// |
// |
|
// synopsys translate_off |
`include "timescale.v" |
314,6 → 317,7
current_command_gets_parameter = 1'b1 ; |
end |
8'hD2:begin |
current_command_returns_value = 1'b1 ; |
current_command_gets_parameter = 1'b1 ; |
current_command_output = output_buffer ; |
current_command_output_valid = write_output_buffer_reg_previous ; |